Golioth Firmware SDK
Loading...
Searching...
No Matches
cellular.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2025 Golioth, Inc.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifdef __cplusplus
8extern "C"
9{
10#endif
11
12#pragma once
13
14#include <stdint.h>
15
16#include <golioth/location.h>
17
23
26{
30 uint16_t mcc;
32 uint16_t mnc;
34 uint32_t id;
36 int8_t strength;
37};
38
47 const struct golioth_cellular_info *cell);
48
49#ifdef __cplusplus
50}
51#endif
enum golioth_status golioth_location_cellular_append(struct golioth_location_req *req, const struct golioth_cellular_info *cell)
golioth_cellular_type
Definition cellular.h:19
@ GOLIOTH_CELLULAR_TYPE_NBIOT
Definition cellular.h:21
@ GOLIOTH_CELLULAR_TYPE_LTECATM
Definition cellular.h:20
golioth_status
Cellular tower information, which is passed to golioth_location_cellular_append()
Definition cellular.h:26
enum golioth_cellular_type type
Definition cellular.h:28
Wi-Fi location request, used with golioth_location_init(), golioth_location_finish() and golioth_loca...
Definition location.h:35