Part Number: CC2640
Hi.
The micro_eddystone_beacon_cc2640r2lp_app project has a static void function
MicroEddystoneBeacon_bcast_advPrepareCB(void).
Is there a similar feature in blestack 4?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: CC2640
Hi.
The micro_eddystone_beacon_cc2640r2lp_app project has a static void function
MicroEddystoneBeacon_bcast_advPrepareCB(void).
Is there a similar feature in blestack 4?
hi. The micro_eddystone_beacon_cc2640r2lp_app project has a static void function
MicroEddystoneBeacon_bcast_advPrepareCB(void) which is used to
correct replacement of data in advert packages.
How to use simple_peripheral_oad_offchip in projects and in multi_role
a similar function to replace data in advert packages?
Hi,
Please refer to the user's guide available here.
In order to change the content of the advertisement data, you should disable the advertisement set (GAPRole_SetParameter with parameter GAPROLE_ADVERT_ENABLED), wait for the event from the stack confirming the advertisement set has been disabled (GAP_END_DISCOVERABLE_DONE_EVENT event), update the advertisement data buffer content, pass the updated buffer to the stack (GAPRole_SetParameter with parameter GAPROLE_ADVERT_DATA), re-enable advertising (GAPRole_SetParameter with parameter GAPROLE_ADVERT_ENABLED).
I hope this will help,
Best regards,