Commit graph

68 commits

Author SHA1 Message Date
Garth Vander Houwen
026bb80fba
Transports Interface to Support TCP for all Platforms and Serial on Mac (#1341)
* Initial implementation of transports

* Initial LogRadio implementation

* Fixes for Settings view (caused by debug commenting)

* Refinement of the object and actor model

* Connect view text and tab updates

* Fix mac catalyst and tests

* Warning and logging clean-up

* In progress commit

* Serial Transport and Reconnect draft work

* Serial transport and reconnection draft work

* Quick fix for BLE - still more work to do

* interim commit

* More in progress changes

* Minor improvements

* Pretty good initial implementation

* Bump version beyond the app store

* Fix for disconnection swipeAction

* Tweaks to TCPConnection implementation

* Retry for NONCE_ONLY_DB

* Revert json string change

* Simplified some of the API + "Anti-discovery"

* Tweaks for devices leaving the discovery process

* Bump version

* iOS26 Tweaks

* Tweaks and bug fixes

* Add link with slash sf symbol

* update symbol image on connect view

* BLE disconnect handling

* Log privacy attributes

* Onboarding and minor fixes.

* change database to nodes, add emoji to tcp logs

* Error handling improvements

* More logging emojis

* Suppressed unnecessary errors on disconnect

* Heartbeat emoji

* Add bluetooth symbol

* add privacy attributes to [TCP] logs, add custom bluetooth logo

* Improve routing logs

* Emoji for connect logs

* Heartbeat emoji

* Add CBCentralManagerScanOptionAllowDuplicatesKey options to central for bluetooth

* fix nav errors by switching from observableobject to state

* Update connection indicator icon

* fix for BLE disconnects

* Connection process fixes

* More fixes/tweaks to connection process

* Strict concurrency

* Fix some warnings, remove wifi warning

* delete stale keys

* interim commit

* Update privacy for log, fix wrong space

* fix a couple of linting items

* Switch to targeted

* interim commit

* BLE Signal strenth on connect view

* Remove BLE RSSI from long press menu

* Modem lights

* minor spacing tweak

* Additional BLE logging and a scanning fix.

* Discovery and BLE RSSI improvements

* Background suspension

* Update isConnected to enable UI during db load

* update protobufs

* Replace config if statements with switches, Fix unknown module config logging, make dark mode modem circle stroke color white so they are visible

* Additional logging cleanup

* hast

* Set unmessagable to true if the longname has the unmessagable emoji

* Connect error handling improvements

* Admin popup list icon and activity lights updates

* Revert use of .toolbar back to .navigationBarItems

* More public logging

* Better BLE error handling

* Node DB progress meter

* minor tweak to activity light interaction timing

* Fix comment linting, remove stale keys

* Remove stale keys

* Easy linting fixes

* Two more simple linting fixes

* clean up meshtasticapp

* More public logging

* Replay config

* Logging

* Fix for unselected node on Settings

* Tweak to progress meter based on device idiom

* Update protos

* Session replay redaction of messages

* Serial fix for old devices, and a let statement

* Mask text too

* Fix typo

* BLE poweredOff is now an auto-reconnectable error

* Update logging

* Fix for peerRemovedPairingInformation

* Logging for BLE peripheral:didUpdateValueFor errors.

* Fix for inconsistent swipe disconnect behavior

* periperal:didUpdateValueFor error handling

* Fix for BLEConnection continuation guarding

* BLEConnection actor deadlock on disconnect

* Heartbeat nonce

* Fix for swipe disconnect and task cancellation

* Fix for swipe actions not honoring .disabled()

* Tell BLETransport when BLEConnection is cancelled

* Update navigation logging

* Logging updates

* Bump version to 2.7.0

* Organize into folders and heartbeat stuff

* Minor improvements to manual TCP connection

* Auto-connect toggle

* Possible BLE bug, still waiting to see in logs

* Concurrency tweaks

* Concurrency improvements

* requestDeviceMetadata fix. fixes remote admin

* Minor typo fixes

* "All" button for log filters: category and level

* More robust continuation handling for BLE

* @FetchRequest based ChannelMessageList

* Update info.plist and device hardware file

* Move auto connect toggle to app settings and debug mode, tint properly with the accent color

* Add label to auto connect toggle

* Update log for node info received from ourselves over the mesh

* Remove unused scrollViewProxy

* Update Meshtastic/Views/Onboarding/DeviceOnboarding.swift

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update target for connect view

* Properly Set datadog environment

* Comment out ble manager

* Adjust cyclomatic complexity thresholds in .swiftlint.yml

* Linting fixes, delete ble manager

* Make session replay debug only

---------

Co-authored-by: jake-b <jake-b@users.noreply.github.com>
Co-authored-by: jake <jake@jakes-Mac-mini.local>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-27 08:09:02 -07:00
Jacob Powers
11b95dca4d swiftlint 2025-07-23 20:26:50 +00:00
Jacob Powers
abe0144d48 fixes 2025-07-22 04:13:54 +00:00
Jacob Powers
1e95694c7b remove some print statements 2025-07-22 02:18:00 +00:00
Jacob Powers
e07277410f wip multiple file uploads - geojson files 2025-07-22 02:03:36 +00:00
Garth Vander Houwen
ea39adac26 Add OSLog Redacttion attributes 2025-03-31 22:06:00 -07:00
Garth Vander Houwen
49c7bd7bef Add ignore node functionality to the node and user list 2024-12-16 14:43:59 -08:00
Garth Vander Houwen
3dcec505ff linter updates 2024-10-05 16:35:42 -07:00
Garth Vander Houwen
4a5c728978 Merge branch 'main'
#Conflicts:
#	Meshtastic/AppIntents/MessageChannelIntent.swift
#	Meshtastic/Views/Settings/Config/DeviceConfig.swift
2024-10-05 10:04:19 -07:00
Garth Vander Houwen
e1ec14db2c Upgrade to ios 17 2024-10-04 19:36:30 -07:00
Garth Vander Houwen
496016c6fa Use first appear on mesh map 2024-09-19 20:01:05 -07:00
Jacob Powers
089022d362 add centerMapAt 2024-09-08 04:47:14 +00:00
Blake McAnally
620e329521 Refactor router state to more closely match tab bar behavior 2024-08-28 07:37:49 -05:00
Garth Vander Houwen
25f8e424ed Sync up isonline with the firmware add local stats extension 2024-08-25 10:08:32 -07:00
Garth Vander Houwen
bb4967fbf4 Use new set time method after want config is complete 2024-08-17 13:12:13 -07:00
Garth Vander Houwen
7d63a21418 Hook retry up to ack errors 2024-08-16 16:26:54 -07:00
Garth Vander Houwen
f4bcad2c68 Linting fixes 2024-08-04 21:42:02 -07:00
Blake McAnally
3a746af27e Refactor the apps routing structure to enable app-wide navigation through a Router to improve how deep link URLs are handled 2024-07-15 15:57:42 -05:00
Garth Vander Houwen
847892d45d Log categories 2024-06-03 02:17:55 -07:00
Garth Vander Houwen
82a8336e35 Additional swift lint fixes 2024-06-02 20:13:40 -07:00
Garth Vander Houwen
51929b3a35 Swiftlint fixes 2024-06-02 18:32:14 -07:00
Blake McAnally
4c7cd0d923 Adopt OSLog for logging and replace the majority of calls to print() 2024-06-01 11:30:29 -05:00
Blake McAnally
4d547e48db This change fixes several lint errors throughout the project, and moves the SwiftLint build phase to before compilation.
After this change, a developer can now clone the project and run without the build failing due to lint errors! 😃

* I ran `swiftlint --fix` to resolve many auto-correctable issues (mostly whitespace)
* Excluded the `Meshtastic/Protobufs` directory from lint, since that code is automatically generated.
* Converted some single letter method parameters to lowercase.
* Converted several instances `force_cast` to instead use `guard` or `if let` to unwrap optional values. During this change, some of the SwiftUI views became "too complex to be solved in a reasonable time", so I broke up the views into distinct sub-expressions.

I was able to build and run the app on an iOS simulator.
2024-05-31 21:48:50 -05:00
Garth Vander Houwen
dbc05605d6 Show alerts when app is in the foreground 2024-05-15 08:06:27 -07:00
Garth Vander Houwen
a4c1fc4fe6 Remove up and downlink from QR codes
Open node details view from new node notification
Fix speed
Simple deep linking structure
2024-05-14 22:39:07 -07:00
Garth Vander Houwen
8a214d93eb Contact list filters 2024-04-02 11:16:32 -07:00
Garth Vander Houwen
52c52ae1e6 100 node limit on the node map, remove 2500 mile distance filter 2024-03-31 12:38:17 -07:00
Garth Vander Houwen
7c022813a2 Fixed position updates 2024-03-27 16:06:24 -07:00
Garth Vander Houwen
525b1b2509 More map cleanup 2024-03-25 19:20:36 -07:00
Garth Vander Houwen
80103ebda2 Revert user default updates, move everything to the map settings form 2024-03-25 18:43:03 -07:00
Garth Vander Houwen
6577eaaa9f Turn waypoints off by default 2024-03-25 15:49:10 -07:00
Garth Vander Houwen
7eb6659c0c Move fetch requests to mapcontent 2024-03-25 15:21:38 -07:00
Garth Vander Houwen
554fe9a3ca Node distance filter for the mesh map 2024-03-24 22:23:55 -07:00
Garth Vander Houwen
03a210e415 Get the last 50 nodes seen for the mesh map, zoom much closer by default, only show nodes from the last 48 hours on the mesh map 2024-03-23 18:22:10 -07:00
Garth Vander Houwen
7d00a5882b Try and use less ram on the mesh map 2024-03-23 18:01:20 -07:00
Garth Vander Houwen
02cca19f26 Assorted updates 2024-03-23 09:01:44 -07:00
Garth Vander Houwen
2ba208fa8e Bump version and protos 2024-03-09 20:07:12 -08:00
Garth Vander Houwen
5d9b25b0aa Polish up the reduced position accuracy 2024-02-25 00:36:03 -08:00
Garth Vander Houwen
e462055ad7 Reduced precision map circles for the node map 2024-02-24 16:25:08 -08:00
Garth Vander Houwen
d59eb07326 Turn of node history and route lines on the mesh map 2024-02-17 15:37:28 -08:00
Garth Vander Houwen
f05777919d Show all nodes on the mesh map again 2024-01-21 18:20:45 -08:00
Garth Vander Houwen
aa2f3c4511 LazyVStacks for annotations 2024-01-21 13:12:32 -08:00
Garth Vander Houwen
778600fb4f Lazy load position annotations 2024-01-21 12:24:18 -08:00
Garth Vander Houwen
e0073ebdc8 Solid lines for routes 2024-01-20 22:49:55 -08:00
Garth Vander Houwen
7f1f79b837 Use time again on the mesh map. Back to a week 2024-01-20 19:49:29 -08:00
Garth Vander Houwen
3424523d98 Move waypoint deep linking into onchange event 2024-01-20 19:33:11 -08:00
Garth Vander Houwen
e2872b34c9 Link to waypoint directly from new waypoint notification 2024-01-20 19:14:20 -08:00
Garth Vander Houwen
24868b4a28 Assorted updates 2023-11-26 10:45:03 -08:00
Garth Vander Houwen
99fbc6c9a6 Remove 30 day filter from mesh map 2023-11-20 16:08:46 -08:00
Garth Vander Houwen
3305399ded Show detection sensor icon on the map 2023-11-18 08:25:50 -08:00