Overview

By using a server (or PC) within the network where the device is located, Achieve device private deployment by installing the "ThingBoot Software Gateway [Gateway]" software.

When the device operates in gateway mode, it will have a built-in web interface service (in the form: http://Device IP Address/control) for third-party applications to call.

When a device's IP address cannot be fixed, it is necessary to deploy a "gateway" within the network to be responsible for establishing a mapping table between device IDs and IP addresses. The gateway exposes an HTTP interface and is responsible for forwarding the received control requests from third-party applications to the device, thereby enabling device control.

Working mechanism

Connection Between the Device and the Software Gateway:

1 Connect to the network After the device is powered on, it starts to connect to the network configured for it,

After that, the device will enter the gateway working mode.

2 connection The device will connect to the server where the Software Gateway is located.

It sends a heartbeat to the Software Gateway every 60 seconds and reports its own information to the gateway.

3 control The Software Gateway accepts HTTP interface requests from third parties.

The Software Gateway is responsible for forwarding these commands to the device.

View Details Related Documents