working end to end transmit, receive and code example using companion mode

This commit is contained in:
Scott Penrose
2026-06-08 15:27:37 +10:00
parent c12d0ac70a
commit 1c3d7b094d
3 changed files with 45 additions and 18 deletions
+2
View File
@@ -75,6 +75,8 @@ static void provision() {
void setup() {
Serial.begin(115200);
delay(1000);
Serial.printf("[boot] test auto provision started\n");
Serial1.begin(UART_BAUD, SERIAL_8N1, UART_RX_PIN, UART_TX_PIN);
mc.onDeviceInfo([](const mc_device_info_t& d) {