Files
overland-controller/firmware/xiao-esp32c6-sensor-node/rs485_transport.h
T

8 lines
345 B
C

#pragma once
#include <HardwareSerial.h>
#include "sensor_state.h"
void initRs485(HardwareSerial& serial);
void publishSensorStatus(HardwareSerial& serial, const ImuState& imu, const GpsState& gps);
void pollRs485Commands(HardwareSerial& serial, const ImuState& imu);
void publishCalibrationResult(HardwareSerial& serial, const String& result);