rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
fw_rel_scan_t Struct Reference

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

Detailed Description

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.

Field Documentation

◆ arrays

uint32_t fw_rel_scan_t::arrays

bit d: nesting level d is an array

◆ best

fw_version_t fw_rel_scan_t::best

the highest no-draft release so far

◆ cur

fw_version_t fw_rel_scan_t::cur

the release under way's tag

◆ depth

uint8_t fw_rel_scan_t::depth

levels open

◆ dn

uint8_t fw_rel_scan_t::dn

draft's value bytes, up to 255

◆ draft

bool fw_rel_scan_t::draft

the release under way is a draft

◆ dval

char fw_rel_scan_t::dval[5]

"false" is the longest kept

◆ ended

bool fw_rel_scan_t::ended

the scan has ended; err holds why

◆ err

fw_rel_err_t fw_rel_scan_t::err

once ended

◆ found

fw_version_t fw_rel_scan_t::found

once ended with FW_REL_OK

◆ have_best

bool fw_rel_scan_t::have_best

best holds a release

◆ have_draft

bool fw_rel_scan_t::have_draft

the release under way's "draft" was read

◆ have_line

bool fw_rel_scan_t::have_line

line holds a release of the line

◆ have_tag

bool fw_rel_scan_t::have_tag

the release under way's

◆ key

char fw_rel_scan_t::key[8]

"tag_name" is the longest key read

◆ klong

bool fw_rel_scan_t::klong

the key is longer, or escaped

◆ kn

uint8_t fw_rel_scan_t::kn

key bytes kept

◆ line

fw_version_t fw_rel_scan_t::line

the highest no-draft one of the line so far

◆ releases

uint8_t fw_rel_scan_t::releases

read whole

◆ seen

uint32_t fw_rel_scan_t::seen

bytes fed

◆ st

uint8_t fw_rel_scan_t::st

where in the JSON the next byte falls

◆ tag

char fw_rel_scan_t::tag[FW_REL_TAG_MAX]

the tag under way's bytes

◆ tn

uint8_t fw_rel_scan_t::tn

tag bytes kept

◆ want

uint8_t fw_rel_scan_t::want

whose value follows: other, tag, draft


The documentation for this struct was generated from the following file: