|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The scan of the API's answer for the highest release. More...
#include <fw_release.h>
Data Fields | |
| uint32_t | seen |
| uint32_t | arrays |
| uint8_t | depth |
| uint8_t | st |
| uint8_t | want |
| uint8_t | kn |
| char | key [8] |
| bool | klong |
| bool | ended |
| uint8_t | tn |
| char | tag [FW_REL_TAG_MAX] |
| uint8_t | dn |
| char | dval [5] |
| bool | have_tag |
| bool | have_draft |
| bool | draft |
| bool | have_best |
| uint8_t | releases |
| fw_version_t | cur |
| fw_version_t | best |
| bool | have_line |
| fw_version_t | line |
| fw_rel_err_t | err |
| fw_version_t | found |
The scan of the API's answer for the highest release.
Fed the body as it comes, in pieces of any size, and nothing of it kept but the release under way's tag, the highest so far and the highest of the panel's release line so far. 84 bytes, on the caller's stack.
| uint32_t fw_rel_scan_t::arrays |
bit d: nesting level d is an array
| fw_version_t fw_rel_scan_t::best |
the highest no-draft release so far
| fw_version_t fw_rel_scan_t::cur |
the release under way's tag
| uint8_t fw_rel_scan_t::depth |
levels open
| uint8_t fw_rel_scan_t::dn |
draft's value bytes, up to 255
| bool fw_rel_scan_t::draft |
the release under way is a draft
| char fw_rel_scan_t::dval[5] |
"false" is the longest kept
| bool fw_rel_scan_t::ended |
the scan has ended; err holds why
| fw_rel_err_t fw_rel_scan_t::err |
once ended
| fw_version_t fw_rel_scan_t::found |
once ended with FW_REL_OK
| bool fw_rel_scan_t::have_best |
best holds a release
| bool fw_rel_scan_t::have_draft |
the release under way's "draft" was read
| bool fw_rel_scan_t::have_line |
line holds a release of the line
| bool fw_rel_scan_t::have_tag |
the release under way's
| char fw_rel_scan_t::key[8] |
"tag_name" is the longest key read
| bool fw_rel_scan_t::klong |
the key is longer, or escaped
| uint8_t fw_rel_scan_t::kn |
key bytes kept
| fw_version_t fw_rel_scan_t::line |
the highest no-draft one of the line so far
| uint8_t fw_rel_scan_t::releases |
read whole
| uint32_t fw_rel_scan_t::seen |
bytes fed
| uint8_t fw_rel_scan_t::st |
where in the JSON the next byte falls
| char fw_rel_scan_t::tag[FW_REL_TAG_MAX] |
the tag under way's bytes
| uint8_t fw_rel_scan_t::tn |
tag bytes kept
| uint8_t fw_rel_scan_t::want |
whose value follows: other, tag, draft