-->
Page 1 of 1

ESP8266 howto set the channel in AP mode

PostPosted: Sun Apr 05, 2015 7:45 am
by iothing
Yeah the title says it pretty much, I cannot figure out how to change the channel, it is alway 1 - however I am not allowed to use this channel as per university policy - so how do I change it? I checked the AT firmware command reference and the nodemcu api documentation and cannot find this info :(

Re: ESP8266 howto set the channel in AP mode

PostPosted: Sun Apr 05, 2015 12:01 pm
by j0hncc
https://github.com/espressif/esp8266_at/wiki/CWSAP

AT+CWSAP="SSID","passwd", channel, encryption

Be sure to reset for it to take effect.

Cheers,
John

Re: ESP8266 howto set the channel in AP mode

PostPosted: Sun Apr 05, 2015 2:12 pm
by iothing
Cool, thanks for the Info.

Any clue if there is a way to do just this with the nodemcu firmware?

Re: ESP8266 howto set the channel in AP mode

PostPosted: Mon Apr 06, 2015 7:56 am
by wbartnick
iothing wrote:Cool, thanks for the Info.

Any clue if there is a way to do just this with the nodemcu firmware?


Right now, you can't; however, I just made changes that were merged into the dev branch of nodemcu. They include the ability to set channel, hide ssid, configure DHCP, etc.