Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo /opt/node/bin/node test.js
- State: poweredOn
- Peripheral {
- _noble:
- Noble {
- state: 'poweredOn',
- address: '00:1a:7d:da:71:0e',
- _bindings:
- NobleBindings {
- _state: 'poweredOn',
- _addresses: [Object],
- _addresseTypes: [Object],
- _connectable: [Object],
- _pendingConnectionUuid: null,
- _connectionQueue: [],
- _handles: {},
- _gatts: {},
- _aclStreams: {},
- _signalings: {},
- _hci: [Hci],
- _gap: [Gap],
- _events: [Object],
- _eventsCount: 21,
- onSigIntBinded: [Function: bound ],
- _scanServiceUuids: [] },
- _peripherals:
- { '546c0e78f580': [Peripheral],
- '2c3b4ed055ef': [Peripheral],
- '9657a50ba6a4': [Peripheral],
- '123b6a1aee93': [Peripheral],
- '80eaca00d419': [Circular] },
- _services:
- { '546c0e78f580': {},
- '2c3b4ed055ef': {},
- '9657a50ba6a4': {},
- '123b6a1aee93': {},
- '80eaca00d419': {} },
- _characteristics:
- { '546c0e78f580': {},
- '2c3b4ed055ef': {},
- '9657a50ba6a4': {},
- '123b6a1aee93': {},
- '80eaca00d419': {} },
- _descriptors:
- { '546c0e78f580': {},
- '2c3b4ed055ef': {},
- '9657a50ba6a4': {},
- '123b6a1aee93': {},
- '80eaca00d419': {} },
- _discoveredPeripheralUUids:
- [ '546c0e78f580',
- '2c3b4ed055ef',
- '9657a50ba6a4',
- '123b6a1aee93',
- '80eaca00d419' ],
- _events:
- { warning: [Function: bound ],
- discover: [Function],
- stateChange: [Function] },
- _eventsCount: 3,
- _allowDuplicates: undefined },
- id: '80eaca00d419',
- uuid: '80eaca00d419',
- address: '80:ea:ca:00:d4:19',
- addressType: 'public',
- connectable: true,
- advertisement:
- { localName: 'IoT-DK-SFL',
- txPowerLevel: undefined,
- manufacturerData: <Buffer d2 00 00 d4 19>,
- serviceData: [],
- serviceUuids: [ '2ea7' ],
- solicitationServiceUuids: [],
- serviceSolicitationUuids: [] },
- rssi: -51,
- services: null,
- state: 'disconnected' }
- Connected: null
- Above to discoverServices
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement