---
title: "\"AT+CWJAP...\" command stopped working"
url: "https://maker.wiznet.io/forum/14852"
markdown_url: "https://maker.wiznet.io/forum/14852/md"
type: "Forum topic"
category: "Wireless"
author: "AndreyS"
created: "2023-03-30T09:40:32+09:00"
last_activity: "2023-04-17T23:03:02+09:00"
language: "en"
views: 497
replies: 11
source: "WIZnet Makers forum (https://maker.wiznet.io/forum/)"
---

# "AT+CWJAP..." command stopped working

## Question

Asked by AndreyS on 2023-03-30 in Wireless.

From a certain point in time, the “AT+CWJAP…” commands stopped working.

![image](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/3/3eb75294be1f4e0d8451fa67d0ea9bd011b765e6.png)

1. What could be the reason for this?

2. How can this situation be corrected?

The following commands also do not work (return ERROR):

AT+CWLAP
~~AT+CWAUTOCONN=…~~

## Replies

### Reply 1 by austin, 2023-03-30

Hi [@AndreyS](https://maker.wiznet.io/u/andreys)

When WizFi360 is working normally, no error is returned unless the parameter value is incorrectly entered when entering the AT command.

When entering the AT command, make sure that a space is included at the end of the AT command.

When copying and pasting an AT command, sometimes a space is included at the end of the AT command, causing the error.

If the problem is still not resolved, please re-write the F/W and try again.

### Reply 2 by AndreyS, 2023-03-31

[@austin](https://maker.wiznet.io/u/austin) thank you for the answer

1. Please tell me if the AT commands are entered correctly here?
   [![image](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/b/bf7dbf907f041f5e521cb8abe84459b34bcec827.png) image460×557 20.1 KB](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/b/bf7dbf907f041f5e521cb8abe84459b34bcec827.png)

2. I rewrote F/W before and after creating this post, but it didn’t solve the problem.

3. I tried the command “AT+CWAUTOCONN…” again - it returned “OK”.

### Reply 3 by austin, 2023-04-02

Hi [@AndreyS](https://maker.wiznet.io/u/andreys)

Could you try factory resetting to UART0 rather than UART1?

When factory resetting to **UART0**, it is ‘**AT+RESTORE**’, not ‘AT+RESTORE=1’.

### Reply 4 by AndreyS, 2023-04-03

Hi [@austin](https://maker.wiznet.io/u/austin)

![image](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/d/dfb35a92df3e4c3e4d30ef1a34eb9ac287d89d7b.png)

Please explain what does “try factory resetting to UART0” mean?

### Reply 5 by austin, 2023-04-03

Hi [@AndreyS](https://maker.wiznet.io/u/andreys)

WizFi360 provides two UART ports.

[![image](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/a/afa93fbd2268e686d6a18ba2b7b83eafa26658ee.jpeg) image882×845 50.8 KB](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/a/afa93fbd2268e686d6a18ba2b7b83eafa26658ee.jpeg)

UART1, which is typically used to enter AT commands, and UART0 for debugging, which is not used.

With UART0, you can enter some AT commands.

### Reply 6 by AndreyS, 2023-04-03

[@austin](https://maker.wiznet.io/u/austin)
OK

To UART0:

![image](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/4/4c893eec7e2a4c74aea64b126ceb4334f2ea5be3.png)

Then to UART1:

![image](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/2/2b5fd2d4bc49ace895f937eca08848ff06a9f713.png)

### Reply 7 by austin, 2023-04-03

Hi [@AndreyS](https://maker.wiznet.io/u/andreys)

Could you check the MAC address?

### Reply 8 by AndreyS, 2023-04-04

Hi [@austin](https://maker.wiznet.io/u/austin)

![image](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/4/4a8631f52df017768c237a7c640ca0a129ac1828.png)

[![image](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/6/640634d576219ad1855c8853109e419a825ef998.jpeg) image960×1280 166 KB](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/6/640634d576219ad1855c8853109e419a825ef998.jpeg)

### Reply 9 by austin, 2023-04-04

Hi [@AndreyS](https://maker.wiznet.io/u/andreys)

I think the MAC address was deleted due to a previous mistake and the MAC address was changed to ‘0x:08:DC:**12:34:56**’, which is the default MAC address on the F/W.

So it seems that the problem is caused by the incorrect MAC address.

Since entering the MAC address is a matter that should not be leaked to the outside,

If you tell me your e-mail address, I will reply to you how to enter a new MAC address.

### Reply 10 by AndreyS, 2023-04-06

Hi [@austin](https://maker.wiznet.io/u/austin)
Thanks for the help.
I sent you my e-mail address in a personal message.

### Reply 11 by AndreyS, 2023-04-07

Hi [@austin](https://maker.wiznet.io/u/austin)

I restored the mac address according to the instructions you sent me. After that, the problem was solved. Thank you for your help.

---

Source: https://maker.wiznet.io/forum/14852
