X-NUCLEO-BNRG2A1 cannot receive correct iBeacon Data
- March 10, 2021
- 5 replies
- 3138 views
I am having X-NUCLEO-BNRG2A1 act as a mesh proxy node using firmware STM32CubeExpansion_BLEMESH1_V2.1.2 (X-CUBE_BLEMESH1) . I wish to retrieve an iBeacon Advertising Data Packet from my Social Distancing Device/tag ( non mesh node - Keep beaconing data only)
In the blemesh firmware,
I am using this function in appli_mesh.c
void BluenrgMesh_CustomBeaconReceivedCallback(const MOBLEUINT8* bdAddr,
const MOBLEUINT8* data,
MOBLEUINT8 length,
MOBLEINT8 rssi).
Below is the iBeacon advertising Packet data that is generated from the Social Device SDK firmware.
This is the result I get from the "BluenrgMesh_CustomBeaconReceivedCallback" function. which is not what I want.
Which firmware function to use so that I can retrieve the data correctly?
