Commit Graph
2917 Commits
Author SHA1 Message Date
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
thebenternandGitHub 721f87af7e [create-pull-request] automated change 2023-01-11 20:35:13 +00:00
Ben MeadorsandGitHub 17a2589b35 Allow time from phone to be sent to the mesh 2023-01-11 07:50:07 -06: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
Thomas GöttgensandGitHub 6b0f18e1e4 Merge pull request #2113 from meshtastic/mqtt-fix
Find the downlink channel to post packet to.
2023-01-10 20:49:18 +01:00
Ben Meadors 713f7d5996 Turn of 3.3v rail on RAK-4631 on shutdown 2023-01-10 07:36:19 -06:00
Thomas GöttgensandGitHub 8f2155f8f9 Merge branch 'develop' into mqtt-fix 2023-01-09 23:28:08 +01:00
Thomas Göttgens 1fc5d70221 let the library handle the reconnect, manually do it after 5 seconds 2023-01-09 23:26:47 +01:00
Ben Meadors e7d425ef6e Until we figure out what's going on 2023-01-09 16:19:42 -06:00
Thomas GöttgensandGitHub 9c1cfe9358 Merge pull request #2114 from meshtastic/refactor-apiserver
make a template class for API Server
2023-01-09 20:11:01 +01:00
Thomas GöttgensandGitHub 0181e186ac Merge pull request #2106 from meshtastic/assert-cleanup
initial cleanup work
2023-01-09 19:45:23 +01:00
Thomas Göttgens 86748bf88e fix building portduino and make cppcheck happy 2023-01-09 19:23:41 +01:00
Thomas Göttgens 5fd00b2538 - make a template class for API Server
- Skip a lot of duplicate code
- add a hexDump output - might come in handy
- refactor directory names
- remove unused debugOut that was generating template errors
2023-01-09 17:03:52 +01:00
Thomas Göttgens 5cec370cf5 getByName was not used anywhere in the code so that change is safe.
Please TEST this as i don't have a working Json setup in mqtt at the moment.
2023-01-09 11:28:21 +01:00
Thomas Göttgens 81ee6dd799 first crash from stress test 2023-01-07 23:40:47 +01:00
Thomas Göttgens 3a8ffe7ac2 ah feck 2023-01-07 15:43:17 +01:00
Thomas Göttgens d8b85f9a09 fingers crossed 2023-01-07 15:24:46 +01:00
Thomas Göttgens 8465467aa8 2nd batch 2023-01-07 14:57:00 +01:00
Thomas Göttgens 2a0b8093ea freakin' nitpickin' cpp_check 2023-01-07 13:59:40 +01:00
Thomas Göttgens 96fa5dafb8 fixing portduino 2023-01-07 13:36:02 +01:00
Thomas Göttgens be2d3f7769 fix leak 2023-01-07 13:28:36 +01:00
Thomas Göttgens b283e526bf fix for nRF52 and Portduino 2023-01-07 13:25:29 +01:00
Thomas Göttgens 03c5dfc7a8 initial cleanup work 2023-01-07 13:16:58 +01:00
Mark Trevor BirssandGitHub 52cfd62031 Update SX128xInterface.cpp 2023-01-07 14:05:16 +02:00
Tim WilkinsonandGitHub 0b9c8e62ea Make sure we dont use a multicast MAC for ethernet 2023-01-05 22:31:57 -08:00
Thomas Göttgens 9740f0a505 External Notification Hotfix 2023-01-04 14:45:28 +01:00
Thomas Göttgens d9f0dc7ea4 add MQTT outqueue back in (still broken) 2023-01-04 14:41:58 +01:00
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 d077be1496 add a possibility to flush the serial TX buffer on the console. 2023-01-04 10:37:27 +01:00
Thomas Göttgens 4f26a2a74a Update Unishox to latest V2 code, change is only cosmetic 2023-01-04 10:35:52 +01:00
Thomas GöttgensandGitHub 64895cc7eb remove Merge duplication 2023-01-03 19:21:11 +01:00
Thomas GöttgensandGitHub 52903f83e3 remove Merge duplication 2023-01-03 19:19:11 +01:00
Ben Meadors e0002ef2d5 Merge remote-tracking branch 'origin/master' into develop-2-master 2023-01-03 11:34:53 -06:00
Ben Meadors 021fc8235c Renamed eth_mode to address_mode 2023-01-03 06:24:47 -06:00
thebenternandGitHub bca70d10d0 [create-pull-request] automated change 2023-01-03 12:20:39 +00:00
Thomas Göttgens 2d62cbe345 I am dumb. 2023-01-01 21:08:07 +01:00
Thomas Göttgens 092a753a6f yea, well 2022-12-30 20:27:35 +01:00
Thomas GöttgensandGitHub 8a9af37d82 Merge branch 'develop' into nice-threads 2022-12-30 20:18:19 +01:00
joshpirihiandGitHub 11f1508d85 Merge branch 'meshtastic:develop' into develop 2022-12-31 06:40:25 +13:00
Joshua Pirihi 19436b7d54 Increase MQTT buffer size 2022-12-31 06:40:02 +13:00
Ben Meadors 3d3aba584e Include 2022-12-30 10:56:57 -06:00
Ben Meadors ef1fb877ba Prefix log levels 2022-12-30 10:47:31 -06:00
Ben Meadors f1cdfd163d Replaced all of the logging with proper log levels 2022-12-30 10:27:07 -06:00
Thomas Göttgens 8364c2b147 more verbose thread debug 2022-12-30 17:03:48 +01:00
Ben Meadors 8193215294 Trace 2022-12-30 08:14:37 -06:00
Thomas Göttgens e73ae7cdac woops - was too fast there 2022-12-30 14:53:34 +01:00
Thomas Göttgens 65aad62702 tryfix - no mqtt if no mqtt wanted... 2022-12-30 14:51:00 +01:00
Ben Meadors 3eefd46ca1 Log levels log function 2022-12-30 07:48:59 -06:00