freebird-base module provides base classes of Device, Gadget, and Netcore for netcore implementation.
new Device(nc, raw, info)
var fbbs = require('freebird-base');
- Netrcore (class)
- Device (class)
- Gadget (class)
- fbbs.newNetcore()
- fbbs.newDevice()
- fbbs.newGadget()
nc.registerDevice(devInfo) dev.registerGadget(gadInfo, auxId)