SDK for TESAIoT Dev Kit
API reference & tutorials (ModusToolbox)
Loading...
Searching...
No Matches
ipc_sensorhub.h File Reference
#include "ipc_communication.h"
#include <stdbool.h>
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  sensorhub_snapshot_t

Functions

bool ipc_sensorhub_init (void)
 Pipe-callback registration — second in the boot prologue.
void ipc_sensorhub_snapshot (sensorhub_snapshot_t *snap)
 One consumer per tick — reading clears the changed flags.
bool ipc_sensorhub_wifi_connected (void)
 Polled WiFi state — edge-detect before touching LVGL.
bool ipc_sensorhub_weather (weather_ipc_t *out)
bool ipc_sensorhub_ble_connected (void)
 True only while a NUS host is CONNECTED; no shipped caller.
bool ipc_sensorhub_ntp_synced (void)
 The gate on reading the RTC at all.
bool ipc_sensorhub_get_time_str (char *buf, size_t buf_size)
 Latest CM33-pushed time string; false before NTP sync.
void ipc_sensorhub_feed_bmi270 (const ipc_sensor_bmi270_t *data)
 Local IMU sample injection; no shipped caller.
void ipc_sensorhub_feed_bmm350 (const ipc_sensor_bmm350_t *data)
 Local magnetometer sample injection; no shipped caller.
void ipc_sensorhub_feed_capsense (const ipc_sensor_capsense_t *data)
 Local CapSense sample injection — every field initialised, shared sequence.
void ipc_sensorhub_feed_pot (const ipc_sensor_pot_t *data)
 Normalised pot values, not ADC counts; check pot_channels_ready() first.

Function Documentation

◆ ipc_sensorhub_weather()

bool ipc_sensorhub_weather ( weather_ipc_t * out)

Latest weather pushed from CM33_NS. False until the first push lands.