luzpaz
003047baaf
Fix various typos ( #2607 )
...
* Fix various typos
Found via `codespell -q 3 -L acount,clen,dout`
* Trunk reformatting
---------
Co-authored-by: code8buster <communismisgreat@national.shitposting.agency>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-07-14 16:25:20 -05:00
GUVWAF
6d443d2c67
SX126x/8x: Also use PREAMBLE_DETECTED IRQ flag for actively receiving check ( #2349 )
...
* Use startReceive() instead of startReceiveDutyCycleAuto()
* Add preamble detected IRQ
* Escape from 'freeze' state when packet should have been received
* Use RADIOLIB_GODMODE for access to clearIrqStatus
* SX126x: Better handling of false preamble detections
* SX128x: Add preamble IRQ and false detection handling to active receiving check
* Remove unnecessary function declaration
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-03-11 12:59:29 -06:00
GUVWAF
408c555f0f
Add airtime of current received/transmitted packet to nextTx time of all pending retransmissions ( #2309 )
...
To avoid unnecessary retransmissions when sending them too early
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-02-25 19:51:38 -06:00
Ben Meadors
07b90a61e1
For science
2023-02-16 13:51:20 -06:00
Thomas Göttgens
6fdb93cd16
re-add namespacing in protobufs. Let's see what i missed. Portduino likely ...
...
Checking in generated on purpose.
2023-01-21 21:23:24 +01:00
Thomas Göttgens
51b2c431d9
trunk roundhouse kick
2023-01-21 21:23:24 +01:00
pavelb-techspark
30ae4c2a38
Add QueueStatus sending to the firmware ( #1820 )
...
* Yank mqtt service envelope queue
* trybuildfix mqtt system
* removed too much
* no excessive heap debugging on release builds
* send QueueStatus messages
The QueueStatus message is sent as a response to the attempt to queue
an outgoing MeshPacket and contains statuses of the last queue
attempt, TX Queue space and capacity and MeshPacket.id that was
queued.
When TX Queue changes status from completely full to at least
a single slot free a QueueStatus message is also sent to notify
that user can queue more messages.
Signed-off-by: Pavel Boldin <pavel.b@techspark.engineering>
* WIP: update protobufs
Signed-off-by: Pavel Boldin <pavel.b@techspark.engineering>
* update protobufs
* regen protos
Signed-off-by: Pavel Boldin <pavel.b@techspark.engineering>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
Co-authored-by: Sacha Weatherstone <sachaw100@hotmail.com>
2023-01-04 23:56:52 +11:00
Thomas Göttgens
fb89828990
Definition cleanup and AudioModule WIP
2022-12-01 17:47:04 +01:00
Thomas Göttgens
c7681cb24d
update board definition, update copy/paste errors, fix SX1280.
2022-11-27 14:03:50 +01:00
Thomas Göttgens
d1acf02ee8
Master Merge
2022-11-10 11:01:36 +01:00
GUVWAF
176072801b
Change preambleLength to 8 symbols to reduce airtime
2022-11-05 09:58:10 +01:00
GUVWAF
067bde321b
Remove old SimRadio from RadioInterface
2022-10-01 11:57:27 +02:00
GUVWAF
a1b07ed6aa
Introduce contention window (CW) ( #1500 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2022-06-13 08:21:18 -05:00
GUVWAF
a7f4263db4
Optimize retransmission timer
...
Based on airtime of packet + transmit, processing and CAD delays
2022-05-07 15:43:35 +02:00
Jm Casler
3816a2fbe0
Add weighted tx delay for flooding router
2022-03-14 17:47:01 -07:00
Mike Kinney
caaa235c5d
more cppcheck warnings fixes
2022-01-24 17:24:40 +00:00
Vladislav Osmanov
cb42440963
fix module frequency overriding
...
The `RadioInterface::freq` member was encapsulated with the `RadioInterface::getFreq()` function,
which could be overridden in child classes for some LoRa-modules.
2021-09-13 22:13:51 +03:00
Kevin Hester
6e27856daa
pinelora WIP
2021-04-22 08:49:05 +08:00
Kevin Hester
a845406a19
cleanup packet encrypt/descrypt
2021-04-05 09:24:00 +08:00
Kevin Hester
b68397a911
fix simradio init to work more like real radios
2021-03-30 23:39:51 +08:00
Kevin Hester
5fdcb72d46
cleanup applyModemConfig based on porduino testing, share with sim
2021-03-30 23:34:13 +08:00
Kevin Hester
94cd96cfde
begin multichannel hash impl
2021-02-22 12:57:26 +08:00
Kevin Hester
c1733a4ac6
Merge remote-tracking branch 'root/master' into dev
2021-02-14 12:07:11 +08:00
Jm Casler
eecf89a9c0
Merge pull request #68 from meshtastic/master
...
from main to my fork
2021-02-12 18:49:39 -08:00
Kevin Hester
8c225a3c65
disable lora while updating, show "Updating" on oled screen
2021-02-12 13:48:12 +08:00
Kevin Hester
917090856f
partial for #681 : Never let stale nodeinfos/positions stay in xmit queue
2021-02-11 18:19:43 +08:00
Jm
b29bcbbd41
#682 Exposing the actual radio center frequency to /static/report
2021-02-09 21:59:00 -08:00
Kevin Hester
6e31ba30c7
move generated protobuf c code to own directory
2020-12-30 12:34:22 +08:00
Jm Casler
ded2b86e55
Calculate TX air time duty cycles #588 -- UNTESTED
2020-12-25 16:10:38 -08:00
Kevin Hester
ccc1600bc9
remove stale fixme
2020-11-14 10:19:55 +08:00
Kevin Hester
1839f8f7ca
fix #513 scale retransmission times based on true packet time on wire
2020-11-14 10:07:25 +08:00
Kevin Hester
68937d52fe
bug #503 wip
2020-11-12 17:49:04 +08:00
Kevin Hester
d7368d5a51
begin deep sleep support for nrf52
2020-10-30 17:05:32 +08:00
Kevin Hester
999b292717
fixes for the posix port
2020-10-11 09:18:47 +08:00
Kevin Hester
2044427e97
coroutines: wip compiles but does not link
2020-10-09 14:16:51 +08:00
geeksville
c6d93d1a28
fix #346 limit tx power in japan
2020-09-15 18:54:50 -07:00
geeksville
d7cf7e2eb4
Allow advanced users to set arbitrary spreadfactor/codingrate/bandwidth
2020-08-12 10:42:25 -07:00
geeksville
311d1a56b4
make a bare nrf52840dk build which will work for everyone
2020-07-09 20:05:39 -07:00
grcasanova
92b30ebec6
fixes now compiles
2020-07-06 10:45:55 +02:00
geeksville
aadba1f694
add printPacket for debug printing packets
2020-06-14 15:30:42 -07:00
geeksville
a05e45f84b
make txQueue private
2020-06-09 15:47:05 -07:00
geeksville
5b1488ddf0
Allow packet and nodenums to be 32 bits long (but don't change yet)
2020-06-03 13:46:31 -07:00
geeksville
cca4867987
want_ack flag added
2020-05-19 10:27:28 -07:00
geeksville
26d3ef529e
Use the hop_limit field of MeshPacket to limit max delivery depth in
...
the mesh.
2020-05-18 17:35:23 -07:00
geeksville
e6875d559c
Remove MeshRadio wrapper class - we don't need it anymore.
2020-05-09 16:32:26 -07:00
geeksville
50213d8323
move packet handling into its own thread
2020-05-01 12:11:04 -07:00
geeksville
71fcdba017
cleanup directory structure
2020-05-01 09:04:00 -07:00