Open mj8ac opened 6 years ago
Hi Jonny, that's the right way to do it. The serial port is used for logging, the baudrate is 921600. I've put this so high as otherwise it creates latency with the DWM1000.
be aware that the Wifi is looking around for the strongest signal AP that starts with the prefix given. This prefix is fetched from flash, but the first time it's picked up at compile time from SSID env variable. I've made this so as I have a number of AP around the house and so the device can move around and re-establish connection to another AP. Also the WIFI password is picked up from PSWD env variable during compile time.
So check the environment variables PSWD and SSID.
Hope this helps, Lieven
Hi Lieven Thanks for the reply I can now see the logging. It looks as though one of my boards still has an old network ssid and password stored in it. I don’t know how as I have set the environment variables for root and for my user account. I have no idea why it isn’t picking up the environment variables all of a sudden.
Hi Lieven,
I am trying to configure the my wemos to connect to my mqtt broker. I put the host of my broker in the Mqtt.cpp file. Is it the right way to do this?
Also one of my wemos boards doesn’t seem to be connecting to my WiFi network. How can I check the logs? Is it done via serial? If so what is the baud rate?
Thanks Jonny