From fc26a2ef7cb9624703459c4212561e6e8d60635e Mon Sep 17 00:00:00 2001 From: Glenn Ruben Bakke Date: Mon, 5 Jun 2017 21:13:32 +0200 Subject: [PATCH] nrf5/modules/ubluepy: Adding new event constant for gatts write (80) events from bluetooth stacks. --- nrf/modules/ubluepy/ubluepy_constants.c | 1 + 1 file changed, 1 insertion(+) diff --git a/nrf/modules/ubluepy/ubluepy_constants.c b/nrf/modules/ubluepy/ubluepy_constants.c index 5e12661e02..0f291d6a24 100644 --- a/nrf/modules/ubluepy/ubluepy_constants.c +++ b/nrf/modules/ubluepy/ubluepy_constants.c @@ -79,6 +79,7 @@ STATIC const mp_rom_map_elem_t ubluepy_constants_locals_dict_table[] = { // GAP events { MP_ROM_QSTR(MP_QSTR_EVT_GAP_CONNECTED), MP_ROM_INT(16) }, { MP_ROM_QSTR(MP_QSTR_EVT_GAP_DISCONNECTED), MP_ROM_INT(17) }, + { MP_ROM_QSTR(MP_QSTR_EVT_GATTS_WRITE), MP_ROM_INT(80) }, { MP_ROM_QSTR(MP_QSTR_UUID_CCCD), MP_ROM_INT(0x2902) }, { MP_ROM_QSTR(MP_QSTR_ADDR_TYPE_PUBLIC), MP_ROM_INT(UBLUEPY_ADDR_TYPE_PUBLIC) },