Advertisement
kolban

Untitled

Nov 30th, 2017
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.17 KB | None | 0 0
  1. sudo /opt/node/bin/node test.js
  2. State: poweredOn
  3. Peripheral {
  4. _noble:
  5. Noble {
  6. state: 'poweredOn',
  7. address: '00:1a:7d:da:71:0e',
  8. _bindings:
  9. NobleBindings {
  10. _state: 'poweredOn',
  11. _addresses: [Object],
  12. _addresseTypes: [Object],
  13. _connectable: [Object],
  14. _pendingConnectionUuid: null,
  15. _connectionQueue: [],
  16. _handles: {},
  17. _gatts: {},
  18. _aclStreams: {},
  19. _signalings: {},
  20. _hci: [Hci],
  21. _gap: [Gap],
  22. _events: [Object],
  23. _eventsCount: 21,
  24. onSigIntBinded: [Function: bound ],
  25. _scanServiceUuids: [] },
  26. _peripherals:
  27. { '546c0e78f580': [Peripheral],
  28. '2c3b4ed055ef': [Peripheral],
  29. '9657a50ba6a4': [Peripheral],
  30. '123b6a1aee93': [Peripheral],
  31. '80eaca00d419': [Circular] },
  32. _services:
  33. { '546c0e78f580': {},
  34. '2c3b4ed055ef': {},
  35. '9657a50ba6a4': {},
  36. '123b6a1aee93': {},
  37. '80eaca00d419': {} },
  38. _characteristics:
  39. { '546c0e78f580': {},
  40. '2c3b4ed055ef': {},
  41. '9657a50ba6a4': {},
  42. '123b6a1aee93': {},
  43. '80eaca00d419': {} },
  44. _descriptors:
  45. { '546c0e78f580': {},
  46. '2c3b4ed055ef': {},
  47. '9657a50ba6a4': {},
  48. '123b6a1aee93': {},
  49. '80eaca00d419': {} },
  50. _discoveredPeripheralUUids:
  51. [ '546c0e78f580',
  52. '2c3b4ed055ef',
  53. '9657a50ba6a4',
  54. '123b6a1aee93',
  55. '80eaca00d419' ],
  56. _events:
  57. { warning: [Function: bound ],
  58. discover: [Function],
  59. stateChange: [Function] },
  60. _eventsCount: 3,
  61. _allowDuplicates: undefined },
  62. id: '80eaca00d419',
  63. uuid: '80eaca00d419',
  64. address: '80:ea:ca:00:d4:19',
  65. addressType: 'public',
  66. connectable: true,
  67. advertisement:
  68. { localName: 'IoT-DK-SFL',
  69. txPowerLevel: undefined,
  70. manufacturerData: <Buffer d2 00 00 d4 19>,
  71. serviceData: [],
  72. serviceUuids: [ '2ea7' ],
  73. solicitationServiceUuids: [],
  74. serviceSolicitationUuids: [] },
  75. rssi: -51,
  76. services: null,
  77. state: 'disconnected' }
  78. Connected: null
  79. Above to discoverServices
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement