# How to send AT commands to WS6318 while in continuous mode?

**URL:** <https://forum.sierrawireless.com/t/how-to-send-at-commands-to-ws6318-while-in-continuous-mode/6228>\
**Category:** Legacy AirPrime modules\
**Created:** [March 27, 2013, 3:57pm UTC](https://forum.sierrawireless.com/t/how-to-send-at-commands-to-ws6318-while-in-continuous-mode/6228 "2013-03-27T15:57:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SANEL](https://avatars.discourse-cdn.com/v4/letter/s/a88e57/32.png) [@SANEL](https://forum.sierrawireless.com/u/SANEL)\
**Post date:** [March 27, 2013, 3:57pm UTC](https://forum.sierrawireless.com/t/how-to-send-at-commands-to-ws6318-while-in-continuous-mode/6228/1 "2013-03-27T15:57:46Z")

</div>

Good day everyone!

I send some data from UDP-client launched on WS6318 to the UDP-server in continuous mode. One message per 2 seconds. The question to discuss is as follows. Is it possible to send any AT command to WS6318 while the module is this mode?

I could switch to command mode, send the AT command, read the response and then return to continuous mode. But it requires much time, which is not permitted in my project.

For example, I need to measure the strength of GSM signal using AT+CSQ command and add the result of this command to the message. But it doesn’t work. Before entering UDP-client it works ok.

Thank you very much beforehand!

SANEL

---

<div class="post-metadata">

**Author:** ![Rex\_alex](https://avatars.discourse-cdn.com/v4/letter/r/73ab20/32.png) [@Rex\_alex](https://forum.sierrawireless.com/u/Rex_alex)\
**Post date:** [March 28, 2013, 5:49am UTC](https://forum.sierrawireless.com/t/how-to-send-at-commands-to-ws6318-while-in-continuous-mode/6228/2 "2013-03-28T05:49:56Z")

</div>

Hi,

Once the module is in data mode,you cannot send any AT command.

Thanks.

---

<div class="post-metadata">

**Author:** ![SANEL](https://avatars.discourse-cdn.com/v4/letter/s/a88e57/32.png) [@SANEL](https://forum.sierrawireless.com/u/SANEL)\
**Post date:** [March 28, 2013, 8:54am UTC](https://forum.sierrawireless.com/t/how-to-send-at-commands-to-ws6318-while-in-continuous-mode/6228/3 "2013-03-28T08:54:38Z")

</div>

Good day!

Thank you for answering.

That’s right. Let’s forget about continuous mode. Is there any other possibility how to send messages from UDP-client to UDP-server and make WS6318 react to my AT commands at the same time?

Best regards,  
SANEL

---

<div class="post-metadata">

**Author:** ![SANEL](https://avatars.discourse-cdn.com/v4/letter/s/a88e57/32.png) [@SANEL](https://forum.sierrawireless.com/u/SANEL)\
**Post date:** [April 30, 2013, 7:40am UTC](https://forum.sierrawireless.com/t/how-to-send-at-commands-to-ws6318-while-in-continuous-mode/6228/4 "2013-04-30T07:40:53Z")

</div>

Good day!

There are some questions to discuss:

1. Could you explain me the difference when I send AT+WIPDATA=1,1,1 being a server or being a client? According to examples of application, in first case I do not switch to continuous mode, because it could understand my commands, but in second one I do. Why there is such a difference?
2. Could a server not only receive datagrams but send some too?

Thank you!

Best regards,  
SANEL

---

<div class="post-metadata">

**Author:** ![silvalley](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@silvalley](https://forum.sierrawireless.com/u/silvalley)\
**Post date:** [August 11, 2013, 9:49pm UTC](https://forum.sierrawireless.com/t/how-to-send-at-commands-to-ws6318-while-in-continuous-mode/6228/5 "2013-08-11T21:49:04Z")

</div>

Hi, you can send data when you are in the continius mode then switch back to AT mode. When the data arive you will be notified by +WIPDATA response.

---

<div class="post-metadata">

**Author:** ![krima919](https://avatars.discourse-cdn.com/v4/letter/k/94ad74/32.png) [@krima919](https://forum.sierrawireless.com/u/krima919)\
**Post date:** [August 15, 2013, 11:28am UTC](https://forum.sierrawireless.com/t/how-to-send-at-commands-to-ws6318-while-in-continuous-mode/6228/6 "2013-08-15T11:28:11Z")

</div>

An option is to use cmux. With this feature you can multiplex several virtual ports over one single UART. Then you can use one for data and another one for AT commands.
