foXServe 1.3
Smooth. Secure. Solid State. Silent. eXtraSmall.
@ KDEV 2007 Some Rights Reserved
How to use CDC-ACM modems for GPRS connections or to send SMS If you are looking this article probably you'll find interesting the: SMS / MMS FOXBOX THE HARDWARE GATEWAY FOR MESSAGING MANAGEMENT foXServe fully supports cdc-acm USB modem devices as TELIT MG10, and Falcom SAMBA 75 This feature was included from release 1.3.4. |
The support is built-in in foXServe. Plug the modem into USB port, type "tail -f /var/log/messages", a output as what is shown below should appear in your messages. This means that the device is connected and available on interface /dev/ttyACM0 Jan 1 00:08:55 axis kernel: crisv10_irq dbg: ctr_status_irq, controller status: host_mode started Jan 1 00:08:55 axis kernel: crisv10_irq dbg: ctr_status_irq, controller status: host_mode started running Jan 1 00:08:55 axis kernel: usb 1-1: new full speed USB device using hc-crisv10 and address 3 Jan 1 00:08:55 axis kernel: cdc_acm 1-1:1.0: ttyACM0: USB ACM device Now you can use use ppp connection available on this tutorial to perform GPRS internet connections. Below there is an example on how to send a SMS using telit MG10 trough AT Commands. The code is usefull to send AT commands to every kind of modem device. Source is available here for download. /* * Kanta SMS * Author: Davide Cantaluppi You can compile this example on-line with the WebCompiler Remember that foXServe support also USB to serial adapters with PL2303 so you can use also USB modems with this built interface converter as falcom samba 55 the difference is the device that will be /dev/ttyUSB0. |
SMS MMS FoxBox the appliance based on foxserve for messaging management |
foXServe is Developed by KDEV a Davide Cantaluppi company and running on ACME SYSTEMS srl Hardware.
@ KDEV 2007 Some Rights Reserved
foXServe firmware is free
Download it now! |
LICENSES
Apache/1.3.37 Server
Copyright 2007 Kdev of Davide Cantaluppi Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
PHP 5.0.5
"This product includes PHP software, freely available from <http://www.php.net/software/>"
MOD_DAV
This product includes software developed by Greg Stein <gstein@lyra.org> for use in the mod_dav module for Apache (http://www.webdav.org/mod_dav/).