2021-08-09 01:33 AM
I'm trying to run broadcasting mode on the base off BLE_P2PServer example and instead of
aci_gap_set_discoverable in app_ble.c, in "Adv_Request" function,
I'm trying to use the below function:
aci_gap_set_broadcast_mode( Min_Inter, Max_Inter, ADV_NONCONN_IND, PUBLIC_ADDR, sizeof(manuf_data), manuf_data, 10, white_list_broadcasting);
As a result I'm getting 0x46 = BLE_STATUS_NOT_ALLOWED.
May I ask for any support of how to set the broadcasting mode?
2021-08-09 02:31 AM
Resolved. The solution was to change the "role" parameter in aci_gap_init function i app_ble.c to role = role | 0x02;