10#ifndef IPC_SENSORHUB_H
11#define IPC_SENSORHUB_H
13#include "ipc_communication.h"
void ipc_sensorhub_feed_pot(const ipc_sensor_pot_t *data)
Normalised pot values, not ADC counts; check pot_channels_ready() first.
bool ipc_sensorhub_get_time_str(char *buf, size_t buf_size)
Latest CM33-pushed time string; false before NTP sync.
void ipc_sensorhub_snapshot(sensorhub_snapshot_t *snap)
One consumer per tick — reading clears the changed flags.
void ipc_sensorhub_feed_bmi270(const ipc_sensor_bmi270_t *data)
Local IMU sample injection; no shipped caller.
bool ipc_sensorhub_ble_connected(void)
True only while a NUS host is CONNECTED; no shipped caller.
void ipc_sensorhub_feed_capsense(const ipc_sensor_capsense_t *data)
Local CapSense sample injection — every field initialised, shared sequence.
bool ipc_sensorhub_wifi_connected(void)
Polled WiFi state — edge-detect before touching LVGL.
void ipc_sensorhub_feed_bmm350(const ipc_sensor_bmm350_t *data)
Local magnetometer sample injection; no shipped caller.
bool ipc_sensorhub_init(void)
Pipe-callback registration — second in the boot prologue.
bool ipc_sensorhub_ntp_synced(void)
The gate on reading the RTC at all.
bool ipc_sensorhub_weather(weather_ipc_t *out)
Definition ipc_sensorhub.h:18
bool sht40_changed
Definition ipc_sensorhub.h:32
ipc_sensor_dps368_t dps368
Definition ipc_sensorhub.h:25
ipc_sensor_bmm350_t bmm350
Definition ipc_sensorhub.h:35
ipc_sensor_sht40_t sht40
Definition ipc_sensorhub.h:30
bool led_state_changed
Definition ipc_sensorhub.h:52
ipc_sensor_pot_t pot
Definition ipc_sensorhub.h:45
bool has_led_state
Definition ipc_sensorhub.h:51
bool pot_changed
Definition ipc_sensorhub.h:47
bool has_bmi270
Definition ipc_sensorhub.h:21
bool bmi270_changed
Definition ipc_sensorhub.h:22
bool has_pot
Definition ipc_sensorhub.h:46
bool dps368_changed
Definition ipc_sensorhub.h:27
ipc_sensor_capsense_t capsense
Definition ipc_sensorhub.h:40
bool capsense_changed
Definition ipc_sensorhub.h:42
bool has_dps368
Definition ipc_sensorhub.h:26
bool has_sht40
Definition ipc_sensorhub.h:31
uint8_t led_state_bitmask
Definition ipc_sensorhub.h:50
ipc_sensor_bmi270_t bmi270
Definition ipc_sensorhub.h:20
bool bmm350_changed
Definition ipc_sensorhub.h:37
bool has_bmm350
Definition ipc_sensorhub.h:36
bool has_capsense
Definition ipc_sensorhub.h:41