IPWorks IoT 2020 JavaScript Edition

Questions / Feedback?

DiscoverGateway Method

Broadcast a SEARCHGW message to network clients and gateways.

Syntax

async mqttsn.discoverGateway(broadcastRadius : number): Promise<void>

Remarks

Broadcast a SEARCHGW message in order to discover nearby gateways. Network clients and gateways may respond with a GWINFO message containing a gateway id. Such a response will trigger the GatewayInfo event.

This functionality is not yet implemented.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IoT 2020 JavaScript Edition - Version 20.0 [Build 8265]