refactor: 清理UART调试代码并保留RTT诊断
This commit is contained in:
+14
-10
@@ -144,21 +144,25 @@ device_config_t *config_get_mutable(void);
|
||||
*/
|
||||
at_result_t config_process_at_cmd(const char *cmd, char *response, uint16_t max_len);
|
||||
|
||||
/**
|
||||
* @brief UART1 IDLE interrupt handler for config module
|
||||
*/
|
||||
void config_uart_idle_handler(void);
|
||||
|
||||
/**
|
||||
* @brief Start UART1 reception for configuration
|
||||
*/
|
||||
void config_start_reception(void);
|
||||
|
||||
/**
|
||||
* @brief Poll configuration UART and process pending AT commands
|
||||
*/
|
||||
void config_poll(void);
|
||||
|
||||
/**
|
||||
* @brief Feed one byte received from the config UART.
|
||||
* @param byte Received byte.
|
||||
*/
|
||||
void config_uart_rx_byte(uint8_t byte);
|
||||
|
||||
/**
|
||||
* @brief Try to process one AT command frame from an external UART source.
|
||||
* @param data Input bytes.
|
||||
* @param len Input length.
|
||||
* @return true if the frame was recognized as an AT/config command.
|
||||
*/
|
||||
bool config_try_process_frame(const uint8_t *data, uint16_t len);
|
||||
|
||||
/**
|
||||
* @brief Check whether AT+RESET requested a system reset
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user