Searched refs:characteristics (Results 1 – 2 of 2) sorted by relevance
/edtt-2.7.6/src/tests/ |
D | gatt_verification.py | 279 characteristics = { 'handle': [], 'value': [] }; 288 characteristics['handle'] += [ _handle ]; 289 characteristics['value'] += [ _value ]; 293 success = len(characteristics['handle']) > 0; 302 return success, characteristics if success else reply; 308 characteristics = { 'handle': [], 'property': [], 'value_handle': [], 'uuid': [] }; 316 characteristics['handle'] += [ _handle ]; 317 characteristics['property'] += [ _value[0] ]; 318 characteristics['value_handle'] += [ toNumber(_value[1:3]) ]; 319 characteristics['uuid'] += [ toNumber(_value[3:]) ]; [all …]
|
/edtt-2.7.6/src/components/ |
D | gattdata.py | 26 characteristics = service.getElementsByTagName('Characteristic'); 36 if len(characteristics) > 0: 37 …+= [ max([int(characteristic.attributes['handle'].value) for characteristic in characteristics]) ]; 116 def characteristics(self, setNo, serviceHandle=None, permissionsMask=None, invertMask=False): member in GATTData 117 …characteristics = { 'uuid': [], 'handle': [], 'value_handle': [], 'property': [], 'permission': []… 126 … characteristics['uuid'] += [ int(characteristic.attributes['uuid'].value, 16) ]; 127 … characteristics['handle'] += [ int(characteristic.attributes['handle'].value) ]; 128 … characteristics['value_handle'] += [ int(characteristic.attributes['handle'].value)+1 ]; 129 … characteristics['property'] += [ int(characteristic.attributes['properties'].value) ]; 130 … characteristics['permission'] += [ int(characteristic.attributes['permissions'].value) ]; [all …]
|