mverch67
97a602ebc2
device-ui persistency
2024-10-11 15:19:24 +02:00
Manuel
fb02f87e6e
Merge branch 'master' into tft-gui-work
2024-09-28 09:02:38 +02:00
Ben Meadors
8efc15f4d9
Ignore seen phoneapi packets ( #4888 )
...
* Ignore PhoneAPI packet if it's been seen
* ignoramus
* Also keep track of the last 20 packet IDs
* Fill
* Make this match the nimble one
* Add the log too
* Ignore zero ID packets
* Remove message entirely
* TRunkt
2024-09-27 20:09:53 -05:00
mverch67
67f363b659
fix merge
2024-09-23 23:14:20 +02:00
Manuel
130b040003
Merge branch 'master' into tft-gui-work
2024-09-23 22:58:15 +02:00
Ben Meadors
9cbabb0468
Teardown bluetooth phoneAPI better and fix client notification issue ( #4834 )
...
* Teardown bluetooth phoneAPI better and fix client notification issue
* Fix client notification draining
2024-09-23 15:51:05 -05:00
Manuel
002ae3178e
Merge branch 'master' into tft-gui-work
2024-09-18 21:49:44 +02:00
Ben Meadors
777bcf691a
Initial PhoneAPI rate-limiting of messages on certain ports ( #4756 )
2024-09-18 10:13:07 -05:00
Manuel
5c4a773327
Merge branch 'master' into tft-gui-work
2024-08-21 02:09:32 +02:00
Ben Meadors
861f0b6769
Add ClientNotification hello world
2024-08-10 08:33:42 -05:00
Manuel
1ccea6aa45
Merge branch 'master' into tft-gui-work
2024-06-30 16:17:34 +02:00
Ben Meadors
469ae0ff84
Fix flakey phone api transition from file manifest to complete ( #4209 )
...
* Try fix flakey phone api transition from file manifest to complete
* Skip
2024-06-30 08:22:24 -05:00
Manuel
bf7f9bacdf
Merge branch 'master' into tft-gui-work
2024-06-28 14:40:45 +02:00
geeksville
ce58a23f9b
Force a compile time failur if FromRadio or ToRadio get larger than ( #4190 )
...
a BLE packet size. We are actually very close to this threshold so
important to make sure we don't accidentally pass it.
2024-06-28 06:51:04 -05:00
Manuel
02a4f4552a
Merge branch 'master' into tft-gui-work
2024-06-27 14:25:27 +02:00
Ben Meadors
a966d84e3d
Send file system manifest up on want_config ( #4176 )
...
* Send file system manifest up on want_config
* Platform specific methods
* Helps to actually make the change
* Clear
2024-06-27 07:07:27 -05:00
Manuel
a29497e2a3
Merge branch 'master' into tft-gui-work
2024-06-24 10:04:40 +02:00
Ben Meadors
d32cdecc06
Pause BLE logging during want_config flow ( #4162 )
2024-06-22 07:00:48 -05:00
Manuel
85c1771e1b
Merge branch 'master' into tft-gui-work
2024-05-29 15:38:22 +02:00
Ben Meadors
af9d825266
Send own node-info earlier and move others to the end of want-config flow ( #3949 )
...
* Send own node-info earlier and move others to the end of want-config flow
* Special nonce skips other nodeinfos
* Missed it
2024-05-28 19:25:19 -05:00
mverch67
942b7d21a2
PacketQueue thread communication
2024-03-04 09:43:46 +01:00
GUVWAF
417feee47f
Fix: return failure when PhoneAPI times out ( #3136 )
...
* Add debug options for RP2040
* Rename: "observed" should be plural: "observables"
* PhoneAPI: return failure on timeout
In `onNotify()`, when disconnected, PhoneAPI removed itself from the list of observers that was looped through in `notifyObservers()`. We should exit that loop in that case.
2024-01-28 07:53:39 -06:00
Ben Meadors
6e96216ba3
MQTT client proxying ( #2587 )
...
* WIP on MQTT proxy message queue
* Fix copy paste goof
* Progress on uplink
* Has packets
* Avoid trying to connect if we're proxying
* Pointer correctly
* Remove wifi guards
* Client proxy subscribe
* Fixed method that got bababababorked somehow... personally I blame CoPilot
* Short circuit logic
* Remove canned settings
* Missed some stuff in the move
* Guard pubsub client for non-networked variants
* Has networking guard
* else
* Return statement for fall-thru
* More gaurd removals
* Removed source filters. No wonder I was confused
* Bounding
* Scope guard around else and fix return
* Portduino
* Defs instead
* Move macro up to actually fix portduino
* Size_t
* Unsigned int
* Thread interval
* Protos
* Protobufs ref
2023-07-08 20:37:04 -05:00
Ben Meadors
a2c5b92840
NodeDB Lite migration ( #2554 )
...
* Skadoosh
* Removing deprecated fields
* Remove remaining deprecations
* Macro
* Macro
* WIP conversion
* Lots of type conversions between Lite versions and new NodeDB methods
* Trunk
* Conversion
* NULL
* Init
* Rename
* Position
* Reworked conversion to NodeInfo for PhoneAPI
2023-06-17 09:10:09 -05:00
Ben Meadors
113026c372
Allow overriding the default Serial console output settings ( #2528 )
...
* Implement override_console_serial_port
* It's opposite day in Logictown
* Try to use native serial types for platforms
* Fix for s3
* Trunk
* Screw it... just declare as Print and handle init
* Alright, chatty kathy
* Missed a spot
* I'll take "Kill that FIXME" for 800, Alex
* Badunkadunk
* Refactor out a lot of duplicated code
* Boogers
* Okay I probably should stop changing everything
2023-05-30 05:26:34 -05:00
Ben Meadors
221a145d2d
Whoops
2023-02-16 12:58:54 -06:00
Ben Meadors
b3fac71a8d
Missed some stuff
2023-02-16 12:52:03 -06:00
Ben Meadors
3ae1fdf661
Add metadata to phone api want config messages
2023-02-16 10:21:03 -06:00
Ben Meadors
ac6d4e33d4
Format
2023-01-22 08:49:06 -06:00
Ben Meadors
4c9f0b2646
Just start a new PR. Conflicts were too wild
2023-01-22 08:48:31 -06:00
Thomas Göttgens
cdf379616c
whatever makes trunk happy.
2023-01-21 21:23:24 +01: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
Ben Meadors
9046dacec8
I don't like this formatting but I need trunk to STFU
2023-01-18 14:51:48 -06:00
Thomas Göttgens
80d1a993dd
Merge branch 'develop' of github.com:meshtastic/firmware into xmodem-proto
2023-01-12 10:00:04 +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
0e7797f3bb
Adding to generated for now, protobuf PR will come when it works ... :-)
2023-01-08 18:15:51 +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
Ben Meadors
f88dde2f60
Send channels over phoneapi on want config ( #1780 )
...
* Send channels
* Doh!
* Adjust comments
* Missed a spot
* Consolidate
* Skipped disabled ones
* Fixed bounding
* Change order
* comment out disabled check for build artefact
* Remove loop
* Off by one
* Probably should start at zero
* Zero
* Oops
* enable dubug log
* Reset to index zero
Co-authored-by: Sacha Weatherstone <sachaw100@hotmail.com>
2022-10-10 10:36:49 -05:00
Ben Meadors
b54073a8a1
Bluetooth mode unification and behavior tweaks ( #1636 )
...
* Esp32 bluetooth modes
* Comment
* Gutting bluetooth
* Cleanup
* Security
* Testing
* NRF bluetooth security
* Reboot on saved lora or bluetooth settings
* Cleanup
* Fixes
* Stub for platforms without screens
* Fixed just-works in esp32
* Cleanup
* Display device name in boot screen
* Added waypoint module routing
* chmod
* Words
* Protos
* Backing out partition changes for testing
* Revert "Backing out partition changes for testing"
This reverts commit 191ed6489c
.
* Chmod PR artifacts
* Trying setInitialState again
* Revert "Trying setInitialState again"
This reverts commit 703eac7277
.
* External notification module
* Cleanup
* Pin display formatting
2022-08-22 16:41:23 -05:00
Ben Meadors
591ae7a803
Change state order to send node info before config ( #1606 )
...
* Change state order to send node info before config
* Kill groups
2022-08-07 16:03:58 -05:00
Ben Meadors
9c6da233b9
Phoneapi moduleconfig ( #1538 )
2022-06-29 19:41:43 -05:00
Thomas Göttgens
f63b876b71
Send config chunks one by one
2022-06-16 21:56:18 +02:00
Thomas Göttgens
0146761850
TEST - Push of LocalConfig
2022-06-15 19:42:16 +02:00
Mike Kinney
c1613de426
merge the 1.2 hang bugfix to 1.3
2022-03-03 04:27:49 +00:00
Jm Casler
3fdd425634
Add groups to payloadVariant
2022-02-20 01:33:49 -08:00
Mike Kinney
6883bc7afc
fix more warnings; add to CI; suppress some warnings
2022-01-24 19:58:07 +00:00
Mike Kinney
caaa235c5d
more cppcheck warnings fixes
2022-01-24 17:24:40 +00:00
Mike Kinney
b3210f6c2c
fix some cppcheck warnings
2022-01-24 07:00:14 +00:00
Kevin Hester
eaa15076cd
WIP debug logging over TCP
2021-08-18 10:31:30 -07:00
Kevin Hester
d179bda728
serious bug: connection to phones not being properly tracked
2021-05-03 14:46:30 +08:00