Skip to content

Instantly share code, notes, and snippets.

@anwarhamr
Created June 21, 2018 16:43
Show Gist options
  • Save anwarhamr/4c3ebc8e2a3d5166c025fd1cf69a7e1c to your computer and use it in GitHub Desktop.
Save anwarhamr/4c3ebc8e2a3d5166c025fd1cf69a7e1c to your computer and use it in GitHub Desktop.
{
bleCommunicator: {
scanStatus: 'BLE_SCAN_STOPPED',
connectedDevices: [
'80:EA:CA:00:00:04'
],
allFwVersions: {},
loadedFirmware: {},
'80:EA:CA:00:00:04': {
rssi: -68,
advertising: {
bytes: [
2,
1,
6,
3,
3,
10,
24,
17,
7,
109,
217,
52,
121,
65,
35,
173,
179,
164,
70,
229,
129,
213,
231,
187,
72,
5,
255,
205,
171,
1,
0,
10,
9,
69,
80,
73,
76,
79,
71,
45,
88,
51,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
data: 'AgEGAwMKGBEHbdk0eUEjrbOkRuWB1ee7SAX/zasBAAoJRVBJTE9HLVgzAAAAAAAAAAAAAAAAAAAAAAAAAAA=',
CDVType: 'ArrayBuffer'
},
id: '80:EA:CA:00:00:04',
name: 'EPILOG-X3',
lastSeen: 1529598902698,
connectionEvents: [
{
found: 1529598902698
},
{
found: 1529598902786
},
{
connected: 1529598903967
}
],
characteristics: [
{
properties: {
Read: 'Read'
},
characteristic: '2a00',
service: '1800'
},
{
properties: {
Read: 'Read'
},
characteristic: '2a01',
service: '1800'
},
{
properties: {
Write: 'Write',
Read: 'Read'
},
characteristic: '2a02',
service: '1800'
},
{
properties: {
Read: 'Read'
},
characteristic: '2a04',
service: '1800'
},
{
descriptors: [
{
value: null,
uuid: '2902'
}
],
properties: {
Indicate: 'Indicate'
},
characteristic: '2a05',
service: '1801'
},
{
properties: {
Read: 'Read'
},
characteristic: '2a29',
service: '180a'
},
{
properties: {
Read: 'Read'
},
characteristic: '2a24',
service: '180a'
},
{
properties: {
Read: 'Read'
},
characteristic: '2a25',
service: '180a'
},
{
properties: {
Read: 'Read'
},
characteristic: '2a27',
service: '180a'
},
{
properties: {
Read: 'Read'
},
characteristic: '2a26',
service: '180a'
},
{
descriptors: [
{
value: null,
uuid: '2901'
}
],
properties: {
Write: 'Write'
},
characteristic: '37d57fa2-805b-49ca-80b6-b05a81964ae2',
service: '48bbe7d5-81e5-46a4-b3ad-23417934d96d'
},
{
descriptors: [
{
value: null,
uuid: '2902'
},
{
value: null,
uuid: '2901'
}
],
properties: {
Notify: 'Notify',
Read: 'Read'
},
characteristic: '9c16c3ca-1f05-4089-a0af-aa8c921183ca',
service: '48bbe7d5-81e5-46a4-b3ad-23417934d96d'
},
{
descriptors: [
{
value: null,
uuid: '2902'
},
{
value: null,
uuid: '2901'
}
],
properties: {
Notify: 'Notify',
Read: 'Read'
},
characteristic: '351e4d7f-ff54-4b84-9a47-5d6d1234f179',
service: '48bbe7d5-81e5-46a4-b3ad-23417934d96d'
},
{
descriptors: [
{
value: null,
uuid: '2902'
},
{
value: null,
uuid: '2901'
}
],
properties: {
Notify: 'Notify',
Read: 'Read'
},
characteristic: 'ad3f5575-4217-4c7a-8418-2aa9bddd96ee',
service: '48bbe7d5-81e5-46a4-b3ad-23417934d96d'
},
{
descriptors: [
{
value: null,
uuid: '2902'
},
{
value: null,
uuid: '2901'
}
],
properties: {
Notify: 'Notify',
Read: 'Read'
},
characteristic: '64f668be-c025-4dd3-a1fd-ef49d07ffc15',
service: '48bbe7d5-81e5-46a4-b3ad-23417934d96d'
},
{
descriptors: [
{
value: null,
uuid: '2902'
},
{
value: null,
uuid: '2901'
}
],
properties: {
Notify: 'Notify',
Read: 'Read'
},
characteristic: 'c4ddc87d-a470-4606-b20a-6eff9444c725',
service: '48bbe7d5-81e5-46a4-b3ad-23417934d96d'
},
{
descriptors: [
{
value: null,
uuid: '2902'
},
{
value: null,
uuid: '2901'
}
],
properties: {
Notify: 'Notify',
Read: 'Read'
},
characteristic: '5eb2fd1d-3310-4b67-b09e-933891467fdd',
service: '48bbe7d5-81e5-46a4-b3ad-23417934d96d'
}
],
services: [
{
uuid: '1800'
},
{
uuid: '1801'
},
{
uuid: '180a'
},
{
uuid: '48bbe7d5-81e5-46a4-b3ad-23417934d96d'
}
],
firmwareVersion: '0.2.1'
}
}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment