This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Accelerometer data advertising

i have to advertise Lis3dh data. I have accelerometer and nrf52840 dk. Pls assist how can i advertise the data of lis3dh xyz values 

Parents Reply
  • 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 

Children
Related