summaryrefslogtreecommitdiff
path: root/src/gsmd
Commit message (Collapse)AuthorAgeFilesLines
* HACK: re-setting a device that is using USB... is not really that greatHolger Hans Peter Freyther2013-09-171-1/+1
|
* wavecom: Fix unaligned memory access and silent stack corruptionHolger Hans Peter Freyther2013-03-171-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | The parameters were uint16_t and we asked the libc to make a store of uint32_t. So 16bit were written to the wrong part of the struct and on ARM this is causing unaligned memory access. Use the %hx to make a uint16_t store and avoid the above issue. GDB #0 0x4d4d0a20 in _IO_vfscanf () from /lib/libc.so.6 (gdb) bt #0 0x4d4d0a20 in _IO_vfscanf () from /lib/libc.so.6 #1 0x4d4d5d54 in __isoc99_vsscanf () from /lib/libc.so.6 #2 0x4d4d5cd0 in __isoc99_sscanf () from /lib/libc.so.6 #3 0x400a597c in ?? () from /usr/lib/gsmd/libgsmd-vendor_wavecom.so Cannot access memory at address 0x3 Clang: vendor_wavecom.c:114:21: warning: format specifies type 'unsigned int *' but the argument has type 'u_int16_t *' (aka 'unsigned short *') [-Wformat] sscanf(tok, "%x", &aux->u.cell_info.ci); ~~ ^~~~~~~~~~~~~~~~~~~~ %hx
* Add run-time changing of gsmd log level via libgsm/libgsmd-toolHarald Welte2013-03-151-0/+10
|
* vendor_wavecom: Reset the modem on initialization using AT+CFUN=1Harald Welte2013-03-151-0/+1
| | | | | In some cases the modem might be stuck once we start up, so it's best to re-initialize it at gsmd startup.
* update copyright noticeHarald Welte2013-03-141-0/+1
|
* gsmd: default log level is INFO, not DEBUGHarald Welte2013-03-141-1/+1
|
* Convert DEBUG to ERROR/INFO/NOTICE where applicableHarald Welte2013-03-142-17/+17
|
* gsmd: introduce command line option for log levelHarald Welte2013-03-142-3/+10
|
* wavecom/sysmocom: Directly send GPS/AIS via UDP to gpsdHarald Welte2013-03-141-2/+64
| | | | | | This avoids having to have another client program which then passes messages from gsmd into gpsd. Rather, gpsd can directly receive the messages via UDP.
* vendor_wavecom: Make sure MCC of first reported cell is not zeroHarald Welte2013-03-021-2/+2
|
* gsmd: Support Operator Names with parenthesis in their long/short nameHarald Welte2013-03-021-2/+5
| | | | | | | | The previous parser caused parsing errors when recognizing parenthesis '()' inside a network operator name like "O2 (Germany) GmbH" We now keep track if we are inside a quote, and ignore parenthesis until the end of the quote mark.
* add support for encapsulating and forwarding GPS and AIS dataHarald Welte2013-02-271-1/+54
| | | | | | we simply convert the sysmocom specific unsolicited messages into an usock event which is transported to the client[s] who subscribed to it.
* HACKS: Temporary hacks to make it work for wavecom / rf_lockHarald Welte2012-06-013-4/+11
|
* add new (incomplete) Wavecom vendor moduleHarald Welte2012-06-012-1/+156
|
* use talloc_zero_size instead of talloc_sizeHarald Welte2012-06-012-4/+4
|
* * fix segfault with generic machine plugin (by Jamal Selim)laforge2008-07-031-1/+2
| | | | | | | | the generic machine plugin doesn't have initsettings, therefore we cannot blindly assume it exists. git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4505 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: fix clip & colp parser problem (Erin Yueh)erin_yueh2008-03-251-19/+36
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4245 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: add AT commands for GTA01 devices (Erin Yueh)erin_yueh2008-03-182-2/+19
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4215 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: Query Antenna Status (Erin Yueh)erin_yueh2008-03-061-0/+14
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4174 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: revert to r4158 (Erin Yueh)erin_yueh2008-03-041-1/+0
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4162 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: change TE character set to UCS2 (olv)erin_yueh2008-03-041-0/+1
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4159 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: add vibrator at cmd (Sudharshan S)erin_yueh2008-02-261-0/+33
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4115 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: get the operator list 2nd try (Paulius Zaleckas)erin_yueh2008-02-211-1/+10
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4101 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: fix gcc warning (Erin Yueh)erin_yueh2008-02-216-9/+9
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4098 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: get battery status (Sudharshan S)erin_yueh2008-02-211-9/+33
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4091 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: bug fixed for some changes (Sudharshan S, Paulius Zaleckas)erin_yueh2008-02-181-19/+10
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4084 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: add retrieving phone info (Erin Yueh)erin_yueh2008-02-151-2/+70
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4067 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: bug fixed for atcmd buffer lengh (Erin Yueh)erin_yueh2008-02-151-2/+1
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4066 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: remove dead imsi code and fix bug (Paulius Zaleckas)erin_yueh2008-02-131-9/+1
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4061 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: add strlcpy, strlcat functions (Paulius Zaleckas)erin_yueh2008-02-139-33/+118
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4060 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: Patch for Telit GM862 GSM modem (Florian Boor)erin_yueh2008-01-313-1/+222
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3994 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: query network registration 2nd try (Erin Yueh)erin_yueh2008-01-261-1/+1
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3965 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: disable COLP to avoid cme error 512 (Sean Chiang)erin_yueh2008-01-261-1/+2
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3964 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: query network registration status (Erin Yueh)erin_yueh2008-01-241-0/+32
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3943 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: retrieve imsi value before sending at command (Sean Chiang)erin_yueh2008-01-222-1/+15
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3915 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: add 'lgsm_open_n_get' to retrieve the current country code (Sean Chiang)erin_yueh2008-01-181-0/+46
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3876 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: fix CMT_parse comma error (Sean Chiang)erin_yueh2008-01-171-7/+38
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3861 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: update sms pdu len and fix typos (Wang Yanke)erin_yueh2008-01-161-1/+1
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3853 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: remove SIGSEGV handler (Sean Chiang)erin_yueh2008-01-101-1/+0
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3808 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: eliminate gcc warnings (Erin Yueh)erin_yueh2008-01-1013-88/+84
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3807 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: add TP-MTI to gsmd_sms (Erin Yueh)erin_yueh2008-01-091-0/+3
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3791 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: fix segfault for list operator names (Sean Chiang)erin_yueh2008-01-081-50/+75
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3784 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: add Call Forwarding function (Sean Chiang)erin_yueh2008-01-031-1/+147
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3760 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: remove AT%CPHS from vendor_ti.c (Erin Yueh)erin_yueh2008-01-021-41/+1
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3759 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: add TP-STATUS return code table (Erin Yueh)erin_yueh2008-01-021-2/+2
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3758 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: set and get Voicemail number (Erin Yueh)erin_yueh2007-12-191-43/+28
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3684 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: conference call support (Sean Chiang)erin_yueh2007-12-174-26/+114
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3657 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: move PIN name to both gsmd and libgsmd (Erin Yueh)erin_yueh2007-12-131-0/+19
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3647 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: 2nd try for retrieving PIN status (Erin Yueh)erin_yueh2007-12-121-37/+43
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3636 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: Bug 1082 - PIN Status Missing (Erin Yueh)erin_yueh2007-12-101-1/+12
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3621 99fdad57-331a-0410-800a-d7fa5415bdb3
personal git repositories of Harald Welte. Your mileage may vary