GUVWAF and Thomas 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
GUVWAF and Thomas Göttgens
16852da8d4
Set node_info_broadcast_secs to 3 hours instead of default_broadcast_interval
2023-02-11 15:58:26 +01:00
GUVWAF and Thomas Göttgens
2d2633d4cf
Increase default NodeInfo broadcast to 3 hours
2023-02-11 15:58:26 +01:00
GUVWAF and Thomas 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
GUVWAF and Thomas 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
GUVWAF and Thomas 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
GUVWAF
6d01f9aa89
Add isChannelActive() function to radio interface
2022-04-20 20:04:44 +02:00
GUVWAF
616c7d7b0e
Expose front() function in MeshPacketQueue
2022-04-20 19:58:52 +02:00