Commit Graph

102 Commits

Author SHA1 Message Date
Harald Welte 2aa67b809f wavecom/sysmocom: use AT@COPS if available, instead of AT+COPS
In certain sysmocom proprietary versions of the wavecom modem,
we have a non-blocking operator scan command called AT@COPS=?,
which we can use instead of AT+COPS=?.

The wavecom vendor plugin checks at start time if the command is
available.  If yes, iti s used in case a libgsm client is asking for an
operator scan, instead of the standard AT+COPS=? variant.
2013-10-13 18:22:44 +02:00
Harald Welte a72236a1d0 permit gsmd and libgsm to handle multiple instances
By using differntly-named unix domain sockets, we can run
multiple gsmd instances in parallel.
2013-09-29 14:56:44 +02:00
Harald Welte 0768e7c1ba libgsmd/sms: make sure we have sufficient space for long MSISDN
warning: breaks ABI
2013-09-29 13:46:31 +02:00
Holger Hans Peter Freyther 32bf396bb5 lgsm: Allow to set any user data for the gsm handle 2013-09-24 01:36:42 +02:00
Harald Welte 3ec111676f Add run-time changing of gsmd log level via libgsm/libgsmd-tool 2013-03-15 11:07:12 +01:00
Harald Welte 821f3af2ac add support for encapsulating and forwarding GPS and AIS data
we simply convert the sysmocom specific unsolicited messages into
an usock event which is transported to the client[s] who subscribed
to it.
2013-02-27 18:08:17 +01:00
Harald Welte b0c5b8a269 introduce new "Cell Info" Event 2012-06-01 21:58:06 +02:00
mickey 312d4782d4 add missing include of strl.h. patch by khorben. closing OM #2184
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4897 99fdad57-331a-0410-800a-d7fa5415bdb3
2009-01-23 00:59:23 +00:00
erin_yueh 233f48b64d gsmd: fixing the missing prototype (Sudharshan S)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4216 99fdad57-331a-0410-800a-d7fa5415bdb3
2008-03-18 05:43:01 +00:00
erin_yueh 98fd14b2b4 gsmd: add AT commands for GTA01 devices (Erin Yueh)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4215 99fdad57-331a-0410-800a-d7fa5415bdb3
2008-03-18 05:35:59 +00:00
erin_yueh 636e8ecfdf gsmd: Query Antenna Status (Erin Yueh)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4174 99fdad57-331a-0410-800a-d7fa5415bdb3
2008-03-06 09:35:12 +00:00
erin_yueh dc73a4a864 gsmd: revert to r4158 (Erin Yueh)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4162 99fdad57-331a-0410-800a-d7fa5415bdb3
2008-03-04 06:57:19 +00:00
erin_yueh ca7a544737 gsmd: change TE character set to UCS2 (olv)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4159 99fdad57-331a-0410-800a-d7fa5415bdb3
2008-03-04 03:56:36 +00:00
erin_yueh 5d459abf66 gsmd: sms data structure (Paulius Zaleckas)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4116 99fdad57-331a-0410-800a-d7fa5415bdb3
2008-02-26 09:03:03 +00:00
erin_yueh 33b13190e1 gsmd: add vibrator at cmd (Sudharshan S)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4115 99fdad57-331a-0410-800a-d7fa5415bdb3
2008-02-26 08:57:39 +00:00
erin_yueh 29a2f6a3b4 gsmd: get battery status (Sudharshan S)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4091 99fdad57-331a-0410-800a-d7fa5415bdb3
2008-02-21 05:16:15 +00:00
erin_yueh 20adbe01bb gsmd: bug fixed for some changes (Sudharshan S, Paulius Zaleckas)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4084 99fdad57-331a-0410-800a-d7fa5415bdb3
2008-02-18 09:42:28 +00:00
erin_yueh 9425af516e gsmd: add retrieving phone info (Erin Yueh)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4067 99fdad57-331a-0410-800a-d7fa5415bdb3
2008-02-15 11:10:16 +00:00
erin_yueh bf667e7e9c gsmd: add strlcpy, strlcat functions (Paulius Zaleckas)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4060 99fdad57-331a-0410-800a-d7fa5415bdb3
2008-02-13 03:48:28 +00:00
erin_yueh 5c8c55e466 gsmd: network registration query status (Paulius Zaleckas)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3989 99fdad57-331a-0410-800a-d7fa5415bdb3
2008-01-31 07:05:30 +00:00
erin_yueh 5fee08036b gsmd: query network registration 2nd try (Erin Yueh)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3965 99fdad57-331a-0410-800a-d7fa5415bdb3
2008-01-26 18:40:25 +00:00
erin_yueh 288049ff76 gsmd: query network registration status (Erin Yueh)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3943 99fdad57-331a-0410-800a-d7fa5415bdb3
2008-01-24 15:20:40 +00:00
erin_yueh b97df6c149 gsmd: retrieve imsi value before sending at command (Sean Chiang)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3915 99fdad57-331a-0410-800a-d7fa5415bdb3
2008-01-22 13:41:36 +00:00
erin_yueh 07aca97d83 gsmd: add 'lgsm_open_n_get' to retrieve the current country code (Sean Chiang)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3876 99fdad57-331a-0410-800a-d7fa5415bdb3
2008-01-18 09:15:33 +00:00
erin_yueh 9b7916395e gsmd: fix CMT_parse comma error (Sean Chiang)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3861 99fdad57-331a-0410-800a-d7fa5415bdb3
2008-01-17 08:35:53 +00:00
erin_yueh 6274c0663e gsmd: update sms pdu len and fix typos (Wang Yanke)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3853 99fdad57-331a-0410-800a-d7fa5415bdb3
2008-01-16 06:44:11 +00:00
erin_yueh fbc0b49756 gsmd: eliminate gcc warnings (Erin Yueh)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3807 99fdad57-331a-0410-800a-d7fa5415bdb3
2008-01-10 05:14:53 +00:00
erin_yueh 9567f52dbf gsmd: add TP-MTI to gsmd_sms (Erin Yueh)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3791 99fdad57-331a-0410-800a-d7fa5415bdb3
2008-01-09 05:25:53 +00:00
erin_yueh 315e8b4550 gsmd: add Call Forwarding function (Sean Chiang)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3760 99fdad57-331a-0410-800a-d7fa5415bdb3
2008-01-03 09:13:39 +00:00
erin_yueh a38a88c8f1 gsmd: add TP-STATUS return code table (Erin Yueh)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3758 99fdad57-331a-0410-800a-d7fa5415bdb3
2008-01-02 03:09:03 +00:00
erin_yueh 5f522a277d gsmd: set and get Voicemail number (Erin Yueh)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3684 99fdad57-331a-0410-800a-d7fa5415bdb3
2007-12-19 09:34:34 +00:00
erin_yueh cbbf460121 gsmd: conference call support (Sean Chiang)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3657 99fdad57-331a-0410-800a-d7fa5415bdb3
2007-12-17 09:31:02 +00:00
erin_yueh e4fa3bc9cd gsmd: move PIN name to both gsmd and libgsmd (Erin Yueh)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3647 99fdad57-331a-0410-800a-d7fa5415bdb3
2007-12-13 02:55:54 +00:00
erin_yueh 30c8022061 gsmd: 2nd try for retrieving PIN status (Erin Yueh)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3636 99fdad57-331a-0410-800a-d7fa5415bdb3
2007-12-12 12:48:10 +00:00
erin_yueh 3a4c4251d0 gsmd: remove the redundant API of phonebook(Sean Chiang)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3634 99fdad57-331a-0410-800a-d7fa5415bdb3
2007-12-12 03:45:46 +00:00
erin_yueh ccfdb913d1 gsmd: Bug 1082 - PIN Status Missing (Erin Yueh)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3621 99fdad57-331a-0410-800a-d7fa5415bdb3
2007-12-10 06:36:38 +00:00
tick d5eeb70410 gsmd: add "RING" timeout scheme, for those modem not have %CPI (like) supports (Andrzej Zaborowski)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3572 99fdad57-331a-0410-800a-d7fa5415bdb3
2007-12-05 08:14:34 +00:00
tick c30754e2f0 gsmd: Provide Current Call status (sean_chiang)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3557 99fdad57-331a-0410-800a-d7fa5415bdb3
2007-12-04 07:22:17 +00:00
tick f09dc3e887 gsmd: Rewrite read, readrg and find of phonebook. (Sean Chiang)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3551 99fdad57-331a-0410-800a-d7fa5415bdb3
2007-12-03 07:08:22 +00:00
tick 9fd5a57b64 gsmd: Severe clean-up (Andrzej Zaborowski)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3546 99fdad57-331a-0410-800a-d7fa5415bdb3
2007-12-01 01:57:09 +00:00
tick d88e159790 gsmd: Submitting a PIN for authentication needs to respond with status too.(Andrzej Zaborowski)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3545 99fdad57-331a-0410-800a-d7fa5415bdb3
2007-12-01 01:55:39 +00:00
tick ed45d021e8 gsmd: Refactorying get_imsi from PHONEBOOK to PHONE (tick)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3519 99fdad57-331a-0410-800a-d7fa5415bdb3
2007-11-27 08:24:57 +00:00
tick a78ac8ad86 [gsmd] make "make dist" correctly
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3518 99fdad57-331a-0410-800a-d7fa5415bdb3
2007-11-27 03:29:59 +00:00
mickey b1fc49979c gsmd: start with gsmd_msg_auxdata union
Using a union here (similar to gsmd_evt_auxdata) allows for compiler checks and
is much less prone to fail than using pointer arithmetics.


git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3504 99fdad57-331a-0410-800a-d7fa5415bdb3
2007-11-25 20:07:09 +00:00
tick 66ce291b39 [gsmd] New feature for power on/off GSM modem (Sean Chiang)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3449 99fdad57-331a-0410-800a-d7fa5415bdb3
2007-11-20 06:05:28 +00:00
tick 6ad8e1931d [gsmd] Adding atcmd_terminate_matching (remove from the queues any command whose .ctx matches given)(Andrzej Zaborowski)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3447 99fdad57-331a-0410-800a-d7fa5415bdb3
2007-11-20 04:17:35 +00:00
tick 5e9fde8743 [gsmd] Adding timeout scheme, and merge gta01 wakeup scheme as machine plug-in with timeout. (L. Sean)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3430 99fdad57-331a-0410-800a-d7fa5415bdb3
2007-11-16 08:55:01 +00:00
tick cd687c0c2f gsmd: cleaning some dummy codes (Tick)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3394 99fdad57-331a-0410-800a-d7fa5415bdb3
2007-11-12 09:42:38 +00:00
mickey 00277d6968 gsmd: fix typos in event.h
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3375 99fdad57-331a-0410-800a-d7fa5415bdb3
2007-11-08 12:59:29 +00:00
tick df2acb0b0e gsmd: Adding IMSI support (Jim Rayner)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3309 99fdad57-331a-0410-800a-d7fa5415bdb3
2007-10-31 06:42:58 +00:00