-
Notifications
You must be signed in to change notification settings - Fork 53
Offline Mode - UART and GPS #787
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 230 commits
Commits
Show all changes
235 commits
Select commit
Hold shift + click to select a range
ea6a305
Match upstream, upload to release check
brentru fb98943
workflowcall->secrets
brentru 03d9796
4sp->2sp
brentru 2493a68
do NOT build the regular release workflow
brentru c1d850d
Refactor to use PIO-specific driver on RP2040 platforms, rather than …
brentru 6f4741f
Add hooks for i2c bus scan
brentru d9d0e41
TODOs
brentru 4b5e23a
prelim hardware scan code
brentru 6d32292
Match I2c.proto
brentru a780749
Match Protobuf 52c4252a7336cda1274b61cdd5292f580ef4dd3d
brentru c5c2091
Implement both bus scans
brentru 2466a85
Snake in mux scan func and handler, not operational yet
brentru 473b7bb
Match API V2 #35
brentru f43e194
small remove impl
brentru c17c5a3
Update i2c.proto
brentru cb757b4
Scan and remove for i2c devices on mux
brentru 903db88
Tested against hw
brentru c164dc3
Merge branch 'offline-mode' into migrate-api-v2
brentru 5576abc
Begin pixel.proto migration
brentru f8e7894
Implement NeoPixel configuration in hardware
brentru e3d5526
Implemented ConfigureStrand
brentru 166b2b1
Done - full API implementation for pixels.proto, needs doxygen and te…
brentru 67e1756
Doxygen pass
brentru 700f387
build pass
brentru ec2291f
pass pixel add, write
brentru 6e7732c
cleanup
brentru 81ba6c3
fix rm neopixel
brentru 51972f9
Test Dotstar with FunHouse
brentru 92b257a
Modify yml, add gen/skip files
brentru bc5a005
rm samd-arduino
brentru 7f34ca3
Bring SAMD Airlift in-line for v2
brentru fe99de3
Fix debug tests, add c6 target
brentru a0d1866
Re-enable adapter for Pico2W, use PStolarz OneWireNG and Temp Ctrl Li…
brentru b90aaee
fix rp2040 compiler error output
brentru 9d91263
fix std::find
brentru 3a3cc81
Fix assignments after declaration causing compile-time error
brentru 264281f
Fix dtors, use memeset() to clear struct memory just like we did in c…
brentru 79f6042
Fixes for ESP8266
brentru f70f9ae
Fix ESp8266 compile completely
brentru 4bc8a48
Fix: SAMD51 Target
brentru 50eb84e
Fix: RP2040 Targets
brentru dc6e5ac
Fix: Cx targets
brentru fc755f9
Fix: Missing ||
brentru c9a8070
Fix eval
brentru 58e273f
Fix - C6
brentru be02bd6
Fix - RP2350
brentru 6fe7d06
Fix RP2350
brentru 8f385d1
Fix - Feather esp32c6, esp32s3revtft debug
brentru 0e5f1db
Fix - Feather c6, RP2350 W
brentru e69f538
Fix - Clang picking up protos/ folder!
brentru 536fb54
Clangify
brentru 0f959d5
Clang again!
brentru b5f703d
one more time
brentru 13af849
Update the @file for doxygen to fix conflicts
brentru 8c68d45
Update doxyfile, drop back to 1.8.3
brentru 97be20a
Start! And added to hardware.cpp
brentru 184c5df
Doxy the hardware class
brentru 141753b
Implement Handler for PWMAdd Message
brentru ffd7a71
Tidy handler for PWMWriteDutycycle
brentru aadac2b
Tidy x2
brentru edadb31
Implement WriteFrequency message
brentru 31e5758
YAGNI - noTone() never implemented in v1 or called, remove from API
brentru 3304fb4
Full PWM implementation, sans writemulti..
brentru 3562104
Init. Servo
brentru a6d8755
Plumbing in app
brentru de50089
Implement - ServoAdd, ServoAdded API
brentru 8fc941e
Implement - ServoWrite, boundary checks around handling the servohard…
brentru 4cc35be
bugfixes
brentru e4ae80a
Implement - ServoRemove, fix bugs
brentru 48e30f0
Migrate to pstolarz fork of Arduino Temperature Control Library
brentru 59aba4e
Testing - Update NoFs.ino to work with Wokwi, add plumbing in app for…
brentru b32ecdf
Tests - behavioral, pwm
brentru 361f97d
Fix - Remove PWMWriteDutyCycle_Multi (Unused), fix logical bug in Wri…
brentru 7458980
Fix - ServoRemove Unit Test
brentru 25ad69a
Merge pull request #731 from adafruit/add-pixel-api-v2
brentru dac4af5
Fix - Controller writes the pulse width from the message upon Add, va…
brentru 7589b78
Clang
brentru 8c3dbdd
Address brent PR
brentru c1a3c4e
Address @tyeth PR review
brentru 5f4a8e4
Merge pull request #733 from adafruit/add-pwm-api-v2
brentru 66fc39d
Add I2C_Output PB, add new outputbase driver class, add i2c output to…
brentru b8ad718
detect i2c output device
brentru 54cc000
Add drv for QuadAlphaNum LED backpack
brentru 8f19c08
Add handler for Write message
brentru d54d4ad
Handle initial configuration and begin for outputs
brentru 9340fff
Added options file, new protos/
brentru 888a3c0
Fixed options files
brentru 263fbfa
Implement WriteX funcs for each value type and link within drvOutputBase
brentru c9a20b3
add 0a74dc96f50785d7f29d2f44b409033fd880d600
brentru eb2cfa1
Writing working for everything but floats
brentru 878d186
Fix float issues
brentru f06ac06
Implement begin and configure for a char lcd
brentru a9b1e06
Implement WriteMessage for CharLCD
brentru a388b6d
remove hardcode for row/col
brentru e519261
printing!
brentru 2cc9f32
charlcd prints, handlers for degrees symbol
brentru 93dd43d
Match charlcd commit
brentru 538ce3b
Add libraries
brentru 1a12145
clang
brentru f8aa819
doxy
brentru 4df009e
Fix charLCD formatting, decimal on quadalphanum
brentru dd6599a
match pb commit 13325a9
brentru 59c8a73
Update firmware to match previous PB commit's updated PBs
brentru 4598bbe
Add SSD1306 compatability
brentru c1ace0b
Optimizations within pb.h
brentru 84a4017
Modifications for @tyeth review
brentru 0059343
Merge pull request #749 from adafruit/migrate-api-v2-i2c-output
brentru 07cbf00
Add updated UART.proto, signal.proto, bring in new GPS.proto
brentru b9eae36
Add uart/ component files
brentru 1ffc861
Start hooking Hardware
brentru 2e7c373
init uart serial
brentru 6ee80cb
Update PB - e6b79ff4b165c6161a67994c217721281a20fe72
brentru b99e70c
Update PB, ConfigureSerial
brentru bdad070
Break out driver into base class and new pm25 class - WIP
brentru 4a4d562
Remove /*************************************************************…
brentru 1b9e973
meh attempt at initializing a driver
brentru c5dbb86
Rough in uart driver for reading sensor events, pm25 driver match
brentru dcb623b
Match 492e3a0..4e42234
brentru e60e887
Match 4e42234..5f3ec33
brentru 8725ba4
Full Handle_Uartadded workflow implementation for PM25AQI
brentru e2d8233
eod, wrapping up code
brentru bbb14ab
Impl - UartRemove handler
brentru 761a2b8
Impl - Uart Update() handler
brentru 1b372c4
Add - uart-us100 driver
brentru 0a16097
Add distance measurement getter for us-100
brentru 53a26c6
debugging
brentru 7216ffe
match cca78c8..09bf58e
brentru 3d45338
fix handleUartAdd and publishing back to io, driver for us100 not wor…
brentru e229bd3
debug within us100
brentru 81b3061
cleanup
brentru a3bf856
GPS - Match be3dc9d..850d73c
brentru d17f2b8
GPS - Initial commits
brentru b60c233
GPS - Routing towards DecodeGPSConfig
brentru c0aa18d
GPS - add processing
brentru baef12d
Set interface
brentru 786c041
use adafruit gps
brentru 5c30483
GPS - Query mediatek
brentru f0aefd9
GPS - fix build
brentru b43a8ba
GPS - tracking add bug
brentru 51dea24
GPS -detecting mtk
brentru b699c06
GPS - attempt a driver approach for managing instances
brentru 57a4396
GPS -refactor to use hwserial pattern
brentru 09bfdcf
GPS - refactor away from driver approoach causing circular dependency
brentru f3286ef
GPS - break out config handler
brentru 4b6666a
GPS - add pb with responses
brentru 61e45a7
GPS - Full implementation of GPSConfig Handler
brentru de6a1dd
Match Protobuf - 478e51b..607702e
brentru f05f163
GPS - Build checksum for responses
brentru 8b33ba7
GPS - Refactor BuildPtmkAck
brentru c07f8de
GPS - Refactor out GPSHardware
brentru 551df54
GPS - begin read impl.
brentru bede6ab
GPS - Match Protobuf: 607702e..6811f7b
brentru 6509167
GPS - Read/discard approach, add nmea rates to hardware
brentru 77c553a
GPS - Circular buffer implementation for GPS reading and parsing
brentru 522a62f
GPS - Fix circular buffer pop
brentru 8b20e27
GPS - Implement KAT, debugging
brentru 58623ba
GPS - Increase reliability within initial cmd sends
brentru 881e47a
GPS - clang
brentru 7d22453
GPS - discard parse errors
brentru 30d301d
GPS - match 6811f7b..3a7d109
brentru 89f2ddc
GPS - match 3a7d109..2aad669
brentru a2ab695
GPS - Start model GPS
brentru c4aca50
GPS - Fill RMC, datetime setters
brentru 97d20ea
GPS - Fill GGA
brentru 4722ee9
GPS- all fillers done, compiles
brentru 71f707c
GPS - Parse GGA/RMC into Event
brentru 402e75d
GPS - Match PB: 2aad669..d0fbb8d
brentru bc7d5ce
GPS - Publish back GPSevent
brentru 528ff03
GPS - Fix bug, publishing multiple messages instead of one GPSevent
brentru c6924af
GPS - Refactor within update() for redundancy and memory checks
brentru 9233d2e
GPS - Match PB d54396c..6b71dc3
brentru 642733e
GPS - Update for PB
brentru 320fa1e
GPS - I2C integration, Handle_GPSConfig not working yet
brentru c499080
GPS - handleConfig not working yet, paused on validation
brentru d6dbda4
GPS - Fix TwoWire not being passed properly
brentru 5a5a6e7
Decodes init msg
brentru 07f936c
GPS - Discard TwoWire buffer, refactoring within controller update()
brentru c9d9595
GPS - Remove redundant delay, update BuildPmtkAck() func
brentru 6589b40
GPS - Fix pointer in update(), GPSEvent not filled yet
brentru 43abe81
GPS - GPSEvent sent
brentru 8ab6ecb
GPS - Update PBs
brentru e115785
GPS - store 1 GGA/RMC event within model FIFO
brentru 232dc1a
GPS - Begin UBX implementation
brentru 2330368
GPS - Match PB
brentru 783ec2d
GPS - Handle Config progress on UBX
brentru bd4ec63
GPS - Comment out ACK
brentru d3afe8a
GPS - UBX Parsing OK
brentru 9a9c57b
GPS - Refactor update() to remove funcs that should be called by the …
brentru 5ccb7c7
GPS - Refactor GPSEvent and processing, datetime construction
brentru 0376181
GPS - Fully refactor out common HAL to hardware and parsing to model
brentru f1a718f
GPS - Add processNMEA() with override, hacky but works
brentru 3d0bb4d
Refactor away from SFE lib!
brentru 96c5512
rm cruft from sfe detection
brentru 6797eaf
GPS Sending event but empty for UBX
brentru dff9e98
GPS - Sends RMC event response
brentru 0263274
Merge branch 'offline-mode' into migrate-api-v2-uart
brentru f256fcd
Merge branch 'migrate-api-v2-uart' into offline-mode
brentru ab7cc41
Compile OK
brentru 2bbc638
Clang
brentru 4636abc
kick ci
brentru ced98cb
clang format
brentru 86d95ec
SDCard - begin parsing UARTadd, needs new PB
brentru ff5c0f3
Update Uart PB
brentru 11062ed
SD - Parse UART generic, uart pm25aqi types
brentru 8800c78
SD - Parse UART GPS
brentru 351c156
GPS - I2c Refactor, put back missing autodetect from merge, crash on …
brentru 5f6f26f
GPS - Add Parsing to SD Card
brentru c6d6482
SD - Add UART Logging, offline/online switch, small refactor of func …
brentru 4792c91
SD - Add UART GPS
brentru 82c9c6a
Offline - GPS over I2C working for PA1010D, UBX MAX-M10
brentru 3d969cf
Offline/SD - UART GPS, UART US-100 OK
brentru 4578099
Offline/SD - Fix PM25 sensor
brentru b6c3c27
Offline/SD - Fix small regression in fs
brentru 42f83f4
Offline/SD - Fix regression RP2040
brentru 604b889
Offline/SD - Clang Format
brentru 603f116
Offline/SD - Clang Format 2
brentru 2968637
Tooling - Add ublox and gps libs
brentru 4756622
sdcard - Match device_type and sensorType naming from configuration tool
brentru cf052ac
GPS - Add support for GPS location in the logfile as a timestamp, htt…
brentru 374c6f0
Tooling - Clang
brentru 37a5e3f
Tooling - Add Adafruit LED Backpack Library
brentru 479d69f
Tooling - add Adafruit LiquidCrystal
brentru 2c46537
Tooling - Update build for Metro RP2350, pico gen skip
brentru adb423f
Tooling - Fix Pico RP2350 Test Skip
brentru 390a72f
Fix esp32dev platform
brentru 548bd31
Fix test
brentru 30d6765
Update UART serial/device parsing to match configurator
brentru cb746ad
Merge branch 'offline-mode' into offline-mode-uart-migrate
brentru 7978e5b
Bump offline mode beta version
brentru dee52e8
Clang
brentru 9750fdd
Address @tyeth review for UART/GPS #1
brentru 5ef6439
Implement SoftwareSerial in gps component
brentru 6a54d02
Implement SoftwareSerial in UART drivers
brentru f961f9a
Clang!
brentru 981a4aa
Add src/components/uart/serial_config.h
brentru File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.