i have to advertise Lis3dh data. I have accelerometer and nrf52840 dk. Pls assist how can i advertise the data of lis3dh xyz values
i have to advertise Lis3dh data. I have accelerometer and nrf52840 dk. Pls assist how can i advertise the data of lis3dh xyz values
Hi,
I would suggest you take a look at Beacon Transmitter Sample Application or Direction finding connectionless beacon on how to advertise with data, and search for similar use cases on Davzone.
-Amanda H.
hi,
i know about the Beacon example and know about the advertising. But now i want to advertise the data of lis3dh accelerometer. pls assist me with some code that i can implement
Hi,
Changing to BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE and setting APP_ADV_DURATION to 0 should advertise unlimitedly. You need to debug or check the debug log to see why BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE causes to stop advertising.
If you use BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE, you can start advertising in the BLE_ADV_EVT_IDLE event.
I will be out of the office for the next few days and back next Monday. If you still have the issue, please create a new support case. Sorry for the inconvenience.
Regards,
Amand
thankyou it is working now
Happy to know it works.
-Amanda H.
Hello, can u assist me with a code where i can send lis3dh data in ibeacon frame format advertising
Please create a new support case for the last requirement.
-Amanda H.
Please create a new support case for the last requirement.
-Amanda H.