Golioth Firmware SDK
Loading...
Searching...
No Matches
cellular.h File Reference
#include <stdint.h>
#include <golioth/net_info.h>

Go to the source code of this file.

Data Structures

struct  golioth_cellular_info
 Cellular tower information, which is passed to golioth_net_info_cellular_append() More...
 

Enumerations

enum  golioth_cellular_type { GOLIOTH_CELLULAR_TYPE_LTECATM , GOLIOTH_CELLULAR_TYPE_NBIOT }
 

Functions

enum golioth_status golioth_net_info_cellular_append (struct golioth_net_info *info, const struct golioth_cellular_info *cell)
 

Enumeration Type Documentation

◆ golioth_cellular_type

Enumerator
GOLIOTH_CELLULAR_TYPE_LTECATM 
GOLIOTH_CELLULAR_TYPE_NBIOT 

Definition at line 18 of file cellular.h.

Function Documentation

◆ golioth_net_info_cellular_append()

enum golioth_status golioth_net_info_cellular_append ( struct golioth_net_info * info,
const struct golioth_cellular_info * cell )

Append information about cellular network (cell tower) to network information

Parameters
infoNetwork information
cellInformation about cellular network
Return values
GOLIOTH_OKCellular network info added successfully
GOLIOTH_ERR_MEM_ALLOCNot enough memory in network info buffer