|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
A session: what the radio should do, and where it is. More...
#include <wa_session.h>
Data Fields | |
| wa_state_t | state |
| wa_mode_t | mode |
| wa_off_t | off |
| wa_join_err_t | join_err |
| uint32_t | since_ms |
| uint32_t | last_ms |
| unsigned | busy |
| unsigned | guesses |
| unsigned | auth_drops |
| uint32_t | ip |
| unsigned | scan_runs |
| uint32_t | scan_tok |
| uint32_t | scan_seq |
| bool | linger |
| char | pass [WA_SECRET_LEN+1u] |
| char | code [WA_SECRET_LEN+1u] |
A session: what the radio should do, and where it is.
| unsigned wa_t::auth_drops |
auth-class drops in a row in this join
| unsigned wa_t::busy |
requests under way
| char wa_t::code[WA_SECRET_LEN+1u] |
the page's access code
| unsigned wa_t::guesses |
wrong codes in this session
| uint32_t wa_t::ip |
the address, network byte order
| wa_join_err_t wa_t::join_err |
with WA_OFF_JOIN
| uint32_t wa_t::last_ms |
the last request's start or end
| bool wa_t::linger |
switched off while joined, and the radio may stay up for the platform's last request (wa_lingers())
| wa_mode_t wa_t::mode |
what it is for
| wa_off_t wa_t::off |
why it went off, with WA_ST_OFF
| char wa_t::pass[WA_SECRET_LEN+1u] |
the access point's
| unsigned wa_t::scan_runs |
scans started in this scan session
| uint32_t wa_t::scan_seq |
the last scan token given; kept by wa_start(), so no two scans share one
| uint32_t wa_t::scan_tok |
the scan under way, 0 for none
| uint32_t wa_t::since_ms |
when the state was entered
| wa_state_t wa_t::state |
where the session is