nrf5/modules: Updating ubluepy example to print out gatts write events with data.

This commit is contained in:
Glenn Ruben Bakke 2017-02-24 15:08:32 +01:00
parent e60a06563e
commit bfda169dfe
1 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,8 @@ def event_handler(id, length, data):
elif id == constants.EVT_GAP_DISCONNECTED:
# disconnect
LED(2).off()
elif id == 80:
print("id 80, data:", data)
# u0 = UUID("0x180D") # HRM service
# u1 = UUID("0x2A37") # HRM measurement