Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | wavecom/sysmocom: use AT@COPS if available, instead of AT+COPS | Harald Welte | 2013-10-13 | 3 | -2/+58 |
| | | | | | | | | | | 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. | ||||
* | misc: Update the debian packaging for 0.1.0 | Holger Hans Peter Freyther | 2013-10-02 | 3 | -2/+8 |
| | |||||
* | some modems (like wavecom) require a CR after the Ctrl+Z in PDU mode | Harald Welte | 2013-09-29 | 1 | -0/+1 |
| | |||||
* | increment library version as we broke the ABI | Harald Welte | 2013-09-29 | 2 | -2/+2 |
| | |||||
* | permit gsmd and libgsm to handle multiple instances | Harald Welte | 2013-09-29 | 6 | -8/+40 |
| | | | | | By using differntly-named unix domain sockets, we can run multiple gsmd instances in parallel. | ||||
* | make gsmd fail if the serial device disappears | Harald Welte | 2013-09-29 | 1 | -2/+4 |
| | | | | | | If the serial device disappears (e.g. because of a USB bus reset), there's no point continuing. We simply exit() gsmd and wait for somebody else (init?) to re-spawn us. | ||||
* | libgsmd/sms: make sure we have sufficient space for long MSISDN | Harald Welte | 2013-09-29 | 1 | -1/+1 |
| | | | | warning: breaks ABI | ||||
* | util: Remove shadowin of the readset parameter | Holger Hans Peter Freyther | 2013-09-24 | 1 | -1/+0 |
| | |||||
* | debian: Add the skeleton for a Debian package of gsmd | Holger Hans Peter Freyther | 2013-09-24 | 17 | -0/+148 |
| | |||||
* | lgsm: Allow to set any user data for the gsm handle | Holger Hans Peter Freyther | 2013-09-24 | 3 | -0/+16 |
| | |||||
* | misc: Ignore various files of Openmoko GSMD | Holger Hans Peter Freyther | 2013-09-24 | 1 | -1/+21 |
| | |||||
* | misc: Enable silent rules and such | Holger Hans Peter Freyther | 2013-09-24 | 1 | -0/+4 |
| | |||||
* | cell_log: Use a custom RF-Lock handling to unlock the GSM network | Holger Hans Peter Freyther | 2013-03-17 | 1 | -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 corruption | Holger Hans Peter Freyther | 2013-03-17 | 1 | -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 messages | Holger Hans Peter Freyther | 2013-03-16 | 1 | -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 message | Holger Hans Peter Freyther | 2013-03-16 | 1 | -1/+1 |
| | |||||
* | cell_log: power-cycle the modem on CME ERROR 515 | Harald Welte | 2013-03-15 | 1 | -1/+16 |
| | |||||
* | Add run-time changing of gsmd log level via libgsm/libgsmd-tool | Harald Welte | 2013-03-15 | 6 | -1/+39 |
| | |||||
* | vendor_wavecom: Reset the modem on initialization using AT+CFUN=1 | Harald Welte | 2013-03-15 | 1 | -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 notice | Harald Welte | 2013-03-14 | 1 | -0/+1 |
| | |||||
* | gsmd: default log level is INFO, not DEBUG | Harald Welte | 2013-03-14 | 1 | -1/+1 |
| | |||||
* | Convert DEBUG to ERROR/INFO/NOTICE where applicable | Harald Welte | 2013-03-14 | 2 | -17/+17 |
| | |||||
* | gsmd: introduce command line option for log level | Harald Welte | 2013-03-14 | 2 | -3/+10 |
| | |||||
* | wavecom/sysmocom: Directly send GPS/AIS via UDP to gpsd | Harald Welte | 2013-03-14 | 1 | -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 zero | Harald Welte | 2013-03-02 | 1 | -2/+2 |
| | |||||
* | gsmd: Support Operator Names with parenthesis in their long/short name | Harald Welte | 2013-03-02 | 1 | -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 UDP | Harald Welte | 2013-02-27 | 2 | -1/+188 |
| | | | | this is useful if you wish to send them into gpsd, e.g. | ||||
* | add support for encapsulating and forwarding GPS and AIS data | Harald Welte | 2013-02-27 | 4 | -2/+64 |
| | | | | | | 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_lock | Harald Welte | 2012-06-01 | 3 | -4/+11 |
| | |||||
* | add new cell_log program, scanning for networsk/cells and rf_locking BTS | Harald Welte | 2012-06-01 | 2 | -1/+440 |
| | |||||
* | add .gitignore file | Harald Welte | 2012-06-01 | 1 | -0/+13 |
| | |||||
* | add new (incomplete) Wavecom vendor module | Harald Welte | 2012-06-01 | 2 | -1/+156 |
| | |||||
* | shell: fix manual operator selection | Harald Welte | 2012-06-01 | 1 | -1/+1 |
| | |||||
* | introduce new "Cell Info" Event | Harald Welte | 2012-06-01 | 3 | -0/+19 |
| | |||||
* | use talloc_zero_size instead of talloc_size | Harald Welte | 2012-06-01 | 2 | -4/+4 |
| | |||||
* | add note about status | mickey | 2009-01-23 | 1 | -0/+3 |
| | | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4899 99fdad57-331a-0410-800a-d7fa5415bdb3 | ||||
* | remove changelog, it's incomplete | mickey | 2009-01-23 | 1 | -11/+0 |
| | | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4898 99fdad57-331a-0410-800a-d7fa5415bdb3 | ||||
* | add missing include of strl.h. patch by khorben. closing OM #2184 | mickey | 2009-01-23 | 1 | -1/+0 |
| | | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4897 99fdad57-331a-0410-800a-d7fa5415bdb3 | ||||
* | adjust return length for ticket #1591 (Erin Yueh) | erin_yueh | 2008-09-02 | 1 | -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) | laforge | 2008-07-03 | 1 | -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_yueh | 2008-03-25 | 1 | -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_yueh | 2008-03-18 | 2 | -1/+4 |
| | | | | 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_yueh | 2008-03-18 | 3 | -2/+20 |
| | | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4215 99fdad57-331a-0410-800a-d7fa5415bdb3 | ||||
* | gsmd: Query Antenna Status (Erin Yueh) | erin_yueh | 2008-03-06 | 4 | -0/+27 |
| | | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4174 99fdad57-331a-0410-800a-d7fa5415bdb3 | ||||
* | gsmd: revert to r4158 (Erin Yueh) | erin_yueh | 2008-03-04 | 3 | -3/+2 |
| | | | | 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_yueh | 2008-03-04 | 3 | -2/+3 |
| | | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4159 99fdad57-331a-0410-800a-d7fa5415bdb3 | ||||
* | gsmd: sms data structure (Paulius Zaleckas) | erin_yueh | 2008-02-26 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4116 99fdad57-331a-0410-800a-d7fa5415bdb3 | ||||
* | gsmd: add vibrator at cmd (Sudharshan S) | erin_yueh | 2008-02-26 | 6 | -1/+73 |
| | | | | 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_yueh | 2008-02-21 | 1 | -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_yueh | 2008-02-21 | 6 | -9/+9 |
| | | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4098 99fdad57-331a-0410-800a-d7fa5415bdb3 |