Dusun gateway development open-source code samples introduction

Dusun IoT gateways support most connectivity protocols including BLE, ZigBee, Z-Wave, etc. Users can connect the gateway with various BLE/ZigBee/Zwave devices.
Table of Contents

Dusun IoT gateways support most connectivity protocols including BLE, ZigBee, Z-Wave, etc. Users can connect the gateway with various BLE/ZigBee/Zwave devices.

1. Introduction

Dusun IoT gateways support most connectivity protocols including BLE, ZigBee, Z-Wave, etc. Users can connect the gateway with various BLE/ZigBee/Zwave devices. 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 gateway development flow is shown as below.

introduction dusun gateway github

2. GitHub address

Related GitHub Address :

Zigbee/Z-Wave Code Sample

https://github.com/dusuniot/Dusun_Gateway_API

BLE Code Sample

https://github.com/dusuniot/Dusun_BLE_Code_Sample

3. How to use

For Z-Wave and ZigBee devices

1) git clone https://github.com/dusuniot/Dusun_Gateway_API.git

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

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

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

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

5) Power up the Zwave or zigbee device and run the application.

For BLE devices
1) git clone https://github.com/dusuniot/Dusun_BLE_Code_Sample.git

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.

Related IoT Product Specifications

DSGW-211 OpenHAB EnOcean Gateway

DSGW-211 OpenHAB EnOcean gateway featuring compatibility with OpenHAB, and can retrieve EnOcean sensor data and control EnOcean actuators, and send data to OpenHAB platform.It provides

MIR-IR100 PIR Motion Sensor Spec

1. Product Description 1.1. Purpose and Description The MIR-IR100 PIR Motion Sensor utilizes Fresnel lens to focus on the infrared light emitted by the human

DSRT-060 Dusun Pi4 Model W

1. Introduction 1.1 Purpose& Description DSRT-060 Dusun Pi4 Model W is a professional, secure, reliable hardware supporting Windows OS. It’s based on an intel J4125

Looking For An IoT Device Supplier For Your Projects?

CONTACT US

    This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

    IoT Gateways for Recommendation

    CONTACT US

      This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

      Welcome to DusunIoT

      Hi there 👋 Is there anything we can help you with today? Please fill in the form below for the team to follow up if you become disconnected.

        DusunIoT Distributor Program

          This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

            This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.