ENTS-tock
Environmental NeTworked Sensor firmware on Tock OS
Loading...
Searching...
No Matches
lorawan.h File Reference
#include <stdint.h>

Go to the source code of this file.

Functions

int lorawan_init (void)
 
int lorawan_join (void)
 
int lorawan_timesync (void)
 
uint8_t lorawan_size (void)
 
int lorawan_upload (uint8_t *buffer, int length)
 
int lorawan_heartbeat (void)
 

Function Documentation

◆ lorawan_heartbeat()

int lorawan_heartbeat ( void  )

Definition at line 281 of file lorawan.cc.

References lorawan_upload_fport().

Referenced by main().

◆ lorawan_init()

int lorawan_init ( void  )

Definition at line 39 of file lorawan.cc.

References Region, state, and subBand.

Referenced by main().

◆ lorawan_join()

◆ lorawan_size()

uint8_t lorawan_size ( void  )

◆ lorawan_timesync()

int lorawan_timesync ( void  )

Definition at line 195 of file lorawan.cc.

References set_epoch(), and state.

Referenced by main().

◆ lorawan_upload()

int lorawan_upload ( uint8_t *  buffer,
int  length 
)

Definition at line 275 of file lorawan.cc.

References buffer, and lorawan_upload_fport().

Referenced by main().