firmware: harden XIAO RS485 telemetry
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#include <Arduino.h>
|
||||
|
||||
#define SENSOR_NODE_NAME "xiao_c6_sensor_node"
|
||||
#define SENSOR_NODE_FIRMWARE_VERSION "0.1.0"
|
||||
#define SENSOR_NODE_FIRMWARE_VERSION "0.2.0"
|
||||
#define SENSOR_NODE_SCHEMA_VERSION 1
|
||||
#define RS485_DE_PIN D2
|
||||
#define RS485_TX_PIN D4
|
||||
@@ -18,9 +18,12 @@
|
||||
#define BNO086_RUNTIME_RETRY_MS 5000
|
||||
#define GPS_BAUD 38400
|
||||
#define RS485_BAUD 115200
|
||||
#define RS485_RX_BUFFER_BYTES 512
|
||||
#define RS485_MAX_FRAME_BYTES 1900
|
||||
#define RS485_DRIVER_ENABLE_SETTLE_US 20
|
||||
#define IMU_REPORT_INTERVAL_US 20000
|
||||
#define IMU_STABILITY_INTERVAL_US 100000
|
||||
#define TELEMETRY_INTERVAL_MS 200
|
||||
#define TELEMETRY_INTERVAL_MS 250
|
||||
#define SENSOR_STALE_MS 2000
|
||||
#define USB_TELEMETRY_ENABLED 1
|
||||
#define LEVEL_CALIBRATION_DURATION_MS 5000
|
||||
|
||||
Reference in New Issue
Block a user