SingingCat 0
application
|
this must be implemented by the userapp, stored in flash at the beginning of the file (offset 0) More...
#include <user_app_info.h>
Data Fields | |
uint32_t | api_version |
void * | base |
uint32_t | build_timestamp |
uint32_t | checksum |
void * | end_marker |
uint32_t | length |
uint32_t | magic |
int(* | on_command_received )(struct command *com) |
this is called for each command we receive More... | |
void(* | on_new_node )(struct hostroute *host) |
called when and if a new node is detected. this may be used, to, for example detect a route to the cloud More... | |
uint32_t | pad2 |
uint32_t | repoid |
int(* | start )(int MCULIBHANDLE, struct sc_firmware_api *api) |
guaranteed to be called by the firmware before any other functions More... | |
void(* | stop )() |
last thing to be called. no more userloops or irqs afterwards More... | |
void(* | user_loop )() |
this is called frequently, but with no timing guarantees. essentially, it's called in the "idle-loop" of the mcu More... | |
uint32_t | version |
this must be implemented by the userapp, stored in flash at the beginning of the file (offset 0)
Definition at line 391 of file user_app_info.h.