GS2101M IP2WiFi Adapter Command Reference Guide
1VV0301499
Rev. 2.0
195
2019-08-05
–
COMMAND RE DATA
–
COMMAND RE ASYNCHRONOUS MESSAGE
NOTE:
a.) If S2W ECHO is disabled, then whenever HOST MCU issues any AT
command, GainSpan only responds with corresponding COMMAND
RESPONSE. Here, there is no way that HOST MCU can receive network DATA
or ASYNCHRONOUS MESSAGE before COMMAND RESPONSE
b.) If S2W ECHO is enabled, then there is a chance of receiving network DATA or
ASYNCHRONOUS MESSAGE before COMMAND RESPONSE. This is because,
S2W application is designed in such a way that, it reads only one character at a
time from the Serial Buffer and when it receives '\r' or '\n', it starts processing the
command.
After S2W reads each character it checks whether ECHO is enabled or not. If
enabled it will send the same character back to MCU. So during this time network
data WRITE to HOST MCU is not blocked.
c.) This is only blocked once S2W receives the complete command
NOTE:
It is highly recommended to disable ECHO in the actual application.