sportTelemetryPop¶
sportTelemetryPop()
Pops a received SPORT packet from the queue. Please note that only packets using a data ID within 0x5000 to 0x50FF (frame ID == 0x10), as well as packets with a frame ID equal 0x32 (regardless of the data ID) will be passed to the LUA telemetry receive queue.
Parameters¶
None.
Returns¶
| Name | Type | Description |
|---|---|---|
- | nil | queue does not contain any (or enough) bytes to form a whole packet |
sensor_id | integer | |
frame_id | integer | |
data_id | integer | |
value | integer |
Availability¶
- Since:
2.2.0 - Radio support:
all
Source¶
radio/src/lua/api_general.cpp