Slaves report pack voltages every 30s; the master caches them for fast BATTERY_STATUS reads. goTool exposes REST/WebSocket and shows values in the dashboard, with a nanopb fix so optional lipo submessages encode. Co-authored-by: Cursor <cursoragent@cursor.com>
114 lines
2.3 KiB
C
114 lines
2.3 KiB
C
/* Automatically generated nanopb constant definitions */
|
|
/* Generated by nanopb-1.0.0-dev */
|
|
|
|
#include "uart_messages.pb.h"
|
|
#if PB_PROTO_HEADER_VERSION != 40
|
|
#error Regenerate this file with the current version of nanopb generator.
|
|
#endif
|
|
|
|
PB_BIND(alox_UartMessage, alox_UartMessage, 2)
|
|
|
|
|
|
PB_BIND(alox_Ack, alox_Ack, AUTO)
|
|
|
|
|
|
PB_BIND(alox_EchoPayload, alox_EchoPayload, AUTO)
|
|
|
|
|
|
PB_BIND(alox_VersionResponse, alox_VersionResponse, AUTO)
|
|
|
|
|
|
PB_BIND(alox_ClientInfo, alox_ClientInfo, AUTO)
|
|
|
|
|
|
PB_BIND(alox_ClientInfoResponse, alox_ClientInfoResponse, AUTO)
|
|
|
|
|
|
PB_BIND(alox_ClientInput, alox_ClientInput, AUTO)
|
|
|
|
|
|
PB_BIND(alox_ClientInputResponse, alox_ClientInputResponse, AUTO)
|
|
|
|
|
|
PB_BIND(alox_AccelDeadzoneRequest, alox_AccelDeadzoneRequest, AUTO)
|
|
|
|
|
|
PB_BIND(alox_AccelDeadzoneResponse, alox_AccelDeadzoneResponse, AUTO)
|
|
|
|
|
|
PB_BIND(alox_AccelStreamRequest, alox_AccelStreamRequest, AUTO)
|
|
|
|
|
|
PB_BIND(alox_AccelStreamResponse, alox_AccelStreamResponse, AUTO)
|
|
|
|
|
|
PB_BIND(alox_BatteryStatusRequest, alox_BatteryStatusRequest, AUTO)
|
|
|
|
|
|
PB_BIND(alox_LipoReading, alox_LipoReading, AUTO)
|
|
|
|
|
|
PB_BIND(alox_BatterySample, alox_BatterySample, AUTO)
|
|
|
|
|
|
PB_BIND(alox_BatteryStatusResponse, alox_BatteryStatusResponse, 2)
|
|
|
|
|
|
PB_BIND(alox_AccelSnapshotRequest, alox_AccelSnapshotRequest, AUTO)
|
|
|
|
|
|
PB_BIND(alox_AccelSample, alox_AccelSample, AUTO)
|
|
|
|
|
|
PB_BIND(alox_AccelSnapshotResponse, alox_AccelSnapshotResponse, 2)
|
|
|
|
|
|
PB_BIND(alox_EspNowUnicastTestRequest, alox_EspNowUnicastTestRequest, AUTO)
|
|
|
|
|
|
PB_BIND(alox_EspNowUnicastTestResponse, alox_EspNowUnicastTestResponse, AUTO)
|
|
|
|
|
|
PB_BIND(alox_LedRingProgressRequest, alox_LedRingProgressRequest, AUTO)
|
|
|
|
|
|
PB_BIND(alox_LedRingProgressResponse, alox_LedRingProgressResponse, AUTO)
|
|
|
|
|
|
PB_BIND(alox_EspNowFindMeRequest, alox_EspNowFindMeRequest, AUTO)
|
|
|
|
|
|
PB_BIND(alox_EspNowFindMeResponse, alox_EspNowFindMeResponse, AUTO)
|
|
|
|
|
|
PB_BIND(alox_RestartRequest, alox_RestartRequest, AUTO)
|
|
|
|
|
|
PB_BIND(alox_RestartResponse, alox_RestartResponse, AUTO)
|
|
|
|
|
|
PB_BIND(alox_OtaStartPayload, alox_OtaStartPayload, AUTO)
|
|
|
|
|
|
PB_BIND(alox_OtaPayload, alox_OtaPayload, AUTO)
|
|
|
|
|
|
PB_BIND(alox_OtaEndPayload, alox_OtaEndPayload, AUTO)
|
|
|
|
|
|
PB_BIND(alox_OtaStatusPayload, alox_OtaStatusPayload, AUTO)
|
|
|
|
|
|
PB_BIND(alox_OtaSlaveProgressRequest, alox_OtaSlaveProgressRequest, AUTO)
|
|
|
|
|
|
PB_BIND(alox_OtaSlaveProgressEntry, alox_OtaSlaveProgressEntry, AUTO)
|
|
|
|
|
|
PB_BIND(alox_OtaSlaveProgressResponse, alox_OtaSlaveProgressResponse, 2)
|
|
|
|
|
|
|
|
|
|
|