Skip to content

Gateways

Name Input Params Return Data Description
resiot_gateway_gettags String String, String Returns the Gateway Tag of the given Gateway

resiot_gateway_gettags(String)

Returns the Gateway Tag of the given Gateway.
Example
Tag, Error = resiot_gateway_gettags(GwEUI)
Input Parameters
 - GwEUI (String): * The Gateway EUI.
Returns
 - Tag (String): * The Gateway Tag.

 - Error (String): * Blank if success, otherwise it contains the error. *

GwEUI = "0000000000000000"  -- The Gateway EUI
Tag, Error = resiot_gateway_gettags(GwEUI)
if Error ~= "" then
    resiot_debug(Error)
else
    resiot_debug(Tag)
end

Return to index