microbit: Revert service changed indication.
Some central devices under testing performed poorly, failing to correctly conect or discover services.
This commit is contained in:
parent
fd017fbf2b
commit
06a34dad44
1 changed files with 1 additions and 2 deletions
|
@ -422,8 +422,7 @@ void nRF5xGattServer::hwCallback(ble_evt_t *p_ble_evt)
|
|||
}
|
||||
|
||||
case BLE_GATTS_EVT_SYS_ATTR_MISSING:
|
||||
sd_ble_gatts_sys_attr_set(gattsEventP->conn_handle, NULL, 0, BLE_GATTS_SYS_ATTR_FLAG_USR_SRVCS);
|
||||
sd_ble_gatts_service_changed(gattsEventP->conn_handle, 0x000c, 0xffff);
|
||||
sd_ble_gatts_sys_attr_set(gattsEventP->conn_handle, NULL, 0, 0);
|
||||
return;
|
||||
|
||||
case BLE_GATTS_EVT_RW_AUTHORIZE_REQUEST:
|
||||
|
|
Loading…
Reference in a new issue