36 void (*at_setupCmd)(
uint8_t id,
char *pPara);
void at_port_print(const char *str)
print string to at port
void at_register_response_func(at_custom_response_func_type response_func)
register custom response function.
int int32
Definition: c_types.h:57
void(* at_fake_uart_tx_func_type)(const uint8 *data, uint32 length)
Definition: at_custom.h:44
signed char int8_t
Definition: c_types.h:30
uint32 at_get_version(void)
get at version
Definition: at_custom.h:30
uint32 at_fake_uart_rx(uint8 *data, uint32 length)
notify at module that has receive data
void at_set_custom_info(char *info)
print custom information when AT+GMR
char * at_cmdName
Definition: at_custom.h:32
void at_register_uart_rx_intr(at_custom_uart_rx_intr rx_func)
register custom uart rx interrupt function
void at_response_ok(void)
Response "OK" to uart.
void at_response(const char *str)
Response string. It is equivalent to at_port_print,if not call at_register_response_func or call at_r...
unsigned char uint8_t
Definition: c_types.h:28
void at_leave_special_state(void)
bool at_fake_uart_enable(bool enable, at_fake_uart_tx_func_type at_fake_uart_tx_func)
enable fake uart,and register fake uart tx
int32 at_data_str_copy(char *p_dest, char **p_src, int32 max_len)
get string form at cmd line.the maybe alter pSrc
unsigned char uint8
Definition: c_types.h:43
void at_enter_special_state(void)
if current at command is processing,you can call at_enter_special_state, then if other comamnd coming...
void at_response_error(void)
Response "ERROR" to uart.
unsigned int uint32
Definition: c_types.h:52
bool at_set_escape_character(uint8 ch)
set at escape character
void at_init(void)
initialize at module
int8_t at_cmdLen
Definition: at_custom.h:33
void(* at_custom_response_func_type)(const char *str)
Definition: at_custom.h:42
bool at_get_next_int_dec(char **p_src, int *result, int *err)
get digit form at cmd line.the maybe alter pSrc
void(* at_custom_uart_rx_intr)(uint8 *data, int32 len)
Definition: at_custom.h:40
void at_cmd_array_regist(at_funcationType *custom_at_cmd_array, uint32 cmd_num)
Task of process command or txdata.