Skip to main content
Cobus Hoffmann
Associate II
March 29, 2019
Question

le_advertising_info in event gives wrong bluetooth address

  • March 29, 2019
  • 1 reply
  • 730 views

I am running the BlueNRG sample application but I added

ret = aci_gap_start_general_discovery_proc(SCAN_P, SCAN_L, PUBLIC_ADDR, 1);

so that I can scan for devices. Then I added the following code to the user_notify() method in the sample_service.c file:

0690X0000089D4QQAU.png

which kind of works but when I looka at the blue_evt pointer in the debugger I see that the bluetooth address always has a '\0' at bdaddr[0].

0690X0000089D46QAE.png

I am not sure how this is happening, any help would be greatly appreciated, thanks.

This topic has been closed for replies.

1 reply

PBout.2
Visitor II
February 17, 2022

I got the same problem! where is the true? shift structure or filed is missing in structure ?