onDiscoverRequest (event)

Fired when the class receives a SEARCHGW packet from another client.

Syntax

- (void)onDiscoverRequest:(int)radius :(int*)gatewayId :(NSString**)gatewayAddress :(int*)respond;
func onDiscoverRequest(_ radius: Int32, _ gatewayId: inout Int32, _ gatewayAddress: inout NSString?, _ respond: inout Int32)

Remarks

This event allows the client to process the received gateway info and decide whether or not to respond to the search request.

If Respond is set to True, the class will respond with a GWINFO packet.

This functionality is not yet implemented.

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