Skip to content

Instantly share code, notes, and snippets.

@sash13
Last active April 20, 2016 21:31
Show Gist options
  • Save sash13/9dded88b135944cc6259a3eae792c82e to your computer and use it in GitHub Desktop.
Save sash13/9dded88b135944cc6259a3eae792c82e to your computer and use it in GitHub Desktop.
BLE iTag
$python2 btle.py FF:FF:F0:00:AB:D6
Connecting to: FF:FF:F0:00:AB:D6, address type: public
Service <uuid=Generic Access handleStart=1 handleEnd=5> :
Characteristic <Device Name>, hnd=0x2, supports NOTIFY READ
-> 'MLE-15 '
Characteristic <Appearance>, hnd=0x4, supports READ
-> '\x00\x00'
Service <uuid=Battery Service handleStart=6 handleEnd=8> :
Characteristic <Battery Level>, hnd=0x7, supports NOTIFY READ
-> 'c'
Service <uuid=ffe0 handleStart=12 handleEnd=14> :
Characteristic <ffe1>, hnd=0xd, supports NOTIFY READ
-> '\x00'
Service <uuid=Immediate Alert handleStart=9 handleEnd=11> :
Characteristic <Alert Level>, hnd=0xa, supports NOTIFY WRITE NO RESPONSE WRITE
$python2 btle.py FF:FF:B0:00:CD:6E
Connecting to: FF:FF:B0:00:CD:6E, address type: public
Service <uuid=Generic Access handleStart=1 handleEnd=5> :
Characteristic <Device Name>, hnd=0x2, supports NOTIFY READ
-> 'MLE-15 '
Characteristic <Appearance>, hnd=0x4, supports READ
-> '\x00\x00'
Service <uuid=Battery Service handleStart=6 handleEnd=8> :
Characteristic <Battery Level>, hnd=0x7, supports NOTIFY READ
-> 'c'
Service <uuid=ffe0 handleStart=12 handleEnd=14> :
Characteristic <ffe1>, hnd=0xd, supports NOTIFY READ
-> '\x00'
Service <uuid=Immediate Alert handleStart=9 handleEnd=11> :
Characteristic <Alert Level>, hnd=0xa, supports NOTIFY WRITE NO RESPONSE WRITE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment