Source:appId
since 1.5.5
Get or set the appId of the source if is a FrSky sensor.
local appId = source:appId([appId])
Parameters
| Name |
Type |
Required |
Description |
appId |
integer |
optional |
|
Returns
appId (integer)
Examples
From the official Ethos documentationsource = system.getSource({name="GPS"})
source:appId(0x0110)
print(source:name() .. " module:" .. source:module() .. " band:" .. source:band() .. " appId:" .. source:appId() .. " physId:" .. source:physId())