Have you tried with CWMODE = 3?
Also, see this:
https://stackoverflow.com/questions/...ith-no-details
Have you tried with CWMODE = 3?
Also, see this:
https://stackoverflow.com/questions/...ith-no-details
I tried with an old module I had laying around.
I got the same issue no matter which CWMODE. But in the Stackoverflow post I linked to user urbanSoft (so all credit to him) writes:So I tried that by connecting it to my network using AT+CWJAP="myssid","mypassword" and after that CWLAP worked as expected.That AT+CWLAP returns an error without any prior connection is desired behaviour.
The doc states that "AT+CWLAP connects an ESP station to a targeted AP with the last Wi-Fi configuration."
Since there is no last Wi-Fi configuration an error is returned.
My module is really old with stock firmware. AT commands have changed and been added over the years so don't expect any and all examples you find on the internet to just work if they don't match the firmware.
do anyone want to try the ESP8266 programmed to be serial to WIFI 'bridge' ?? This is a few years old but all the info and files seem to be available.
Here is the link for github page
https://github.com/jeelabs/esp-link/...ster/README.md
I would post about any issues I had or suggestions if anyone wants or needs that.
Yes, instead of bridge, could use 'connection'......... what program or app would you use on the PC to receive and send data?Amgen, what exactly is a "bridge"? Is it what I actually want to achieve = send (small amount of) data, both ways, between a PC and a PIC over Wifi?
Don't know yet.
I think I'm going to use some kind of mobile Terminal app or, if possible, a web browser or even make one by myself with MIT App Inventor which I'm already on my way but using Bluetooth for now which I'll need to change to wifi, obviously.
Attachment 9528
I've no idea what will be the simplest and fastest to achieve...
It's really just about to send some data to a PIC, have the PIC acknowledging and storing if datat is okay. Voilą.
Roger
Bookmarks