MicroBit as BLE gamepad
Fork of nRF51822 by
Diff: btle/btle_security.cpp
- Revision:
- 135:fb674d7364bf
- Parent:
- 134:df7e7964a9c3
- Child:
- 136:9bb49953de6a
diff -r df7e7964a9c3 -r fb674d7364bf btle/btle_security.cpp --- a/btle/btle_security.cpp Fri May 08 15:33:56 2015 +0100 +++ b/btle/btle_security.cpp Fri May 08 15:33:56 2015 +0100 @@ -20,6 +20,7 @@ #include "device_manager.h" #include "btle_security.h" +static uint8_t applicationInstance; static ret_code_t dm_handler(dm_handle_t const *p_handle, dm_event_t const *p_event, ret_code_t event_result); ble_error_t @@ -36,7 +37,6 @@ return BLE_ERROR_UNSPECIFIED; } - uint8_t applicationInstance; const dm_application_param_t dm_param = { .evt_handler = dm_handler, .service_type = DM_PROTOCOL_CNTXT_GATT_CLI_ID,