MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / at_uart_query

Function at_uart_query

components/net/at/src/at_base_cmd.c:78–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76AT_CMD_EXPORT("AT&L", RT_NULL, RT_NULL, RT_NULL, RT_NULL, at_show_cmd_exec);
77
78static at_result_t at_uart_query(void)
79{
80 struct rt_serial_device *serial = (struct rt_serial_device *)at_get_server()->device;
81
82 at_server_printfln("AT+UART=%d,%d,%d,%d,%d", serial->config.baud_rate, serial->config.data_bits,
83 serial->config.stop_bits, serial->config.parity, 1);
84
85 return AT_RESULT_OK;
86}
87
88static at_result_t at_uart_setup(const char *args)
89{

Callers

nothing calls this directly

Calls 2

at_get_serverFunction · 0.85
at_server_printflnFunction · 0.85

Tested by

no test coverage detected