Home
last modified time | relevance | path

Searched refs:characteristics (Results 1 – 2 of 2) sorted by relevance

/edtt-2.7.6/src/tests/
Dgatt_verification.py279 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/
Dgattdata.py26 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
117characteristics = { 'uuid': [], 'handle': [], 'value_handle': [], 'property': [], 'permission': []…
126characteristics['uuid'] += [ int(characteristic.attributes['uuid'].value, 16) ];
127characteristics['handle'] += [ int(characteristic.attributes['handle'].value) ];
128characteristics['value_handle'] += [ int(characteristic.attributes['handle'].value)+1 ];
129characteristics['property'] += [ int(characteristic.attributes['properties'].value) ];
130characteristics['permission'] += [ int(characteristic.attributes['permissions'].value) ];
[all …]