File tree Expand file tree Collapse file tree 4 files changed +947
-4
lines changed Expand file tree Collapse file tree 4 files changed +947
-4
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ float battChangeRate = 0.0;
183183
184184// Hardware serial and BT buffers
185185// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
186- #include " BluetoothSerial.h"
186+ #include " src/BluetoothSerial/ BluetoothSerial.h"
187187BluetoothSerial SerialBT;
188188#include " esp_bt.h" // Core access is needed for BT stop. See customBTstop() for more info.
189189#include " esp_gap_bt_api.h" // Needed for setting of pin. See issue: https://github.com/sparkfun/SparkFun_RTK_Surveyor/issues/5
@@ -195,8 +195,8 @@ HardwareSerial serialGNSS(2);
195195#define TXD2 17
196196
197197#define SERIAL_SIZE_RX 4096 // Reduced from 16384 to make room for WiFi/NTRIP server capabilities
198- uint8_t rBuffer[SERIAL_SIZE_RX]; // Buffer for reading F9P
199- uint8_t wBuffer[SERIAL_SIZE_RX]; // Buffer for writing to F9P
198+ uint8_t rBuffer[SERIAL_SIZE_RX]; // Buffer for reading from F9P to SPP
199+ uint8_t wBuffer[SERIAL_SIZE_RX]; // Buffer for writing from incoming SPP to F9P
200200TaskHandle_t F9PSerialReadTaskHandle = NULL ; // Store handles so that we can kill them if user goes into WiFi NTRIP Server mode
201201TaskHandle_t F9PSerialWriteTaskHandle = NULL ; // Store handles so that we can kill them if user goes into WiFi NTRIP Server mode
202202
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ void F9PSerialWriteTask(void *e)
1414 {
1515 if (inTestMode == false )
1616 {
17- // Pass bytes tp GNSS receiver
17+ // Pass bytes to GNSS receiver
1818 auto s = SerialBT.readBytes (wBuffer, SERIAL_SIZE_RX);
1919 serialGNSS.write (wBuffer, s);
2020 }
You can’t perform that action at this time.
0 commit comments