I am using ble-Shield with arduino UNO on one side and Android device on other side. Most of the times i am disconnected with this error code. Can someone please tell what is the reason?
E3 :3, 86, 3, 13, Evt Disconnected/Advertising timed out
I am using ble-Shield with arduino UNO on one side and Android device on other side. Most of the times i am disconnected with this error code. Can someone please tell what is the reason?
E3 :3, 86, 3, 13, Evt Disconnected/Advertising timed out
For the advertising timed out, it is normal. When you setup the advertising parameters, you likely specify advertising interval and timeout:
ble_gap_adv_params_t adv_params;
adv_params.interval = NON_CONNECTABLE_ADV_INTERVAL;
adv_params.timeout = APP_CFG_NON_CONN_ADV_TIMEOUT;
err_code = sd_ble_gap_adv_start(&adv_params);
In result, after the defined interval you get the advertising timeout. You can restart it again if you want.
Not sure why you get disconnected - can be a bad sw on either side or anything hw related like a bad antenna, noisy environment etc