mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-22 21:14:50 +00:00
The Bluetooth service has been enhanced to support the output of waypoints in GPWPL format.
This commit is contained in:
parent
d0849f72ae
commit
279fefebe3
@ -354,7 +354,7 @@ void NimbleBluetooth::Send_GPWPL(uint32_t node, char* name, int32_t latitude_i,
|
||||
int nSendLen = min(20, nHaveLen);
|
||||
gpwplCharacteristic->setValue(((uint8_t*)strGPWPL) + nOffset, nSendLen);
|
||||
gpwplCharacteristic->notify();
|
||||
delay(50); // 为了稳定传输,添加一点延时
|
||||
delay(50); // To ensure stable transmission, add a little delay.
|
||||
|
||||
nOffset += nSendLen;
|
||||
nHaveLen -= nSendLen;
|
||||
|
Loading…
Reference in New Issue
Block a user