Golioth Firmware SDK
golioth_remote_shell.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "golioth_client.h"
4 #include <stdbool.h>
5 
16 
24 typedef void (*remote_shell_input_cb)(const char* line, size_t line_len);
25 
30 
35 
45 
55 void golioth_remote_shell_push(const uint8_t* data, size_t nbytes);
56 
void * golioth_client_t
Opaque handle to the Golioth client.
void golioth_remote_shell_set_line_input_handler(remote_shell_input_cb cb)
void golioth_remote_shell_push(const uint8_t *data, size_t nbytes)
void(* remote_shell_input_cb)(const char *line, size_t line_len)
void golioth_remote_shell_set_enable(bool enable)
void golioth_remote_shell_set_client(golioth_client_t client)