Golioth Firmware SDK
golioth_time.h File Reference
#include <stdint.h>

Go to the source code of this file.

Macros

#define GOLIOTH_WAIT_FOREVER   -1
 For Golioth APIs that take a timeout parameter. More...
 

Functions

uint64_t golioth_time_millis (void)
 Time since boot, in milliseconds. More...
 
void golioth_time_delay_ms (uint32_t ms)
 Delay the current RTOS thread by a certain number of milliseconds. More...
 

Macro Definition Documentation

◆ GOLIOTH_WAIT_FOREVER

#define GOLIOTH_WAIT_FOREVER   -1

For Golioth APIs that take a timeout parameter.

Definition at line 11 of file golioth_time.h.

Function Documentation

◆ golioth_time_delay_ms()

void golioth_time_delay_ms ( uint32_t  ms)

Delay the current RTOS thread by a certain number of milliseconds.

◆ golioth_time_millis()

uint64_t golioth_time_millis ( void  )

Time since boot, in milliseconds.