|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The name servers a join gave, on the console. See wifi_dns.h. More...
Functions | |
| static size_t | put (char *line, size_t cap, size_t at, const esp_netif_dns_info_t *d) |
Append one server to line. | |
| void | wifi_dns_poll (esp_netif_t *netif, bool joined) |
Log the name servers once a join: on the first call with joined after one without. | |
Variables | |
| static const char * | TAG = "wifi" |
| The console tag: the radio's lines. | |
| static bool | s_logged |
| This join's line is written. | |
The name servers a join gave, on the console. See wifi_dns.h.
SPDX-License-Identifier: MIT
|
static |
Append one server to line.
| line | The line so far. |
| cap | Its size in bytes. |
| at | Bytes in it, terminator not counted. |
| d | The server. |
at when d is no address. | void wifi_dns_poll | ( | esp_netif_t * | netif, |
| bool | joined ) |
Log the name servers once a join: on the first call with joined after one without.
The Wi-Fi worker task's, while netif exists.
| netif | The station's interface; not read unless joined. |
| joined | The station holds an address on the home network. |