Skip to main content
Greg_
Associate II
August 9, 2021
Question

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

  • August 9, 2021
  • 1 reply
  • 909 views

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?

This topic has been closed for replies.

1 reply

Greg_
Greg_Author
Associate II
August 9, 2021

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