Base classes used in freebird framework.
Please visit the Wiki.
freebird-base provides three base classes used by freebird IoT framework. These classes are abstractions of the network controller, network device, and real appliance, respectively.
Class | Description | Example |
---|---|---|
Netcore | A network controller responsible for message transportation and network management. | A zigbee coordinator or a BLE central controller. |
Device | A wired/wireless machine in the network. | A zigbee end-device, a BLE peripheral, a MQTT client, or a CoAP server(LWM2M client). |
Gadget | Something specific and functional in our life. | A temperature sensor, a light switch, or a barometer. |
- If you are a freebird user, you may only care about the APIs of Device and Gadget classes.
- If you are a freebird netcore implementer who likes to create a netcore to manage your network with the freebird framework, then Workflow of Designing Your Own Netcore will be a good place for you to start.
$ npm install freebird-base --save
Licensed under MIT.