Hi, I developed a sensory application which works together with the Master Control Panel (3.6.0.8331).
On the sensor side I am using the S110 (7.0.0-3.alpha) in combination with a bootloader. Since the electronics is sealed I am just able to update the application code over BLE, but I am not able to uptade to the final version of the S110 ( 7.0.0.).
I am having the problem, that after a received link loss, I am not able to reconnect to the device (bonded or not bonded) unless I reset the sensor.
What happens after a link loss (Timeout of CONN_SUP_TIMEOUT)? I can't find anything in the event handler, there is only an advertisment timeout described:
case BLE_GAP_EVT_TIMEOUT:
if (p_ble_evt->evt.gap_evt.params.timeout.src == BLE_GAP_TIMEOUT_SRC_ADVERTISEMENT)
{
system_off_mode_enter();
}
break;
Should i add a system-reset if I receive link loss, but there is no entry (e.g. BLE_GAP_TIMEOUT_SRC_LINK_LOSS) in ble_gap.h.
The parameters are as follows:
#define MIN_CONN_INTERVAL MSEC_TO_UNITS(500, UNIT_1_25_MS)
#define MAX_CONN_INTERVAL MSEC_TO_UNITS(4000, UNIT_1_25_MS)
#define SLAVE_LATENCY 0
#define CONN_SUP_TIMEOUT MSEC_TO_UNITS(16000, UNIT_10_MS)
I think I didn't had that much problems with the default connection parameters.
Thanks in advance!
Best regards,
Mathias