Unify Framework Lib 1.6.0
rust_process.c File Reference
#include "request_poller.h"
#include <stdio.h>
#include "contiki.h"

Functions

 PROCESS_NAME (request_poller_process)
 
void register_poll_handler (void(*handler)())
 register a handler thats called when a poll is requested. setting it a second time will overwrite the previous time. More...
 
void request_poller_poll_request ()
 request a poll More...
 
 PROCESS (request_poller_process, "request_poller")
 
 PROCESS_THREAD (request_poller_process, ev, data)
 
sl_status_t initialize_request_poller_process ()
 Start rust process. This process drives the task executor in rust. More...
 

Variables

static void(* process_contiki_poll_cb )() = NULL
 

Function Documentation

◆ initialize_request_poller_process()

sl_status_t initialize_request_poller_process ( )

Start rust process. This process drives the task executor in rust.

◆ PROCESS()

PROCESS ( request_poller_process  ,
"request_poller"   
)

◆ PROCESS_NAME()

PROCESS_NAME ( request_poller_process  )

◆ PROCESS_THREAD()

PROCESS_THREAD ( request_poller_process  ,
ev  ,
data   
)

◆ register_poll_handler()

void register_poll_handler ( void(*)()  handler)

register a handler thats called when a poll is requested. setting it a second time will overwrite the previous time.

◆ request_poller_poll_request()

void request_poller_poll_request ( )

request a poll

Variable Documentation

◆ process_contiki_poll_cb

void(* process_contiki_poll_cb) () ( ) = NULL
static