Skip to content

Podnet/rpc-uart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implementation of Mongoose OS RPC over UART

  • Uart dispatcher
void mg_rpc_channel_uart_dispatcher(int uart_no, void *arg);
  • Uart connection
static void mg_rpc_channel_uart_ch_connect(struct mg_rpc_channel *ch);
  • Uart send frame
static bool mg_rpc_channel_uart_send_frame(struct mg_rpc_channel *ch,const struct mg_str f);
  • Uart channel closed
static void mg_rpc_channel_uart_ch_close(struct mg_rpc_channel *ch);
  • Uart rpc config
struct mg_rpc_channel *mg_rpc_channel_uart( const struct mgos_config_rpc_uart *ccfg,
                                              const struct mgos_uart_config *ucfg); 
  • check if config was correct
bool mgos_rpc_uart_init(void)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published