Skip to main content
Associate
July 19, 2025
Solved

direct advertising stm32wb

i cant seem to really connect to my iphone after direct advertising i get a false print that i have connected

Bonded device 0 / 1 - Public BLE address xx:xx:xx:xx:xx:xx -- here it prints my true iphone bluetooth mac addr
aci_gap_add_devices_to_list() status = 0x00
aci_gap_get_bonded_devices = 0x00 (found 1 devices)
aci_gap_set_direct_connectable (HIGH DUTY) = 0x00
aci_gap_update_adv_data = 0x00
Directed ADV to iPhone = Success
>>== HCI_LE_ENHANCED_CONNECTION_COMPLETE_SUBEVT_CODE - Connection handle: 0x0
- Connection established with Central: @:4f:17:21:ee:cb:2c
- Connection Interval: 0.00 ms
- Connection latency: 0
- Supervision Timeout: 0 ms


it isnt truly connecting because i get the same print when my iphone is off or is not in range why does this happen?

i am using stm32wb15 nucleo board

i would love to get an example like this
https://github.com/stm32-hotspot/STM32WB-Filter-Accept-List-Peripheral

where the only change is that in 

static void adv_start(void)
it uses directed advertising instead of undirected

please help 
This topic has been closed for replies.
FilipKremen
FilipKremenBest answer
ST Employee
July 21, 2025

Hello,

according to Apple design guidelines, direct advertising towards iOS-based devices is not allowed.

Please visit this documentation below for more information.

Accessory Design Guidelines for Apple Devices

 

Best regards,

Filip Kremen

1 reply

FilipKremen
FilipKremenBest answer
ST Employee
July 21, 2025

Hello,

according to Apple design guidelines, direct advertising towards iOS-based devices is not allowed.

Please visit this documentation below for more information.

Accessory Design Guidelines for Apple Devices

 

Best regards,

Filip Kremen