microbit: Revert service changed indication.

Some central devices under testing performed poorly, failing to correctly
conect or discover services.
This commit is contained in:
Joe Finney 2016-02-07 19:03:28 +00:00
parent fd017fbf2b
commit 06a34dad44
1 changed files with 1 additions and 2 deletions

View File

@ -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: