summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* cell_log: Use a custom RF-Lock handling to unlock the GSM networkHolger Hans Peter Freyther2013-03-171-11/+54
| | | | | Send a lock/unlock to the NITB application using the CTRL interface and custom messages.
* 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
* cell_log: Move from LOG_INFO to LOG_NOTICE for the operator messagesHolger Hans Peter Freyther2013-03-161-2/+2
| | | | | | We are ignoring the debug and info levels in the default configuration of the syslog. Change it to notice to make sure it is written to the log.
* cell_log: Fix typo in the debug log messageHolger Hans Peter Freyther2013-03-161-1/+1
|
* cell_log: power-cycle the modem on CME ERROR 515Harald Welte2013-03-151-1/+16
|
* Add run-time changing of gsmd log level via libgsm/libgsmd-toolHarald Welte2013-03-154-1/+35
|
* 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 new utility to take GPS and AIS messages and fwd them via UDPHarald Welte2013-02-272-1/+188
| | | | this is useful if you wish to send them into gpsd, e.g.
* add support for encapsulating and forwarding GPS and AIS dataHarald Welte2013-02-272-1/+62
| | | | | | 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 cell_log program, scanning for networsk/cells and rf_locking BTSHarald Welte2012-06-012-1/+440
|
* add new (incomplete) Wavecom vendor moduleHarald Welte2012-06-012-1/+156
|
* shell: fix manual operator selectionHarald Welte2012-06-011-1/+1
|
* introduce new "Cell Info" EventHarald Welte2012-06-011-0/+9
|
* use talloc_zero_size instead of talloc_sizeHarald Welte2012-06-012-4/+4
|
* adjust return length for ticket #1591 (Erin Yueh)erin_yueh2008-09-021-2/+4
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4618 99fdad57-331a-0410-800a-d7fa5415bdb3
* * 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: fixing the missing prototype (Sudharshan S)erin_yueh2008-03-181-1/+1
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4216 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-063-0/+26
| | | | 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-263-1/+66
| | | | 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-214-9/+49
| | | | 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-182-25/+11
| | | | 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-153-2/+126
| | | | 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: fix error handling in libgsmd-tool (Paulius Zaleckas)erin_yueh2008-02-082-1/+3
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4030 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: network registration query status (Paulius Zaleckas)erin_yueh2008-01-311-0/+1
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3989 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: remove handle packet msg type = 2 error (Erin Yueh)erin_yueh2008-01-261-2/+2
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3963 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: query network registration status (Erin Yueh)erin_yueh2008-01-243-0/+64
| | | | 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-183-0/+57
| | | | 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-172-7/+40
| | | | 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
personal git repositories of Harald Welte. Your mileage may vary