An introduction of connecting a beacon device to Dusun gateway

Copy the Test_beacon program to the gateway through ssh method, it can be done either with the WinSCP program or ssh Test_beacon
Table of Contents

This document shows an example of how to connect a beacon device to the Dusun gateway and upload it to the mqtt broker.

The operation video has been uploaded to YouTube, please check about it in the following link, https://youtu.be/gt60XZZ4YDw

The following steps show you about how to do it.

1. First of all, we need to prepare a gateway, one beacon and a PC installed MQTT broker .

2. Copy the Test_beacon program to the gateway through ssh method, it can be done either with the WinSCP program or ssh Test_beacon [email protected]:/root command in command line, the 192.168.0.115 is the IP address of your gateway.

DM 20220701135220 008

3. Then we log in the gateway with ssh method ssh [email protected] or use the SecureCRT or putty client.The password and user name are both root.

DM 20220701135220 009
DM 20220701135220 010
4. Meanwhile, install the mqtt service and create a mqtt broker on the PC to function as a server end.
DM 20220701135220 011
5. Run the Test_beacon program on the SecureCRT client, now the data can already be received from the mqtt broker.
DM 20220701135220 012

6. Open the MQTT.fx to subscribe from the topic ‘beacon_data’ gateway published to

DM 20220701135220 013

The final data you acquired from the local server consists of three part, first 6 bytes’ data are x,y,z accelerate data read from the beacon, the next 6 bytes’ data are mac address of the beacon device, which can be used as the unique id to identify the beacon. And last one byte used to identify the 1:on/0:off status.

Download this Document
An introduction of connecting a beacon device to Dusun gateway
Related IoT Product Specifications

DSGW-230 IoT Ceiling Edge Computing Gateway

DSGW-230 Edge Computing IoT gateway is multiprotocol and with POE or USB type-c low voltage power supply. Wireless options include Cellular, Bluetooth, Wi-Fi, Ethernet, ZigBee,

DSTA-C2 BLE Asset Tracking Thin Tiny TAG

1. Product Description 1.1. Purpose and Description The Smalt & Thin Tiny Beacon Tag DSTA-C2 redefines asset tracking with its unparalleled compactness and efficiency. Designed

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

    Apply For Our Document

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

      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.