tlimpanont / noble-rxjs

noble rxjs stream based implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

noble rxjs stream based implementation

working with Jack Berkhout

// development mode
npm run start:watch

Options

check options.js to change discover and connection mode of BLE

Characteristic

const CHARACTERISTICS = {
 HEART_RATE_MEASUREMENT: '2a37',
 TEMPERATURE_MEASUREMENT: '2a1c',
 BATTERY_LEVEL: '2a19',
 SOUND_LEVEL: 'a101',
 CURRENT_VALUE: 'a401',
 BUTTON_STATE: 'a201',
 LED_STATE: 'a301',
 ...
};

Use Characteristic.js to do nobleCharacteristic.read((err, data)) implementation. Check read(err, data) method

#written in javascript

About

noble rxjs stream based implementation


Languages

Language:JavaScript 100.0%