Multi-flow management +wmfm – Rainbow Electronics FARGO MAESTRO 100 (with TCP_IP) User Manual
Page 162

Serial Port Commands
Multi-flow Management +WMFM
©Restricted
Page:
156 / 184
This document is the sole and exclusive property of Wavecom. Not to be distributed or divulged without
prior written agreement.
WM_DEV_OAT_UGD_049 - 001
VOLUME 1
August 23, 2007
8.12
Multi-flow Management +WMFM
8.12.1
Description
This Wavecom proprietary command manages Multi-Flows:
• opening or closing ports
• associating (or attaching, redirecting) incoming data to ports.
By default, only UART1 is opened, and GSM and GPRS (if applicable) data direction is
dynamic.
8.12.2
Syntax
• for <type_of_action>=0
Action command
AT+WMFM=<type_of_action>,<mode>[,<port_id>]
[+WMFM: <type_of_action>,<mode>,<port_id>,<state>[…]]
OK
• for <type_of_action>=1
Action command
AT+WMFM=<type_of_action>,<mode>[,<port_id>[,<data>]]
[+WMFM: <type_of_action>,<mode>,<port_id>,<data>[…]]
OK
Read command
AT+WMFM?
+WMFM: <type_of_action>,<mode>,<port_id>,<state>
[+WMFM: <type_of_action>,<mode>,<port_id>,<state>[…]]
+WMFM: <type_of_action>,<mode>,<port_id>,<data>
[+WMFM: <type_of_action>,<mode>,<port_id>,<data>[…]]
OK