cancel
Showing results for 
Search instead for 
Did you mean: 

le_advertising_info in event gives wrong bluetooth address

Cobus Hoffmann
Associate II

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.

1 REPLY 1
PBout.2
Associate

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