nrf5/modules: Enable ubluepy constants for CONNECT and DISCONNECT for other bluetooth stacks than s132.
This commit is contained in:
parent
e60fa9b3e1
commit
4efedb67b6
@ -32,11 +32,9 @@
|
||||
#include "modubluepy.h"
|
||||
|
||||
STATIC const mp_map_elem_t ubluepy_constants_locals_dict_table[] = {
|
||||
#if (BLUETOOTH_SD == 132)
|
||||
// GAP events
|
||||
{ MP_OBJ_NEW_QSTR(MP_QSTR_EVT_GAP_CONNECTED), MP_OBJ_NEW_SMALL_INT(16) },
|
||||
{ MP_OBJ_NEW_QSTR(MP_QSTR_EVT_GAP_DISCONNECTED), MP_OBJ_NEW_SMALL_INT(17) },
|
||||
#endif
|
||||
{ MP_OBJ_NEW_QSTR(MP_QSTR_UUID_CCCD), MP_OBJ_NEW_SMALL_INT(0x2902) },
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user