nrf5/modules: Updating ubluepy example in header to align with bluetooth uart service characteristic's.
This commit is contained in:
parent
c9bfcb5bc5
commit
acb5c7b4ee
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user