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?

  • The main function is to advertise the beacon in general and perform the serial communication when the uart connection is made, and advertise the beacon again after the communication is finished. Probably it is caused by a part of APP_ERROR_CHECK (err_code2) code. Currently, it is not observed that the beacon is terminated because it has been completely modified. I am deeply grateful for your advice. .. How can I leave an error number? In case uart connection or usb connection is not available, how can I get error number to pc when error occurs? Do you know a good way?

  • FormerMember
    0 FormerMember in reply to FormerMember

    To transfer the error code to the PC, you can use the log module. If UART is already in use, you should use RTT instead. RTT is also supported by the LOG module.

Related