テスト用

Fork of nRF51822 by Nordic Semiconductor

Revision:
39:d52a28e1fa80
Parent:
38:dc4d0edf9bb9
Child:
52:120bd37b9d0d
--- a/nRF51GattServer.cpp	Tue Jul 08 11:15:11 2014 +0100
+++ b/nRF51GattServer.cpp	Tue Jul 08 11:15:50 2014 +0100
@@ -243,6 +243,10 @@
             handle_value = p_ble_evt->evt.gatts_evt.params.hvc.handle;
             break;
 
+        case BLE_GATTS_EVT_SYS_ATTR_MISSING:
+            sd_ble_gatts_sys_attr_set(p_ble_evt->evt.gatts_evt.conn_handle, NULL, 0);
+            return;
+
         default:
             return;
     }