Dusun Gateway Development Open-Source Code Available

Dusun provides code samples and APIs for connecting Z-wave/Zigbee/BLE devices. Users revise little code to support their own IoT wireless devices. The Smart IoT gateway development flow is shown as below.

introduction dusun gateway github
Related GitHub Address :

Zigbee/Z-Wave Code Sample

BLE Code Sample

How to Use the Development Code
For Z-Wave Gateway and ZigBee Gateway devices

  1. git clone GitHub - dusuniot/Dusun_Gateway_API: This is a project that contains Dusun IoT gateway development APIs.

  2. revise the test.c (name and contents) according to the wiki:

(https://github.com/dusuniot/Dusun_Gateway_API.wiki.git)

  1. revise ./examples/Makefile(the file name) and ./exmaples/make/arch.make (see companion wiki)

  2. compile the code by make and transfer the compiled application to the gateway.

  3. Power up the Zwave or zigbee device and run the application.

For BLE Gateway devices

  1. git clone GitHub - dusuniot/Dusun_BLE_Code_Sample: This is code sample for Dusun gateway BLE connections.

  2. Add the device control code refer to pm25.c and Oximeter.c;

  3. Revise ./Makefile

  4. Compile the code by make and transfer the compiled application to the gateway.

  5. Power up the BLE device and run the application to get data reported by the BLE device.