-
Notifications
You must be signed in to change notification settings - Fork 53
Add automatic configuration capability and other enhancements for Offline Mode #728
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 all commits
Commits
Show all changes
75 commits
Select commit
Hold shift + click to select a range
1e6a8c7
hm how about trying adding the potential address to the driver..
brentru bd8095e
Prelim thoughts on SD API, tighten up FS APIs
brentru 6f1b2d5
Add to FS for config file
brentru 480e2c7
Refactoring within WS_SDCARD
brentru 970901e
Move SD_CS_PIN into Boards
brentru de66744
Merge branch 'offline-mode' into offline-mode-autoconfig
brentru fcbd86a
Test with hardware, resolve spi_cfg issues
brentru bd2ec33
Starting to break out config file parsing so we can insert entry-poin…
brentru d3f0462
Break out components parsing
brentru c2f471f
add bus scan with storage for results, not hooked into ctroler
brentru e797fd4
Add controller hooks for managing the scan from another class
brentru b3a1edf
save work
brentru d9f6a36
putback old initbus, scan the non-alt bus by default, fixing the bug
brentru 6d312c5
check scan results
brentru e17292f
Append scan results to config file?
brentru a5d8807
Hooks for detach/attach
brentru c4eba79
Refactor all ParseX component functions within ws_sdcard.h
brentru cef1bfc
save friday progress
brentru ebb36d6
Refresh USB for Pico if sd config was automatically found
brentru 0b55693
add scan pb to config
brentru b7784df
add association within controller, TODO: remove association cruft in …
brentru f13a706
Associate driver with address, writeback to file
brentru 8ce8b7b
Fix driver name issue
brentru aa557e2
Temporarily remove adding the device to the config file since it does…
brentru f83d534
add sensor types to components, (1)
brentru 3686c6f
add sensor types to components, (2)
brentru ea3c17f
add all drivers
brentru f323fd0
use reverse map, unordered_map instead
brentru 515ce9c
remove detach/attach issue
brentru f440847
remove the usb attach/detach and extra syncs
brentru f8b7610
Write back i2c device info to config file, doesn't work on boot yet
brentru 0a208e2
Persistent init working from config
brentru 8edabaa
Refactor parsing scan results into the buffer
brentru 3b58f2e
Check for scan results within parse, log a warning
brentru 161bacb
Reduce error string verbosity
brentru f778e46
working on hw
brentru 387e66c
looking at autocfg->write->start
brentru 01a4a72
Wow, uh, WSVs._fsv2 wasnt being called everywhere leading to a dangli…
brentru fa65af9
add use: fields
brentru 40e80d9
check if scan == candidate
brentru 77c9a53
autocfg->write->usb workflow implemented
brentru 6018591
Load an existing file into the in-memory document and append to it as…
brentru 4020e03
debugging existing file
brentru aaf718d
sync protos
brentru 6c45959
put back old work without the no/auto/yes
brentru fbfcc08
debugging mux
brentru 9fc3e4d
still debugging mux inclusion
brentru 0a422f5
pair: working mux
brentru 8614a6d
pair 2: remove debug code
brentru f579bbd
reenum adding cdc and msc doesnt reenum til the end
brentru d86a445
reviewing
brentru 8313b66
trim controller
brentru f13f8b7
review modifications
brentru 9205787
putback old sketch
brentru c58774c
doxygen:
brentru b7c89e5
Release for offline fix
brentru 8baad48
clang
brentru 4335c24
Fix - automatic scan backing out incorrectly after candidate list exh…
brentru 765cb4a
build for esp32dev CLI
brentru 0b072e2
clang
brentru ff80728
fix regression - analogio, digitalio
brentru 8d17e93
Fix all regressions
brentru 44f351d
update release-caller.yml
brentru 24c4961
flip conditinals
brentru 14fe05a
ignore offline
brentru 7362592
Fix tyeth issue
brentru 4a680ad
build targets for offline mode
brentru 1b51d0c
Test should work now, revert ci change for offline
brentru 0ece23b
test demo offline, nonet and netifaces
brentru 385537f
nonet update
brentru 2d0d4fe
fix the swapped classes
brentru 4912417
Fix target - metro rp2350 tinyusb
brentru eda059e
fix OFFLINE requirement that is causing msc detach/attach after logging
brentru ec229aa
Restore demo
brentru 375fd39
address @tyeth review
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.feather_esp32.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.feather_esp32_v2.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.feather_esp32_v2_debug.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.feather_esp32s2.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.feather_esp32s2_debug.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.feather_esp32s2_reverse_tft.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.feather_esp32s2_tft.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
2 changes: 2 additions & 0 deletions
2
examples/Wippersnapper_demo_offline_nonetiface/.feather_esp32s2_tft_debug.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.feather_esp32s2_tft_debug.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.feather_esp32s3.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.feather_esp32s3_4mbflash_2mbpsram.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
.../Wippersnapper_demo_offline_nonetiface/.feather_esp32s3_4mbflash_2mbpsram_debug.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.feather_esp32s3_debug.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.feather_esp32s3_reverse_tft.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.feather_esp32s3_tft.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
2 changes: 2 additions & 0 deletions
2
examples/Wippersnapper_demo_offline_nonetiface/.feather_esp32s3_tft_debug.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.feather_esp8266.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.feather_rp2040_adalogger_tinyusb.generate
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.feather_s2_tinyusb.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
2 changes: 2 additions & 0 deletions
2
examples/Wippersnapper_demo_offline_nonetiface/.funhouse.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
|
2 changes: 2 additions & 0 deletions
2
examples/Wippersnapper_demo_offline_nonetiface/.funhouse_noota.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.itsybitsy_esp32.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.magtag.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.metro_esp32s3.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
2 changes: 2 additions & 0 deletions
2
examples/Wippersnapper_demo_offline_nonetiface/.metro_esp32s3_debug.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
|
2 changes: 2 additions & 0 deletions
2
examples/Wippersnapper_demo_offline_nonetiface/.metro_m4_airliftlite_tinyusb.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.metro_rp2350_tinyusb.generate
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.metroesp32s2.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
2 changes: 2 additions & 0 deletions
2
examples/Wippersnapper_demo_offline_nonetiface/.metroesp32s2_debug.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.pico_rp2040_tinyusb.generate
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.pico_rp2350_tinyusb.generate
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.picow_rp2040_tinyusb.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
3 changes: 3 additions & 0 deletions
3
examples/Wippersnapper_demo_offline_nonetiface/.pyportal_tinyusb.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
|
||
|
||
|
3 changes: 3 additions & 0 deletions
3
examples/Wippersnapper_demo_offline_nonetiface/.pyportal_titano_tinyusb.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
|
||
|
||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.qtpy_esp32.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.qtpy_esp32c3.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.qtpy_esp32s2.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.qtpy_esp32s3.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.qtpy_esp32s3_n4r2.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.wippersnapper_feather_esp32.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
examples/Wippersnapper_demo_offline_nonetiface/.wippersnapper_qtpy_esp32c3.test.skip
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
24 changes: 24 additions & 0 deletions
24
examples/Wippersnapper_demo_offline_nonetiface/Wippersnapper_demo_offline_nonetiface.ino
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// Adafruit IO WipperSnapper - Offline Mode | ||
// USE ONLY WITH DEVICES WITH A NETWORK ADAPTER LIKE ESP32-x | ||
// | ||
// Adafruit invests time and resources providing this open source code. | ||
// Please support Adafruit and open source hardware by purchasing | ||
// products from Adafruit! | ||
// | ||
// Brent Rubell for Adafruit Industries, 2025 | ||
// | ||
// All text above must be included in any redistribution. | ||
|
||
#include "ws_adapters.h" | ||
ws_adapter_offline wipper; | ||
#define WS_DEBUG // Enable debug output! | ||
|
||
void setup() { | ||
Serial.begin(115200); | ||
wipper.provision(); | ||
wipper.connect(); | ||
} | ||
|
||
void loop() { | ||
wipper.run(); | ||
} |
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.