mirror of
https://github.com/meshtastic/firmware.git
synced 2025-05-01 03:39:18 +00:00
Merge branch 'meshtastic:master' into ublox-filter-dop-fix
This commit is contained in:
commit
7ecb36dbe7
@ -237,7 +237,7 @@ bool RangeTestPluginRadio::appendFile(const MeshPacket &mp)
|
|||||||
|
|
||||||
// Print the CSV header
|
// Print the CSV header
|
||||||
if (fileToWrite.println(
|
if (fileToWrite.println(
|
||||||
"time,from,sender name,sender lat,sender long,rx lat,rx long,rx snr,rx elevation,distance,payload")) {
|
"time,from,sender name,sender lat,sender long,rx lat,rx long,rx elevation,rx snr,distance,payload")) {
|
||||||
DEBUG_MSG("File was written\n");
|
DEBUG_MSG("File was written\n");
|
||||||
} else {
|
} else {
|
||||||
DEBUG_MSG("File write failed\n");
|
DEBUG_MSG("File write failed\n");
|
||||||
|
@ -197,10 +197,10 @@ ProcessMessage StoreForwardPlugin::handleReceived(const MeshPacket &mp)
|
|||||||
if (radioConfig.preferences.store_forward_plugin_enabled) {
|
if (radioConfig.preferences.store_forward_plugin_enabled) {
|
||||||
|
|
||||||
if (getFrom(&mp) != nodeDB.getNodeNum()) {
|
if (getFrom(&mp) != nodeDB.getNodeNum()) {
|
||||||
printPacket("----- PACKET FROM RADIO -----", &mp);
|
printPacket("PACKET FROM RADIO", &mp);
|
||||||
// uint32_t sawTime = storeForwardPlugin->sawNode(getFrom(&mp) & 0xffffffff);
|
// uint32_t sawTime = storeForwardPlugin->sawNode(getFrom(&mp) & 0xffffffff);
|
||||||
// DEBUG_MSG("We last saw this node (%u), %u sec ago\n", mp.from & 0xffffffff, (millis() - sawTime) / 1000);
|
// DEBUG_MSG("We last saw this node (%u), %u sec ago\n", mp.from & 0xffffffff, (millis() - sawTime) / 1000);
|
||||||
DEBUG_MSG(" -------------- ");
|
// DEBUG_MSG(" -------------- ");
|
||||||
if (mp.decoded.portnum == PortNum_TEXT_MESSAGE_APP) {
|
if (mp.decoded.portnum == PortNum_TEXT_MESSAGE_APP) {
|
||||||
DEBUG_MSG("Packet came from - PortNum_TEXT_MESSAGE_APP\n");
|
DEBUG_MSG("Packet came from - PortNum_TEXT_MESSAGE_APP\n");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user