100 Commits
Author SHA1 Message Date
GUVWAF 5c2997ef53 Print only one byte 2025-10-05 17:03:52 +02:00
GUVWAF c147ce9a85 Update next-hops based on traceroute result 2025-10-05 16:58:42 +02:00
GUVWAF f7cf5e6b0a Change to "rebroadcast" 2025-10-05 15:56:45 +02:00
GUVWAF 7c373b76c4 Reprocess repeated packets also 2025-10-05 14:04:35 +02:00
GUVWAF de6a02756d De-duplicate handling upgraded packet and rebroadcasting logic 2025-10-05 14:03:55 +02:00
GUVWAF 12c3ddf457 Resolve comments 2025-09-25 19:59:38 +02:00
GUVWAF 1fc07607cb Make sure next-hop is only set when they received us directly 2025-09-20 13:03:46 +02:00
GUVWAF 48fa9f2242 Only check threshold if GPS softsleep is supported 2024-09-28 09:34:37 +02:00
GUVWAF cd480846e9 Remove accelerometer lib 2024-09-12 19:52:36 +02:00
GUVWAF 9f3a1c1214 Trunk fmt 2024-09-12 19:12:57 +02:00
GUVWAF 2f9dcee954 Fix size calculation of route/SNR array 2024-09-09 19:13:00 +02:00
GUVWAF 1f9ff68f1d RP2040: Add getFreeHeap() and getHeapSize() support 2024-05-14 19:04:31 +02:00
GUVWAF 6fb7d7f2d7 Check if packet is not released before CC to phone 2024-05-05 13:49:50 +02:00
GUVWAF 71ca6f768f Actually update last_report_to_map 2024-03-23 19:35:12 +01:00
GUVWAF cb7407e06b Don't need to check all channels if not using default frequency slot 2024-03-10 16:04:59 +01:00
GUVWAF b45a912409 Use dedicated map topic 2024-03-10 15:56:00 +01:00
GUVWAF 084b01715e Merge remote-tracking branch 'origin/master' into mapReport 2024-03-10 14:54:41 +01:00
GUVWAF af9d14c370 Periodic reporting of device information to a map via MQTT 2024-03-10 14:52:37 +01:00
GUVWAFandJonathan Bennett 92110276d7 Use ::printf for Portduino only 2024-01-13 14:54:43 -06:00
GUVWAFandJonathan Bennett c22340eaf7 Add necessary libs to Dockerfile for native build 2024-01-13 14:54:43 -06:00
GUVWAFandThomas Göttgens 5d94bb601a Distinguish between ACK/NAK by checking for error reason 2023-12-11 12:30:33 +01:00
GUVWAFandThomas Göttgens 5e70fb9851 Distinguish between ACK/NAK by checking for error reason 2023-12-01 18:28:38 +01:00
GUVWAF 9af4ecf48f Remove unnecessary line when disabled 2023-09-05 21:42:39 +02:00
GUVWAF cfb6a1394c Only update neighbors when module is enabled 2023-09-05 19:56:42 +02:00
GUVWAF e05c8e60d9 Save Neighbors to flash 2023-08-02 20:56:24 +02:00
GUVWAFandThomas Göttgens 5a5af4707c SerialModule SIMPLE mode: use write() instead of printf() 2023-07-31 22:18:42 +02:00
GUVWAF 297708a50b Manually update protos 2023-07-30 17:27:43 +02:00
GUVWAF c66b68b0cc Remove neighbors after twice their broadcast interval 2023-07-30 16:54:39 +02:00
GUVWAF e60a5f1cf2 Setter for NeighborInfo 2023-06-25 15:41:19 +02:00
GUVWAF 6bdf67c9be Conversion to NodeInfoLite 2023-06-25 15:41:06 +02:00
GUVWAF 66c71250b8 Update last_sent_by_id in FloodingRouter 2023-06-08 20:59:09 +02:00
GUVWAF cdf44ce7fa Move module init out of repeater clause 2023-06-06 21:07:12 +02:00
GUVWAF d70bd23260 Use float print specifier for SNR 2023-06-06 21:06:19 +02:00
GUVWAFandThomas Göttgens f3af3c1c33 RP2040: Reverse dmac assignment
src.id[0] and src.id[1] that are used for Bluetooth name seem not unique
2023-05-25 15:56:57 +02:00
GUVWAFandThomas Göttgens 8f736c8ecc Remove sending network ping to displayed node on interval 2023-03-26 16:16:01 +02:00
GUVWAF 8aede61adb Fix setting preambleLength for SX127x
Don't set currentLimit, it is set automatically in begin()
2023-02-16 20:58:10 +01:00
GUVWAF b7895f7038 Sanity check for sending NodeInfo
Don't send it if we've done so less than 1 min. ago
2023-02-15 19:31:09 +01:00
GUVWAF 5ca3d9169a Only set node_info_broadcast_secs when not a Router 2023-02-11 17:17:11 +01:00
GUVWAF c834252f1c Check if nodeInfoModule exists (e.g. for Repeater) 2023-02-11 17:16:48 +01:00
GUVWAFandThomas Göttgens 16852da8d4 Set node_info_broadcast_secs to 3 hours instead of default_broadcast_interval 2023-02-11 15:58:26 +01:00
GUVWAFandThomas Göttgens 2d2633d4cf Increase default NodeInfo broadcast to 3 hours 2023-02-11 15:58:26 +01:00
GUVWAFandThomas Göttgens 5f28ef6814 When hearing a node we don't know, send NodeInfo and ask for response 2023-02-11 15:58:26 +01:00
GUVWAFandThomas Göttgens 5cadcd355f Send DeviceTelemetry only after NodeInfo is sent 2023-02-11 15:58:26 +01:00
GUVWAF 4061870841 Don't need a Portduino guard clause here as it will not be compiled 2023-02-11 12:04:53 +01:00
GUVWAF abf3a5840b trunk fmt 2023-02-11 11:46:54 +01:00
GUVWAF 7063acdda6 Ignore syslog on portduino
Breaks when running since mesh/http is not compiled
2023-02-11 11:32:10 +01:00
GUVWAF 97c1cf628a SimRadio in separate thread
To use notifyLater when transmitting, fixes packetPool issues
2023-02-11 10:34:08 +01:00
GUVWAF 03f584a5ab Add HAS_TELEMETRY to portduino 2023-02-11 10:09:48 +01:00
GUVWAF 680550b76c Add HAS_SENSOR flag
To separate DeviceTelemetry and EnvironmentTelemetry
2023-02-11 10:08:25 +01:00
GUVWAF a280d7f796 Guard simulator handling with HAS_RADIO flag 2023-02-11 10:00:19 +01:00
GUVWAF 42b496b0db PIC 2023-02-07 20:12:12 +01:00
GUVWAF a5b99ee5d5 Try other location 2023-02-07 20:05:40 +01:00
GUVWAF 4a0c341438 Make Portduino build again 2023-02-07 19:40:15 +01:00
GUVWAF 14831e597c Add TraceRouteModule to Repeater 2023-01-29 16:37:02 +01:00
GUVWAF c499302092 Remove decode guard clause for repeater 2023-01-29 16:32:18 +01:00
GUVWAF bcf24b8187 Make Trunk happy 2023-01-21 13:01:19 +01:00
GUVWAFandThomas Göttgens 836559cda1 Fix two print format specifiers 2023-01-19 15:01:44 +01:00
GUVWAF c0166773e8 Portduino can handle this 2023-01-11 21:53:23 +01:00
GUVWAF fc775012ea Don't send NodeInfo and DeviceTelemetry at high Tx air util
Also move airtime checking to airtime class
2023-01-11 21:52:19 +01:00
GUVWAF ab9d0ba543 Report actual RoutingError 2023-01-10 21:12:40 +01:00
GUVWAF e13fb9919e Send NAK only to the API upon duty cycle limit 2023-01-10 21:12:17 +01:00
GUVWAF a3b93a4dcf Better not to compare float directly 2023-01-10 21:10:09 +01:00
GUVWAF 5ccd66864b Report actual Routing_Error upon abort 2022-12-30 13:45:02 +01:00
GUVWAF 5c859da4e4 Remove unnecessary changes 2022-12-28 14:40:10 +01:00
GUVWAF 6c5602e88d Cleanup 2022-12-28 14:13:48 +01:00
GUVWAF b4735f4224 Don't resend ACK every time you receive the packet 2022-12-28 14:13:48 +01:00
GUVWAF 3b9b33a5ee Use hopLimit setting for ACKs as well 2022-12-28 14:13:14 +01:00
GUVWAF 03bfdec1e1 TraceRouteModule 2022-12-05 20:38:06 +01:00
GUVWAF 7ca104cef6 Override duty cycle if user is_licensed 2022-11-27 16:53:02 +01:00
GUVWAF 330ac3be68 Update generated protobufs 2022-11-26 21:07:36 +01:00
GUVWAF 3b1e34efa1 Refrain from transmitting if duty cycle exceeded 2022-11-26 21:05:37 +01:00
GUVWAF c45a85547e Send 'ACK' response for admin message 2022-11-25 20:33:24 +01:00
GUVWAF 8815746006 Fix wrong comment 2022-11-25 20:33:23 +01:00
GUVWAF 70bf7c490c Revert "Override RoutingModule's ACK if on wrong channel"
This reverts commit 71c163a8ee.
2022-11-23 19:27:57 +01:00
GUVWAF 71c163a8ee Override RoutingModule's ACK if on wrong channel 2022-11-21 20:43:17 +01:00
GUVWAF 5d8e661807 Send NAK on primary channel if it cannot decode it 2022-11-21 20:43:17 +01:00
GUVWAF 1213ec2d57 Set preamble length back to 32 2022-11-09 21:21:50 +01:00
GUVWAF 176072801b Change preambleLength to 8 symbols to reduce airtime 2022-11-05 09:58:10 +01:00
GUVWAF 04db2d4410 Merge branch 'EnhancedSimRadio' of https://github.com/GUVWAF/Meshtastic-device into EnhancedSimRadio 2022-10-01 17:07:59 +02:00
GUVWAF 076c1ed2ee Merge branch 'EnhancedSimRadio' of https://github.com/GUVWAF/Meshtastic-device into EnhancedSimRadio 2022-10-01 17:05:49 +02:00
GUVWAF e54be07dc0 Update include path in MeshService 2022-10-01 17:04:19 +02:00
GUVWAF d439d00e25 Move SimRadio to platform/portduino 2022-10-01 17:03:40 +02:00
GUVWAF c4bea793af Mark WifiServerPort constructor as explicit 2022-10-01 17:02:16 +02:00
GUVWAF b53dcb932e Adapt conditional include 2022-10-01 17:01:25 +02:00
GUVWAF aee06f4738 Suppress debug messages in PhoneAPI as they flood the logs when a TCP connection is open 2022-10-01 12:09:43 +02:00
GUVWAF ab282765d4 Let SimRadio start receive a packet if its PortNum is Simulator_App 2022-10-01 12:06:59 +02:00
GUVWAF 5d464badc8 Give TCP port as argument to API server 2022-10-01 12:05:20 +02:00
GUVWAF 68282682de Use new SimRadio in main for Portduino 2022-10-01 12:03:35 +02:00
GUVWAF 2696b04138 Allow Portduino to set the TCP port 2022-10-01 12:02:29 +02:00
GUVWAF 31dc37150b Fix typo 2022-10-01 12:00:31 +02:00
GUVWAF e66d9d0add Add content to SimRadio, similar to RadioInterface 2022-10-01 11:59:20 +02:00
GUVWAF 067bde321b Remove old SimRadio from RadioInterface 2022-10-01 11:57:27 +02:00
GUVWAF 84ec364ac2 Add enhanced SimRadio files 2022-10-01 11:56:16 +02:00
GUVWAF 2ad9e238e2 RoutingModule can handle encrypted packets 2022-08-03 19:08:23 +02:00
GUVWAF a7f4263db4 Optimize retransmission timer
Based on airtime of packet + transmit, processing and CAD delays
2022-05-07 15:43:35 +02:00
GUVWAF 348e78718d Call cancelSending in stopRetransmission
This also removes pending packet from txQueue if it was already in there
2022-05-07 15:39:14 +02:00
GUVWAF 1d2551350d Merge branch 'master' of https://github.com/GUVWAF/Meshtastic-device 2022-04-23 19:01:53 +02:00
GUVWAF a13157ebde Rename setRandomDelay() function 2022-04-23 18:57:45 +02:00
GUVWAF 692278343b Merge branch 'master' of https://github.com/GUVWAF/Meshtastic-device 2022-04-20 20:16:39 +02:00
GUVWAF c60d4c1ecc Implement listen-before-talk mechanism
- Function setRandomDelay() calls either startTransmitTimer() or startTransmitTimerSNR()
- After coming back from Rx/Tx-ing, call setRandomDelay()
- If channel is currently busy, call setRandomDelay()
2022-04-20 20:09:12 +02:00