Gateways¶
Name | Input Params | Return Data | Description |
---|---|---|---|
resiot_gateway_gettags | String | String, String | Returns the Gateway Tag of the given Gateway |
resiot_gateway_getname | String | String, String | Returns the name 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
resiot_gateway_getname(String)¶
Returns the name of the given Gateway.
Example
Name, Error = resiot_gateway_getname(GwEUI)
Input Parameters
- GwEUI (String): * The Gateway EUI.
Returns
- Name (String): * The name of the Gateway.
- Error (String): * Blank if success, otherwise it contains the error. *
GwEUI = "0000000000000000" -- The Gateway EUI
Name, Error = resiot_gateway_getname(GwEUI)
if Error ~= "" then
resiot_debug(Error)
else
resiot_debug(Name)
end