cancel
Showing results for 
Search instead for 
Did you mean: 

how to set broadcasting mode in STM32WB55 (when trying - getting 0x46 result = BLE_STATUS_NOT_ALLOWED)

Greg_
Associate II

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?

1 REPLY 1
Greg_
Associate II

Resolved. The solution was to change the "role" parameter in aci_gap_init function i app_ble.c to role = role | 0x02;