Commit Graph
1583 Commits
Author SHA1 Message Date
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öttgens c63536d948 switch to 16 bit packet number 2023-01-09 20:23:32 +01: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 971565aed3 Merge branch 'develop' into xmodem-proto 2023-01-09 20:08:37 +01:00
Thomas Göttgens 3a6e3464e6 notify phoneAPI about new packages to process 2023-01-09 20:06:11 +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 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 0e7797f3bb Adding to generated for now, protobuf PR will come when it works ... :-) 2023-01-08 18:15:51 +01:00
Thomas Göttgens 81ee6dd799 first crash from stress test 2023-01-07 23:40:47 +01:00
Thomas Göttgens 8465467aa8 2nd batch 2023-01-07 14:57:00 +01:00
Thomas Göttgens be2d3f7769 fix leak 2023-01-07 13:28:36 +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
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 4f26a2a74a Update Unishox to latest V2 code, change is only cosmetic 2023-01-04 10:35:52 +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öttgensandGitHub 8a9af37d82 Merge branch 'develop' into nice-threads 2022-12-30 20:18:19 +01:00
Ben Meadors f1cdfd163d Replaced all of the logging with proper log levels 2022-12-30 10:27:07 -06: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
GUVWAF 5ccd66864b Report actual Routing_Error upon abort 2022-12-30 13:45:02 +01:00
Ben Meadors 0b5cae5393 Log levels refactoring 2022-12-29 20:41:37 -06:00
Ben Meadors 38a1315599 Refactor OSThread consumers to use disable() 2022-12-29 16:26:25 -06:00
Ben MeadorsandGitHub 8ebe0edc5a Merge pull request #2075 from meshtastic/load-save-proto
add storage for ringtone
2022-12-29 15:50:16 -06:00
Thomas Göttgens 45e6e86ff9 - add RemoteHardware (and the missing S&F config) in
- make the config boundaries automatic
2022-12-29 21:35:32 +01:00
Thomas Göttgens 3c5710e65b - add storage for ringtone
- Refactor file load and save
- fix a size error in Canned Messages
2022-12-29 16:53:36 +01:00
Thomas Göttgens 41a1dfec79 a lot of thread housekeeping. Switch them off when not needed / disabled. 2022-12-29 15:45:49 +01:00
Thomas Göttgens 887405cc08 update protobufs on develop 2022-12-29 14:18:33 +01:00
Thomas Göttgens 3b19040590 protobuf update 2022-12-28 15:37:17 +01:00
Thomas Göttgens 14be4ee9f0 Release Develop to Master 2022-12-28 15:31:04 +01:00
Thomas Göttgens 94cb100e3f Master to Develop 2022-12-28 15:30:23 +01:00
Ben MeadorsandGitHub f632933b93 Merge pull request #2069 from GUVWAF/wantAckDM
Flood ACKs on DM back to original sender
2022-12-28 08:00:52 -06:00
Thomas Göttgens e25d05689b Updates to external notification and radiolib for SX128x. Rip out Godmode again for these 2022-12-28 14:57:40 +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
Thomas Göttgens 430908f5d6 TLORA_T3_S3 2022-12-28 13:56:56 +01:00
caveman99andGitHub b808ffa9ab [create-pull-request] automated change 2022-12-27 12:53:56 +00:00
Thomas Göttgens 2ac2b6d1b6 replace PB03 compat macros with the real deal. 2022-12-23 10:00:34 +01:00
Thomas Göttgens b8657158be Remove unused parameter on save 2022-12-23 09:45:56 +01:00
Thomas Göttgens a289406863 refactor classes to accomodate SerialModule 2022-12-22 18:24:42 +01:00
Thomas Göttgens 30240ac14b fix cppcheck complaints 2022-12-21 15:13:16 +01:00
Thomas Göttgens fb41b0f5c8 update generated protos 2022-12-21 14:45:33 +01:00