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

Is there a way to check if the beacon transmission is continuing?

When running ble_peripheral\ble_app_uart example..... Of course I am a little bit

corrected.....

Beacons occasionally stop.

Despite the following settings: #define APP_ADV_TIMEOUT_IN_SECONDS 0x0000 // 0

If I could check the beacon transmission status, it would be possible to reset it when the

beacon stops.

The beacon transmission stops and I can not guarantee continuous ble communication

connection.

Is there any good way?

Parents
  • FormerMember
    0 FormerMember

    Unfortunately, there is no way for the application to check if a device is currently advertising. If the advertising timeout is set to '0', there is no advertising timeout. It therefore has to be another reason why the device stop advertising.

    Does your device at some point gets connected to another device?

    How do you do error handling? If an error is caught by APP_ERROR_CHECK() and the "DEBUG" flag is set, the error handler will go into a infinite loop.

  • FormerMember
    0 FormerMember in reply to FormerMember

    What else than advertising does the device do? If it is only advertising, it shouldn't be any difference between being in the field and debugging at a desk. An alternative to debug mode is logging over UART.

    Approximately, how often does the error occur? I'm a little confused: "It happens very rarely..... It is hard to find in debug mode...... " and "We are constantly observing that beacons are going down. ".

Reply
  • FormerMember
    0 FormerMember in reply to FormerMember

    What else than advertising does the device do? If it is only advertising, it shouldn't be any difference between being in the field and debugging at a desk. An alternative to debug mode is logging over UART.

    Approximately, how often does the error occur? I'm a little confused: "It happens very rarely..... It is hard to find in debug mode...... " and "We are constantly observing that beacons are going down. ".

Children
No Data
Related