Commit graph

13 commits

Author SHA1 Message Date
Blake McAnally
58da532d32 Extract the generated protobufs into its own Swift package
This change modifies the process for generating and integrating the Meshtastic protobufs into the client application.

* The generated Swift code is now in a local SPM package `MeshtasticProtobufs`
* An Xcode Workspace file `Meshtastic.xcworkspace` was created to more easily manage the new build targets.
* The code generation script for the protos was modified to generate the Swift code into the new location.
* The README.md was updated to reflect these changes.

NOTE: After merging this PR, do not open the project file `Meshtastic.xcodeproj`. You must use the workspace `Meshtastic.xcworkspace`

Extracting out the generated protobuf code into its own library enables several opportunities for the project. This is just a first step, but with some more modularization, a standalone Apple Watch app or other targets starts to become a little bit more achievable to implement.

After extracting the protobufs into a Swift package, I validate these changes by building and running the Meshtastic app to an iPhone 15 Pro Max, and tried changing some settings on a local node. I then messaged back and forth using two local nodes connected to two different iOS devices.
2024-06-28 11:11:01 -05:00
Garth Vander Houwen
847892d45d Log categories 2024-06-03 02:17:55 -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
Garth Vander Houwen
fb66e3b250 Detection sensor cleanup
location manager cleanup
2023-12-02 20:14:49 -08:00
Garth Vander Houwen
d63daf5cf3 Detection sensor updates 2023-12-01 13:56:29 -08:00
Garth Vander Houwen
d70c7e60ac Fix detection sensor graph 2023-11-30 23:41:14 -08:00
Garth Vander Houwen
9c57bdd4c4 Update detection sensor log query to update in real time 2023-11-29 23:01:51 -08:00
Garth Vander Houwen
76d5da1d21 Put look around behind a button 2023-09-15 17:19:02 -07:00
Garth Vander Houwen
a2a4c65c30 Cleanup 2023-09-10 18:50:11 -07:00
Garth Vander Houwen
dad6654374 Hook up updates to all node list details views 2023-09-09 18:43:51 -07:00
Garth Vander Houwen
b6cfd07000 Question everything 2023-09-02 17:37:35 -07:00
Garth Vander Houwen
a990d7f2bd Lint 2023-08-26 23:17:30 -07:00
Ben Meadors
3275bbf348 Added initial detection sensor log 2023-08-23 07:03:05 -05:00