April 2017
Intermediate to advanced
242 pages
6h 10m
English
In this section, we will quickly take a look at the important classes responsible for communicating with Bluetooth devices using the noble library. The BLE adapter handles all major BLE connections and traffic. This means that most classes call this if Bluetooth communication is required. You will also find references to the noble API and the customized Bluetooth SIG implementation of our_modules in this class. The main imports in this class are as follows:
var keystore = require('./keyStore');var debug = require('debug')('bleAdapter');//var error = debug('gateway:ble:error');//var log = debug('gateway:ble:log');var util = require('util');var db = require('./dataModel');var conts = require('./constants'); ...Read now
Unlock full access