User manual
Confidential, the whole present document is the sole property of Maestro Wireless Solution Ltd.
19
4.3. AT commands for tuning AutoTCP/UDP connection
4.3.1. AT+AUFCM command
This command controls the buffering time of TDP/UDP data sent to remote peer. Data coming towards UART will be
buffered for a “delay” period before being sent out.
Command Syntax
AT+AUFCM=<delay>
Response syntax:
+AUFCM: <delay>
Command
Possible responses:
AT+AUFCM=1
OK
Note : set the +AUFCM value to 1
AT+ AUFCM?
+AUFCM : 2
OK
Note: display current status
AT+AUFCM=?
+AUFCM : (1-255)
Note : possible argument
Defined Values:
<delay>
Default value: 0
Possible value: 1 to 255
Delay units between sending buffered data to TCP/UDP peer. The actual delay time is calculated by the value of <delay>
times 18.5 ms. So if <delay> is equal to 2 that means data will be sent to remote peer every 39ms (or immediately if
internal buffer is full) Increasing this value can make the data packet size bigger especially when data flow is slow, thus
reducing overhead.
Note :
- If the value is set too high the maximum data transfer speed may be decreased.
4.4. AT commands for TCP/UDP connection control
4.4.1. AT+AUOPT command
This command lets user to set option parameters to control socket connection. There are three option parameters:
1. Socket idle period:
period of connected socket but zero data traffic, close socket when timeout
2. Server idle period:
period of connected socket but zero data traffic, de-activate GPRS and reactivate GPRS when timeout
3. Socket connect period:
period of maximum allowed connection time, close socket when timeout.