Support for GSM data cards
Hi guys,
so I started working on udev integration and auto-detection and pushed a few new drivers into the upstream oFono repository. It know has drivers for Android/HTC G1, Ericsson MBM, Option HSO, Novatel and Huawai modems. An example of three devices attached to the same system would look then like this:
[ /mbm2 ]
Powered = 1
Interfaces = org.ofono.SmsManager org.ofono.NetworkRegistration Model = F3507g
Manufacturer = Ericsson
Serial = 0115xxxxxxxxxx
Revision = R1B003
[ org.ofono.SmsManager ]
ServiceCenterAddress = +17057969300
[ org.ofono.NetworkRegistration ]
Status = registered
Operator = ROGERS
AvailableOperators = /mbm2/operator/302720 LocationAreaCode = 65080
CellId = 1305559
[ /huawei1 ]
Powered = 1
Interfaces = org.ofono.NetworkRegistration Model = E160
Manufacturer = huawei
Serial = 3538xxxxxxxxxx
Revision = 11.604.18.01.00
[ org.ofono.NetworkRegistration ]
Status = roaming
Operator = CAN Rogers Wirel AvailableOperators = /huawei1/operator/302720
[ /hso0 ]
Powered = 1
Interfaces = org.ofono.SmsManager org.ofono.NetworkRegistration Model = GlobeTrotter HSDPA Modem
Manufacturer = Option N.V.
Serial = 3597xxxxxxxxxx
Revision = 2.5.13Hd (Date: Feb 18 2008, Time: 18:32:40) [ org.ofono.SmsManager ]
ServiceCenterAddress = +491710760000
[ org.ofono.NetworkRegistration ]
Status = roaming
Operator = Rogers Wireless - T-Mobile D AvailableOperators = /hso0/operator/302720 LocationAreaCode = 16100
CellId = 47738
All of the drivers are far from finished. The best working one is the Ericsson MBM right now. I even managed to send a text message via the SMS interface. When trying that with an Option device the AT parser hangs itself. So we need some quirk there. Everybody is welcome to debug it and send a patch.
The Novatel and Huawei devices, don't seem to support SMS. Or they do and don't report it correctly. Also the Novatel card has problems with the network registration. It refuses to work. This needs also to be debugged.
If the drivers network registration does work, then it looks nicely like the following output:
[ /mbm2 ]
[ /mbm2/operator/302720 ]
Status = current
MobileNetworkCode = 720
Technology = UTRAN
Name = ROGERS
MobileCountryCode = 302
[ /huawei1 ]
[ /huawei1/operator/302720 ]
Status = current
MobileNetworkCode = 720
Technology = UTRAN
Name = CAN Rogers Wirel
MobileCountryCode = 302
[ /hso0 ]
[ /hso0/operator/302720 ]
Status = current
MobileNetworkCode = 720
Technology = GSM
Name = Rogers Wireless - T-Mobile D
MobileCountryCode = 302
The MBM device contains a local SIM card and the other two are actually roaming.
The goal for these data cards should be to support text messaging and GPRS (once we defined and implemented that interface). Any help is more than welcome.
Regards
Marcel