summaryrefslogtreecommitdiff
path: root/src/gsmd
Commit message (Collapse)AuthorAgeFilesLines
* in some cases the Qualcomm chip in the HTC Universal switches to V0 modelaforge2007-07-312-2/+7
| | | | | | | | | behind our backs. We need support for "0" instead of "OK" in the synchronous initial command and in the alive check. Note that this nearly duplicates the "OK" check in atcmd.c. (Philip Zabel) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2580 99fdad57-331a-0410-800a-d7fa5415bdb3
* don't power off the phone at gsmd startup.laforge2007-07-311-2/+0
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2579 99fdad57-331a-0410-800a-d7fa5415bdb3
* the latest gsmd sends the alive detector's ATE0 to the GSM modem, evenlaforge2007-07-312-3/+5
| | | | | | | | | if interpreter_ready == 0. The attached patch sees to it that if interpreter_ready is zero, gsmd_alive_start is only called once the "AT-Command Interpreter ready" message was seen. (Philipp Zabel) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2578 99fdad57-331a-0410-800a-d7fa5415bdb3
* Use ATH instead of ATH0 for QC compatibility (Philipp Zabel)laforge2007-07-311-1/+2
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2577 99fdad57-331a-0410-800a-d7fa5415bdb3
* Add higher baudrates: 230k, 460k, 921k (Alex Osborne)laforge2007-07-311-0/+3
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2576 99fdad57-331a-0410-800a-d7fa5415bdb3
* * add GTA02 machine type definition for gsmdlaforge2007-06-181-0/+1
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2294 99fdad57-331a-0410-800a-d7fa5415bdb3
* Ignore 1:1 echos of commands sent. This is mainly to work around modems thatlaforge2007-06-061-0/+5
| | | | | | | | are initially in 'E1' state, i.e. have echo enabled. This means that our first ATE0V1 command will get echoed before we receive OK. (Philipp Zabel) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2180 99fdad57-331a-0410-800a-d7fa5415bdb3
* first implementation (ugly) of operator name querylaforge2007-06-031-4/+23
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2135 99fdad57-331a-0410-800a-d7fa5415bdb3
* * add timeout to initial modem detectionlaforge2007-06-021-25/+41
| | | | | | | | * make sure we only fork into background after the modem has been detected * clean up the loglevel of some log statements git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2131 99fdad57-331a-0410-800a-d7fa5415bdb3
* Add 'modem alive' detection. We inquire every five minutes if the modem is ↵laforge2007-06-023-4/+352
| | | | | | still alive. git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2130 99fdad57-331a-0410-800a-d7fa5415bdb3
* remove stupid default serial port /dev/ttyUSB0laforge2007-06-021-5/+17
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2128 99fdad57-331a-0410-800a-d7fa5415bdb3
* implement manual override for vendor/machine typelaforge2007-06-022-19/+54
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2127 99fdad57-331a-0410-800a-d7fa5415bdb3
* follow automake/libtool convention for building dlopen'ed moduleslaforge2007-06-021-0/+5
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2126 99fdad57-331a-0410-800a-d7fa5415bdb3
* add machine / vendor plugin infrastructure (Philip Zabel)laforge2007-06-0210-16/+752
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2123 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd: power off the phone when gsmd starts up to have a consistent starting ↵mickey2007-05-161-2/+2
| | | | | | point git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@1964 99fdad57-331a-0410-800a-d7fa5415bdb3
* make CLIP/COLP numbers zero-terminated (Closes: #525)laforge2007-05-011-2/+4
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@1892 99fdad57-331a-0410-800a-d7fa5415bdb3
* * compile fix (include sys/select.h) to make it build on *BSD (Holger Freyther)laforge2007-04-291-0/+1
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@1870 99fdad57-331a-0410-800a-d7fa5415bdb3
* zero LAC and CI if +CREG is 0 / 2 (and not 1). (Closes: #454)laforge2007-04-251-1/+2
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@1827 99fdad57-331a-0410-800a-d7fa5415bdb3
* The standard says that the parameter is not optional. Some modemslaforge2007-04-211-1/+1
| | | | | | | (correctly) return "ERROR" in response to "AT+COPS". (Philipp Zabel) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@1812 99fdad57-331a-0410-800a-d7fa5415bdb3
* parse numeric responses for RING, NO CARRIER and BUSY (Philip Zabel)laforge2007-04-151-5/+8
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@1766 99fdad57-331a-0410-800a-d7fa5415bdb3
* * add (still incomplete) SMS and phonebook support from Sean Chianglaforge2007-04-152-0/+436
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@1765 99fdad57-331a-0410-800a-d7fa5415bdb3
* add parsing of +CMS errors according to GSM 07.05 (Philipp Zabel)laforge2007-03-281-1/+13
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@1529 99fdad57-331a-0410-800a-d7fa5415bdb3
* fix GSM signal strength parsing (Closes: 291)laforge2007-03-281-2/+1
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@1520 99fdad57-331a-0410-800a-d7fa5415bdb3
* * add CTZV stublaforge2007-03-101-4/+11
| | | | | | | * dont escape % sign in non-format strings git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@1317 99fdad57-331a-0410-800a-d7fa5415bdb3
* * include stdio from talloc.hlaforge2007-03-106-7/+377
| | | | | | | | | | * add new generic extended-response parser * add operator cache, using ext-resp-parser * add proper detection of supported %CPI modes and select highest available one * add %CTZV to vendor_ti init string git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@1316 99fdad57-331a-0410-800a-d7fa5415bdb3
* * properly implement PIN/PUK handling throughout gsmd/libgsmd/utillaforge2007-03-102-5/+46
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@1314 99fdad57-331a-0410-800a-d7fa5415bdb3
* * deal correctly with 'gsm power cycling'laforge2007-03-101-3/+6
| | | | | | | * consider % as prefix for extended response, even though non-standard git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@1313 99fdad57-331a-0410-800a-d7fa5415bdb3
* fix typo in last commitlaforge2007-03-091-1/+1
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@1309 99fdad57-331a-0410-800a-d7fa5415bdb3
* move CTZR into vendor_ti.c, since not all GSM Modems support it (Philipp Zabel)laforge2007-03-092-2/+2
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@1307 99fdad57-331a-0410-800a-d7fa5415bdb3
* * introduce ciphering indication parsing and event generationlaforge2007-03-082-1/+38
| | | | | | | | * stubs for volume control * add data structure resembing gsm device state git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@1281 99fdad57-331a-0410-800a-d7fa5415bdb3
* make AT%CPI parse tolerant to empty fieldslaforge2007-03-081-2/+3
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@1279 99fdad57-331a-0410-800a-d7fa5415bdb3
* Introduce new '-F' switch to enable/disable hardware flow controllaforge2007-01-311-3/+15
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@641 99fdad57-331a-0410-800a-d7fa5415bdb3
* - Add copyright / license notice to all source code fileslaforge2007-01-139-18/+210
| | | | | | | - Add some 'get operator name' skeleton git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@546 99fdad57-331a-0410-800a-d7fa5415bdb3
* - use talloc (of samba project) to debug memory allocations and simplify codelaforge2007-01-126-53/+240
| | | | | | | | | | | - introduce new ucmd_alloc() function - add DTMF support to gsmd, libgsmd and gsmd-util - fix crash of libgsmd when events don't have handlers registered - implement call progress for TI modem - split modem init string in separate commands to fit our parser git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@544 99fdad57-331a-0410-800a-d7fa5415bdb3
* add the 'talloc' memory allocator (from samba3)laforge2007-01-102-1/+1134
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@534 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd is supposed to go into 'sbin' not 'bin'laforge2007-01-081-1/+2
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@518 99fdad57-331a-0410-800a-d7fa5415bdb3
* add sms skeletonlaforge2007-01-081-0/+182
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@517 99fdad57-331a-0410-800a-d7fa5415bdb3
* add missing file (thanks to Mickey)laforge2006-10-251-0/+3
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@121 99fdad57-331a-0410-800a-d7fa5415bdb3
* - clean up header files (all in include/gmsd now)laforge2006-10-2415-190/+307
| | | | | | | | - finish vendor plugin support - add call progress indicator and signal quality unsolicited support to vendor_ti.c git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@120 99fdad57-331a-0410-800a-d7fa5415bdb3
* first working revision of gsmd, libgsmd and libgsmd-toollaforge2006-10-233-22/+67
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@115 99fdad57-331a-0410-800a-d7fa5415bdb3
* more gsmd/libgsm implementationlaforge2006-10-233-16/+53
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@114 99fdad57-331a-0410-800a-d7fa5415bdb3
* gsmd passthrough mode now workinglaforge2006-10-228-47/+109
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@109 99fdad57-331a-0410-800a-d7fa5415bdb3
* - fix parsing of unsolicited codes laforge2006-10-224-14/+24
| | | | | | | - fix segfault due to missing zero-filled option in 'struct option' array git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@102 99fdad57-331a-0410-800a-d7fa5415bdb3
* add logging infrastructure to gsm daemonlaforge2006-10-226-387/+120
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@98 99fdad57-331a-0410-800a-d7fa5415bdb3
* add missing makefile.amlaforge2006-10-221-0/+9
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@97 99fdad57-331a-0410-800a-d7fa5415bdb3
* some further gsmd/libgsmd worklaforge2006-10-224-46/+155
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@96 99fdad57-331a-0410-800a-d7fa5415bdb3
* - some more gsmd / libgsmd codelaforge2006-10-208-21/+624
| | | | | | | - use autotools for build process git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@94 99fdad57-331a-0410-800a-d7fa5415bdb3
* intermediate state (this shouldn't be a commit) just to move from one ↵laforge2006-10-091-0/+6
| | | | | | machine to the other git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@70 99fdad57-331a-0410-800a-d7fa5415bdb3
* remove old broken filelaforge2006-09-021-0/+0
| | | | git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@41 99fdad57-331a-0410-800a-d7fa5415bdb3
* first compiling (unfinished, not-working) version of userspace gsm ↵laforge2006-09-0215-0/+1311
infrastructure git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@40 99fdad57-331a-0410-800a-d7fa5415bdb3
personal git repositories of Harald Welte. Your mileage may vary