Many thanks to Thanasis for providing the debugging help.
Instructions for set up Rogers (Canada) ZTE 636 USB 'rocket' modem
================================================================
Step #1: Turn off auto-rogers windows app.
Extract from http://www.zeroflux.org/blog/post/255
================================================================
Using a Windows machine, plug in the USB device and go through the
short install wizard. Once done, close the Rogers app that starts up,
then head into the Device Manager
(Control Panel -> System -> Device Manager). Under the Ports section,
find the COM port that's connected to the USB modem (ignore the
Diagnostics one). Connect to that COM port through Hyperterminal,
found in the Accessories area of the Start Menu.
Connection parameters are
Bits per Second: 115200
Data bits: 8
Parity: None
Stop bits: 1
Flow Control: None
Once connected, type the following commands:
AT+ZOPRT=5
AT+ZCDRUN=8
This tells the modem not to use CD mode when it's first plugged
into a computer. Now exit Hypterterminal.
================================================================
Step #2: Simlib SerialModemGateway settings.
Your code needs to configure COM port, baud rate, and SmscNumber for
Rogers.
================================================================
SerialModemGateway gateway = new SerialModemGateway("modem.com4",
"COM4",
115200, "ZTE", "MF636");
// Smsc MUST be set or else outbound messages will fail:
gateway.setSmscNumber("+17057969300");
gateway.setInbound(true);
gateway.setOutbound(true);
gateway.setSimPin("0000");
================================================================
Step #3: Happiness.
With the above completed, examples/modem/SendMessage
and ReceiveMessage apps should run.
================================================================
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SMSLib User Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/SMSLib?hl=en
-~----------~----~----~----~------~----~------~--~---