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

Go to the source code of this file.

Data Structures

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

Enumerations

enum  golioth_cellular_type { GOLIOTH_CELLULAR_TYPE_LTECATM , GOLIOTH_CELLULAR_TYPE_NBIOT }
 

Functions

enum golioth_status golioth_location_cellular_append (struct golioth_location_req *req, 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_location_cellular_append()

enum golioth_status golioth_location_cellular_append ( struct golioth_location_req * req,
const struct golioth_cellular_info * cell )

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

Parameters
reqLocation request
cellInformation about cellular network
Return values
GOLIOTH_OKLocation request finished successfully
GOLIOTH_ERR_MEM_ALLOCNot enough memory in request buffer