-
Notifications
You must be signed in to change notification settings - Fork 307
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
Understanding BootStandalone #319
Comments
check out #125 |
Yes, that's where I started. Marvin said there was a setStandalone in version 2. It's also in the v2 docs, but it's not in the code. There's only one reference to that, and it's in keywords.txt. I found BootStandalone, but there's no documentation on it. In perusing the code, I found a rich set of functions that allow for setting the boot behavior, but I can't figure out how to make it work. I could go through the code and try to understand how it works, but someone's gotta have an implementation of this functionality that would help me kickstart the feature. So that's what I'm looking for: some samples of the functionality or perhaps documentation that shows how it works. |
Is As far as I can tell from the code, the only option is to use it with |
Well, the |
Just came across this today. I was looking at having a node running without a MQTT broker. So we have : As i'm not that used to Arduino/C++, I struggled to find how to use enum, I ended up to do:
As I'm not yet used to PR in GitHub, I'll leave it like this for now but will probably get back some day soon. For now, I'll try to figure out what is called when using standalone mode and how this would benefit to me :-) |
I'm having trouble understanding how BootStandalone works. Does anyone have sample code that I could filch? I can't find anything on the webs.
It looks like it can define a different loop function at boot time. From there, I would expect that I could have some offline (standalone) functionality while waiting for wifi and mqtt connections. Once these are obtained, I would assume that the normal operating mode (and loop function) would take over.
Do I have the gist of this? Sample code is worth a thousand words.
The text was updated successfully, but these errors were encountered: