Commit Graph

93 Commits

Author SHA1 Message Date
Guido Günther
3c13d9aec8 gsm: add preliminary USSD support (bgo #590798)
We currently convert to and from the modem's set charset and always pass
'15' as the data coding scheme. Passing the correct data coding scheme
as third argument to CUSD only upsets the network. This contradicts 3GPP
TS 23.038. Other tools like gsm-ussd handle it the same way.

Network responses that require further actions are not yet implemented.

(some fixes and cleanups by Dan Williams)
2010-11-05 14:50:50 -05:00
Dan Williams
1684d8b173 gsm: add SimIdentifier property
An obfuscated SimIdentifier that may be available before the PIN has
been entered, for use in auto-unlocking a device.  If this value is
present, it should be used in preference to DeviceIdentifier as it
is SIM-specific like the PIN code.
2010-10-25 17:41:08 -05:00
Dan Williams
328d2369a9 core: add DeviceIdentifier property
This is computed before any PIN is entered, and thus before we can
usually get IMEI or MEID/ESN out of the device in many cases. It's
therefore not the same as EquipmentIdentifier.

This is intended to be used by UI programs for matching devices with
PIN numbers for automatic unlocking.  While the PIN number is actually
*SIM* specific, no modems allow access to the IMSI before the PIN is
entered, and thus we cannot actually match the PIN with the SIM.  The
device ID is the next best thing we can use and should allow auto
unlocking in most cases.
2010-10-21 16:57:37 -05:00
Dan Williams
48aabcb60b test: add scan helper/tester 2010-08-30 14:39:25 -05:00
Dan Williams
fe2145ddc4 test: add modem info helper 2010-07-09 15:24:42 -07:00
Dan Williams
88ee478bb6 gsm: implement location API
Depends on dbus-glib 0.86 + this patch:

https://bugs.freedesktop.org/show_bug.cgi?id=28835

Still have to do the bits that allow plugins to add other
location capabilities, but that can come later.
2010-06-29 22:47:40 -07:00
Dan Williams
1c2df96f8d test: add some simple testing utilities 2010-06-29 22:24:00 -07:00
Dan Williams
c96e736700 test: fix lsudev crash 2010-04-09 19:03:03 -07:00
Dan Williams
564d054e8e cdma: increase data call initiation timeout
Some cards (Novatel S720 for example) can take a long time to start
a data call if the device isn't activated on the network or the
signal strength is low.
2010-01-19 14:35:48 -08:00
Dan Williams
1faead71aa test: handle various missing operator strings if the modem doesn't report them 2010-01-05 18:07:12 -06:00
Dan Williams
71cbcb834c build: don't require pppd headers to build
If they're not there, just ignore them and don't build the PPP-enabled
bits of the test tool.
2009-12-21 11:18:38 -08:00
Dan Williams
36d8d328c7 test: add support for static IP configured devices (ie, 'hso') 2009-12-21 10:02:57 -08:00
Dan Williams
a8fc7ecd77 test: add ability to drive ppp for connection tests 2009-12-20 00:17:12 -08:00
Dan Williams
87ee623923 test: fix build warning 2009-12-20 00:16:45 -08:00
Dan Williams
eaf167bebd test: argument parsing and connect improvements 2009-12-11 12:53:50 -08:00
Dan Williams
872fe9bf6b test: give some time before disconnecting 2009-12-02 14:42:58 -08:00
Dan Williams
3890009bcc test: actually send username and password when connecting 2009-11-29 22:45:03 -08:00
Dan Williams
01db3f1c2f test: give connect a bit more time
Registration can be part of the connect process, which can take quite a while.
2009-11-29 21:49:46 -08:00
Dan Williams
d5b0574f58 test: handle scan errors more gracefully 2009-11-29 18:56:29 -08:00
Dan Williams
50412ba3f9 test: handle signal quality exceptions 2009-11-24 15:16:58 -08:00
Dan Williams
1fe9150f5c test: add lsudev.c since I don't know where else to put it
A helpful little tool to debug udev device relationships.
2009-11-17 15:24:52 -08:00
Dan Williams
f916d939f3 test: add connect ability 2009-10-12 22:43:46 -07:00
Dan Williams
958b9048a3 cdma: split 1x and EVDO registration states
Like UMTS vs. GSM, EVDO and 1x are separate networks and technologies
and have separate registration state.  You can even be roaming on
EVDO while in your home 1x network.  Handle that.
2009-10-12 10:06:53 -07:00
Dan Williams
b7dc5f00da mm-test: fix cdma registration state parsing 2009-10-11 11:20:36 -07:00
Dan Williams
91171cdae2 cdma: implement generic registration state handling 2009-10-09 16:17:13 -07:00
Dan Williams
d867b1fe6a gsm: add cell access technology reporting to Scan() 2009-10-06 11:39:40 -07:00
Dan Williams
6cf01d2ab6 test: allow up to 60 seconds for Scan to complete 2009-09-08 17:34:04 -07:00
Dan Williams
a479b58f50 test: don't bail out on errors parsing CDMA serving system results 2009-08-31 14:30:06 -05:00
Dan Williams
09fc288f2b test: make mm-test executable again 2009-08-31 14:07:10 -05:00
Dan Williams
dc7bdd0494 test: obscure IMSI/IMEI/ESN by default
Pass --private to see these values if required.
2009-08-17 13:15:59 -05:00
Alexander Sack
12ac98e9f6 license: add license header to all files and set copyright based on git log 2009-08-06 12:43:51 +02:00
Dan Williams
af4ecc3e6d cdma: implement GetServingSystem 2009-06-19 13:55:00 -04:00
Dan Williams
9be1d66ef0 cdma: implement GetEsn() 2009-06-19 12:54:07 -04:00
Dan Williams
6d4616c1d3 modem: move GetInfo from GsmCard -> Modem interface
It's generic, everything implements some variant of +GMM, +GMR, and +GMI.
2009-06-19 12:43:37 -04:00
Dan Williams
018e9e5831 test: refactor 2009-06-19 11:51:04 -04:00
Dan Williams
53d6ca970c test: allow IMEI request to fail 2009-06-18 22:36:31 -04:00
Dan Williams
0555cc1824 test: fix up test program for current API 2009-06-18 13:28:09 -04:00
Tambet Ingo
911a105408 Fix a typo. 2009-05-25 10:17:11 +03:00
Tambet Ingo
45f32e7e09 Implement sending SMS messages.
Add a test program to use the newly added method.
2009-03-23 15:05:15 +02:00
Tambet Ingo
096246e2fd Fix mm-test.py. 2008-10-20 12:12:55 +03:00
Tambet Ingo
da3bbdc893 Add marshallers so that RegistrationInfo signal can be enabled. 2008-09-16 13:10:44 +03:00
Tambet Ingo
c375992cc2 Enable the device before trying to operate on it. 2008-07-31 15:01:01 +03:00
Tambet Ingo
f0a2dc606c Add an example testing program. 2008-07-31 14:03:37 +03:00