8#include "dawn/common/thread.hxx"
9#include "dawn/system/common.hxx"
101 explicit CSystemGnss(CDescObject &desc);
105#ifdef CONFIG_DAWN_OBJECT_HAS_NAME
106 const char *getClassNameStr()
const override
126 uint32_t maxAttempts;
Base class for OBJTYPE_ANY configuration objects.
@ SYSTEM_CLASS_GNSS
GNSS coexistence manager (policy)
static SObjectCfg::ObjectCfgId cfgId(uint16_t cls, uint8_t dtype, bool rw, uint16_t size, uint8_t id)
Build a config-item id for a dev object.
GNSS coexistence manager.
static SObjectId::ObjectId objectId(uint16_t inst=0)
Build this object's ObjectId for a given instance.
int doStart()
Start implementation hook.
@ GNSS_CFG_MODE
DAWN_GNSS_MODE_* (DTYPE_UINT8)
@ GNSS_CFG_ENABLED
Runtime on/off switch (DTYPE_BOOL)
@ GNSS_CFG_ACQUIRE
Bounded fix window, seconds (DTYPE_UINT32)
@ GNSS_CFG_REARM
Re-arm delay after give-up, s (DTYPE_UINT32)
@ GNSS_CFG_MAXATTEMPTS
No-fix windows before give-up (DTYPE_UINT32)
@ GNSS_CFG_SETTLE
LTE-first grace, seconds (DTYPE_UINT32)
@ GNSS_CFG_RETRY
Cooldown between attempts, s (DTYPE_UINT32)
int configure()
Configure object from descriptor data.
int onSetObjConfig(SObjectCfg::ObjectCfgId objcfg, uint32_t *data, size_t len)
React to runtime config writes (e.g.
int doStop()
Stop implementation hook.
static SObjectCfg::ObjectCfgId cfgIdMode(bool rw=true)
Config-item id helper (cls = SYSTEM_CLASS_GNSS).
Portable thread owner abstraction for Dawn components.
uint32_t ObjectCfgId
ConfigID type - single 32-bit value.
Out-of-tree user-extension hooks for Dawn.
@ DAWN_GNSS_MODE_OFF
Manager idle; do not touch the radio knobs.
@ DAWN_GNSS_MODE_HYBRID
LTE first, then borrow the radio in bounded windows for a cold fix, always handing it back so LTE sta...
@ OBJTYPE_ANY
Wildcard/metadata object type.
@ DTYPE_UINT8
Unsigned 8-bit integer (0 to 255).
@ DTYPE_ANY
Wildcard data type (matches any actual type).
@ DTYPE_UINT32
Unsigned 32-bit integer (0 to 4294967295).
@ DTYPE_BOOL
Boolean data type (stored in 32-bit container).
uint32_t ObjectId
ObjectID type - single 32-bit value.
static ObjectId objectId(uint8_t type, uint16_t cls, uint8_t dtype, uint8_t flags, uint16_t priv)
Construct 32-bit ObjectID from component fields.