Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 726 Bytes

freebird-base.md

File metadata and controls

47 lines (31 loc) · 726 Bytes

freebird-base

freebird-base module provides base classes of Device, Gadget, and Netcore for netcore implementation.


Table of Contents


Constructor

new Device(nc, raw, info)


Usage

var fbbs = require('freebird-base');

Properties

  • Netrcore (class)
  • Device (class)
  • Gadget (class)

Methods

  • fbbs.newNetcore()
  • fbbs.newDevice()
  • fbbs.newGadget()

nc.registerDevice(devInfo) dev.registerGadget(gadInfo, auxId)