Skip to content

How to load net module without autosetup #953

Answered by phoddie
albham asked this question in Q&A
Discussion options

You must be logged in to vote

I am starting with Moddable SDK on ESP32.

Welcome!

It sounds like you want to manage the Wi-Fi connection yourself, instead of having the Moddable SDK auto-connect at start-up. There are two ways to do that:

  1. Do not provide the ssid and password on the command line. To build, use a command line like mcconfig -d -m -p esp32 instead of mcconfig -d -m -p esp32 ssid="foo" password=bar". Or, if you are defining the ssid and password in your project manifests config section, omit those. In both cases, network/setup will see no credentials so it will not try to connect.
  2. Remove the setup/network module from your project using exclude feature of the manifest (~ ). In your projects manifest's mod…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@albham
Comment options

Answer selected by albham
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants