Contiki-NG
|
6TiSCH Operation Sublayer (6top) APIs More...
Go to the source code of this file.
Data Structures | |
struct | sixtop_sf_t |
/brief Scheduling Function Driver More... | |
Typedefs | |
typedef void(* | sixtop_sf_input) (sixp_pkt_type_t type, sixp_pkt_code_t code, const uint8_t *body, uint16_t body_len, const linkaddr_t *src_addr) |
Input Handler of Scheduling Function. | |
typedef void(* | sixtop_sf_timeout) (sixp_pkt_cmd_t cmd, const linkaddr_t *peer_addr) |
Timeout Handler of Scheduling Function. | |
typedef void(* | sixtop_sf_error) (sixp_error_t err, sixp_pkt_cmd_t cmd, uint8_t seqno, const linkaddr_t *peer_addr) |
Error Handler of Scheduling Function. | |
Enumerations | |
enum | sixp_error_t |
6P internal error code, which SF is informed of through its sixtop_sf_error handler | |
Functions | |
int | sixtop_add_sf (const sixtop_sf_t *sf) |
Add a Scheduling Function (SF) to 6top Sublayer. | |
const sixtop_sf_t * | sixtop_find_sf (uint8_t sfid) |
Find a SF which has been added by SFID. | |
int | sixtop_output (const linkaddr_t *dest_addr, mac_callback_t callback, void *arg) |
Output a 6P packet which is supposestored in packetbuf. | |
void | sixtop_input (void) |
Input a packet stored in packetbuf. | |
void | sixtop_init (void) |
Initialize 6top module This initialization function removes all the SFs which has been installed into the 6top sub-layer. | |
void | sixtop_init_sf (void) |
Initialize installed SFs which has been added in the system This function is supposed to be invoked every time the node gets associated. | |
6TiSCH Operation Sublayer (6top) APIs
Definition in file sixtop.h.