luat_shell.h 379 B

12345678910111213141516
  1. #ifndef LUAT_SHELL_H
  2. #define LUAT_SHELL_H
  3. #include "luat_base.h"
  4. #define LUAT_CMUX_CMD_INIT "AT+CMUX=1,0,5"
  5. void luat_shell_write(char* buff, size_t len);
  6. void luat_shell_print(const char* str);
  7. char* luat_shell_read(size_t *len);
  8. void luat_shell_notify_recv(void);
  9. void luat_shell_notify_read(void);
  10. // new shell
  11. void luat_shell_push(char* uart_buff, size_t rcount);
  12. #endif