cancel
Showing results for 
Search instead for 
Did you mean: 

ST67W611M1 AT+CWLAP command

alan239955_st
Associate II

Trying to get AT+CWLAP command to work

"AT+CWLAP=1" isn't enough input to get READY to rise.

"AT+CWLAP=1,,,400,1000" gives "ERROR".

Previous commands have worked as expected

"AT+PWR=0"
"AT+CWMODE=1,0"
"AT+CWAUTOCONN=0"
"AT+CWCOUNTRY=0,\"00\""
"AT+CWHOSTNAME=\"ST67_Min\""
"AT+SLCLDTIM"
"AT+CWSTATE?"
"AT+CWLAPOPT=1,22,-90,255,10"

Any suggestions for AT+CWLAP syntax?

Using 1.20 and ST32H563 Nucleo

2 REPLIES 2
EPASZ.1
ST Employee

Hello,
using the same command sequence with the latest ST67 binary (2.0.97 T01) works well on my side. The issue with using 
AT+CWLAP=1,,,400,1000
is that you are specifying channel parameter as 400 - I guess you are missing one "," character there.
For the other point ""AT+CWLAP=1" isn't enough input to get READY to rise" - I'm not sure how you are using / driving the NCP. Here, the expected outcome is that "OK" is received first, and then the separate reports. Can you specify what FW is running on your host?
You can take https://wiki.st.com/stm32mcu/wiki/Connectivity:ST67W611M1_spi#SPI_software_implementation and https://github.com/stm32-hotspot/ST67W61-Bare-metal-implementation as references if you want to create your own AT interface.

alan239955_st
Associate II

Doh! It was a missing comma. "AT+CWLAP=1,,,,400,1000" gives response "OK"

I am using the Bare Metal Implementation and still see that "AT+CWLAP=1" branches to "err" at 

while (1) {

/* Wait for RDY rising edge (response ready) */

if (wait_for_rdy_rising(SPI_IFACE_TIMEOUT_DEF_MS) < 0) { ret = -1; goto _err; }

Thank you