summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [gsmd] to fix on reading a SMS with alpha value. (Erin Yueh)tick2007-11-261-1/+1
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3510 99fdad57-331a-0410-800a-d7fa5415bdb3
* Print version number in libgsmd-tool.jserv2007-11-241-2/+10
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3503 99fdad57-331a-0410-800a-d7fa5415bdb3
* Fixlet to dead code in cpmb_detect_cb.jserv2007-11-241-1/+1
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3502 99fdad57-331a-0410-800a-d7fa5415bdb3
* Indentation with consistent coding style of gsmd.jserv2007-11-241-52/+57
| | | | | | | Remove C++ style comments. git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3501 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: fix typos and indentationmickey2007-11-233-33/+31
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3498 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: add missing license headersmickey2007-11-235-0/+103
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3497 99fdad57-331a-0410-800a-d7fa5415bdb3
* [gsmd] slightly changed the cpmb callback because rc could be used ↵tick2007-11-201-23/+14
| | | | | | uninitialised, and avoids using strtok() on a constant string (Andrzej Zaborowski) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3451 99fdad57-331a-0410-800a-d7fa5415bdb3
* [gsmd] sorry forget to add the new file (Sean Chiang)tick2007-11-201-0/+23
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3450 99fdad57-331a-0410-800a-d7fa5415bdb3
* [gsmd] New feature for power on/off GSM modem (Sean Chiang)tick2007-11-206-1/+71
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3449 99fdad57-331a-0410-800a-d7fa5415bdb3
* [gsmd] Adding waiting mode for libgsmd-tool shell. (Andrzej Zaborowski)tick2007-11-203-18/+52
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3448 99fdad57-331a-0410-800a-d7fa5415bdb3
* [gsmd] Adding atcmd_terminate_matching (remove from the queues any command ↵tick2007-11-202-1/+30
| | | | | | whose .ctx matches given)(Andrzej Zaborowski) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3447 99fdad57-331a-0410-800a-d7fa5415bdb3
* [gsmd] Adding timeout scheme, and merge gta01 wakeup scheme as machine ↵tick2007-11-1611-156/+267
| | | | | | plug-in with timeout. (L. Sean) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3430 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: cleaning some dummy codes (Tick)tick2007-11-124-430/+0
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3394 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: adding sleep mode into libgsmd-tool shell mode(Tick)tick2007-11-121-0/+9
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3393 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: return some meaningful value from set_baudrate (Andrew & Tick)tick2007-11-121-7/+10
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3392 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: Adding hang up control(Andrew & Tick)tick2007-11-121-4/+3
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3391 99fdad57-331a-0410-800a-d7fa5415bdb3
* keeping track of current registration state internally in gsmd. Without this ↵tick2007-11-122-9/+26
| | | | | | the"gsmd->dev_state.registered" variable had bogus values. (Andrew) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3390 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: Adding IMSI support (Jim Rayner)tick2007-10-313-0/+39
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3309 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: Mainly for working around the bug of GTA01 HW with moko3, but it can ↵tick2007-10-311-0/+74
| | | | | | also solve the start up timing issue. (Tick) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3308 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: Fix the bug 928, that user cannot hang up call/cancel_atcmd until a ↵tick2007-10-312-35/+83
| | | | | | call is connected.(Andrzej Zaborowski) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3307 99fdad57-331a-0410-800a-d7fa5415bdb3
* formal version generation for gsmd-version.h considering releasejserv2007-10-251-2/+7
| | | | | | | version or not (svn repository). git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3275 99fdad57-331a-0410-800a-d7fa5415bdb3
* Patch to enable CPHS ( Common PCN Handset Specification),tick2007-10-251-2/+41
| | | | | | | and retrieve the voicemail number from SIM card for TI vendor.(Erin Yueh) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3268 99fdad57-331a-0410-800a-d7fa5415bdb3
* handle CME and CMS errors (Erin Yueh)tick2007-10-253-77/+114
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3267 99fdad57-331a-0410-800a-d7fa5415bdb3
* adding return rc to lgsm_send_simple (Andrzej Zaborowski)tick2007-10-251-6/+2
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3266 99fdad57-331a-0410-800a-d7fa5415bdb3
* Adding decoder TP-DCS, and it's based on 3GPP TS23.038 Clause 4. (Erin Yueh)tick2007-10-253-0/+104
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3265 99fdad57-331a-0410-800a-d7fa5415bdb3
* Get a correct message index value on reading a SMS (Erin Yueh)tick2007-10-251-0/+6
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3264 99fdad57-331a-0410-800a-d7fa5415bdb3
* Improvement for finding / reading phonebook records in shell.jserv2007-10-171-104/+52
| | | | | | | | | | | | From: Sean Chiang <sean_chiang@openmoko.com> Subject: [PATCH] improvement for find and read phonebooks in shell This patch improves the functions to find and read phonebooks in shell. Besides prr and pf, I add two new commands pRr and pRf to retrieve the phonebook. git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3203 99fdad57-331a-0410-800a-d7fa5415bdb3
* Improvement for find and read phonebooks in gsmd.jserv2007-10-172-23/+213
| | | | | | | | | | | | From: Sean Chiang <sean_chiang@openmoko.com> Subject: [PATCH] Improvement for find and read phonebooks in gsmd This patch is an improvement for find and read phonebooks. After clients make a request to find / read phonebooks, then clients should make a request to retrieve all the records. git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3202 99fdad57-331a-0410-800a-d7fa5415bdb3
* Added 'Ask Status report' option in shell.jserv2007-10-173-20/+20
| | | | | | | | | | | From: Andrzej Zaborowski <balrogg@gmail.com> I also moved the .ask_ds field from struct gsmd_sms into struct gsmd_sms_submit because it seemed more logical being a property of SMS-SUBMIT PDU. git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3201 99fdad57-331a-0410-800a-d7fa5415bdb3
* SMS status reportjserv2007-10-172-12/+48
| | | | | | | | | | | | | | | From: Erin Yueh <erin_yueh@openmoko.com> Subject: [PATCH] SMS status report I made a patch for SMS status report. It can change SMS-Submit messages and ask for a status report. When the destination address receives our message, the service center will send a SMS-STATUS-REPORT to us. We can tell what messages we sent by TP-MR (message reference number) value and can know the sending result by TP-ST (Status) value from status report messages. git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3200 99fdad57-331a-0410-800a-d7fa5415bdb3
* http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=834 ↵jserv2007-10-171-6/+26
| | | | | | | | | | | | | From: Kristian Mueller <kristian@mput.de> Subject: [PATCH] libgsmd-tool does not allow sms with more than one word libgsmd-tool only allows for command strings without spaces. SMS messages with more than one word will be parsed as multible commands. The patch introduces SMS message text in bracket and fixes a NULL pointer reference on mailformed "ss" commands. git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3199 99fdad57-331a-0410-800a-d7fa5415bdb3
* Fixlet to libgsmd-tool does not flush stdout in atcmd mode.jserv2007-09-121-0/+2
| | | | | | | PR833 - http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=833 git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2957 99fdad57-331a-0410-800a-d7fa5415bdb3
* fix mlbuf handling (Phillip Zabel)laforge2007-08-232-5/+9
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2806 99fdad57-331a-0410-800a-d7fa5415bdb3
* remove 'struct llist_head' from phonebook messages becauselaforge2007-08-201-0/+10
| | | | | | | | | | | | | | | * pointer in data structures passed along sockets is a bad idea, if that socket is later a network socket and the pointer size of both ends is different * we cannot include linux_list.h into libgsmd, since libgsmd is LGPL and linux_list.h GPL licensed libgsmd and gsmd are actually not using that list header, only the shell program is effected massively. I hope somebody will clean up after me. At least this now should solve the issue with non-compiling libgsmd users (such as libmokogsmd). git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2748 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: make it slightly more forgiving:mickey2007-08-191-9/+4
| | | | | | | | 1.) remove early-alive trigger 2.) don't use AT as initial command since TI firmware errors out git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2744 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: also allow ERROR as answer for the alive timer.mickey2007-08-191-2/+5
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2742 99fdad57-331a-0410-800a-d7fa5415bdb3
* Change copyrigt to OpenMoko and contributorslaforge2007-08-171-1/+1
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2738 99fdad57-331a-0410-800a-d7fa5415bdb3
* Add a flag to allow LFCR as a valid linebreak. (Alex Osborne)laforge2007-08-172-6/+19
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2736 99fdad57-331a-0410-800a-d7fa5415bdb3
* Change alive check and first commands to bare "AT"laforge2007-08-171-2/+2
| | | | | | | | | The BCM2132 responds ERROR to ATV and ATE when it is in the radio off mode (AT+CFUN=0). This causes the alive check and first command to both fail so this changes them both to just bare AT. (Alex Osborne) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2735 99fdad57-331a-0410-800a-d7fa5415bdb3
* Add Broadcom BCM2132 vendor plugin (Alex Osborne)laforge2007-08-173-1/+119
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2734 99fdad57-331a-0410-800a-d7fa5415bdb3
* Add retrieving phone's own subscriber number. (Andrzej Zaborowski)laforge2007-08-174-0/+77
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2733 99fdad57-331a-0410-800a-d7fa5415bdb3
* mlbuf in gsmd struct (Andrzej Zaborowski)laforge2007-08-171-26/+27
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2732 99fdad57-331a-0410-800a-d7fa5415bdb3
* Ignore [WCDMA] messages in HTC Universal.laforge2007-08-171-1/+8
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2731 99fdad57-331a-0410-800a-d7fa5415bdb3
* HTC TI modem sequence fixlet.laforge2007-08-171-3/+6
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2730 99fdad57-331a-0410-800a-d7fa5415bdb3
* Wait for the AT Interpreter Ready message.laforge2007-08-171-1/+10
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2729 99fdad57-331a-0410-800a-d7fa5415bdb3
* Use vendor specific ext_chars.laforge2007-08-174-2/+5
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2728 99fdad57-331a-0410-800a-d7fa5415bdb3
* Implement GSMD version printout (Matt Mets <matt.mets@cibomahto.com>)laforge2007-08-172-1/+14
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2727 99fdad57-331a-0410-800a-d7fa5415bdb3
* SIM Phonebook access implementation.laforge2007-08-174-75/+310
| | | | | | | | | | | | | | | | | | | This patch adds primitive-but-working support for SIM phonebook access, including phonebook memory storage and entry read/write/delete. Also, libgsmd-tools shell is modified to perform listing actions. API changes: lgsm_pb_read_entryies -> lgsm_pb_read_entries lgsm_pb_list_storage (new): List of supported phonebook memory storage. lgsm_pb_set_storage (new); Select phonebook memory storage. lgsmd_pb_del_entry -> lgsm_pb_del_entry lgsmd_pb_write_entry -> lgsm_pb_write_entry git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2726 99fdad57-331a-0410-800a-d7fa5415bdb3
* From: Andrzej Zaborowski <balrog@zabor.org>laforge2007-08-172-3/+141
| | | | | | | | | | | | | | | | Date: Tue, 31 Jul 2007 22:26:36 +0200 Subject: [PATCH] Operations on the preferred operators list. This makes use of the AT+CPOL variants to add / delete / list entries in the preferred operators list on the SIM. There's some inconsistency, similarly as with operator selection, in that we return operator names in long alphanumeric format but we take only operators in numeric format as parameters. Either the client will have to convert between the formats or we should always use for example the long alphanumeric format, or maybe do something else. git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2725 99fdad57-331a-0410-800a-d7fa5415bdb3
* From: Andrzej Zaborowski <balrog@zabor.org>laforge2007-08-171-18/+24
| | | | | | | | | | | | | | | Date: Tue, 31 Jul 2007 22:28:28 +0200 Subject: [PATCH] Correctly split long usock reads into packets. This is a patch for an unrelated to the above discussion timing issue in libgsmd. In particular, when the modem responds fast enough, gsmd generates usock packets fast enough for libgsmd to read multiple packets in a single read and concatenate them thus discarding all packets but first. This happens on Neo1973 when requesting for example the list of preferred operators or all operators or, sometimes, list of short messages. git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2724 99fdad57-331a-0410-800a-d7fa5415bdb3
personal git repositories of Harald Welte. Your mileage may vary