nrf5/modules: Updating ubluepy example in header to align with bluetooth uart service characteristic's.

This commit is contained in:
Glenn Ruben Bakke 2017-02-20 21:28:07 +01:00
parent c9bfcb5bc5
commit acb5c7b4ee

View File

@ -57,8 +57,8 @@ u0 = UUID("6e400001-b5a3-f393-e0a9-e50e24dcca9e")
u1 = UUID("6e400002-b5a3-f393-e0a9-e50e24dcca9e")
u2 = UUID("6e400003-b5a3-f393-e0a9-e50e24dcca9e")
s = Service(u0)
c0 = Characteristic(u1, props = Characteristic.PROP_BROADCAST, attrs = Characteristic.ATTR_CCCD)
c1 = Characteristic(u2)
c0 = Characteristic(u1, props = Characteristic.PROP_WRITE | Characteristic.PROP_WRITE_WO_RESP)
c1 = Characteristic(u2, props = Characteristic.PROP_NOTIFY, attrs = Characteristic.ATTR_CCCD)
s.addCharacteristic(c0)
s.addCharacteristic(c1)
p = Peripheral()