summaryrefslogtreecommitdiffstats
path: root/plugins/g1.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-10plugins: Update copyright informationMarcel Holtmann1-1/+1
2011-03-11ssn: remove SSN atom completelyAndras Domokos1-2/+0
2010-10-01plugins: Mode fixups for copyrigh headersMarcel Holtmann1-0/+1
2010-09-24Make debug handling with OFONO_AT_DEBUG a bit more consistentMarcel Holtmann1-4/+6
2010-04-15Drivers can notify core of SIM insertion / removalAndrzej Zaborowski1-1/+5
Add ofono_sim_inserted_notify function to notify the core of SIM insertion / removal. Make every plugin generate a sim inserted event on start. For devices with removable card, the event should be emitted after the plugin detects such event. For devices that need to wait for SIM card initialization, they can emit this event later.
2010-01-12Style: Trailing whitespace & extra linesDenis Kenzior1-6/+6
2010-01-01Update copyright informationMarcel Holtmann1-1/+1
2009-12-02Fix: Convert G1 plugin to new world orderDenis Kenzior1-0/+9
2009-11-18Fix: modem _disable needs to send the CFUNDenis Kenzior1-4/+5
For G1 Driver
2009-11-10Fix: Rename G1 quirk to QUALCOMM_MSMDenis Kenzior1-1/+1
2009-11-01Use ofono_info() for AT command debuggingMarcel Holtmann1-1/+1
2009-10-01Update plugins to the new g_at_tty_open APIDenis Kenzior1-1/+8
2009-09-29G1: move chat handling into enable callbackAndres Salomon1-26/+22
This updates the g1 code to create the GAtChat object in the enable() callback, and to unref it in the disable() callback. This is more in line with what the other plugins do, and as a bonus fixes a segfault when powering down the G1 modem.. Signed-off-by: Andres Salomon <dilinger@collabora.co.uk>
2009-09-17Convert all the modem drivers to the new APIDenis Kenzior1-5/+14
2009-09-04Make G1 driver use the permissive parserDenis Kenzior1-85/+1
2009-09-02Some minor coding style cleanups for G1 pluginMarcel Holtmann1-8/+7
2009-09-02Parse and use Device option from modem.confMarcel Holtmann1-1/+6
2009-09-02G1: Add an SMS quirk for CNMI modeAndres Salomon1-0/+3
The G1 doesn't support mode2, despite advertising it. The G1 chokes w/ an "Error 303" when we specify NMI mode 2. Adding a quirk to drop that mode from the supported list (just use mode 1) allows the G1 to properly deal with SMS.
2009-09-02G1: Add a G1 syntax for parsingAndres Salomon1-2/+85
This is based on the generic_at parser, with unnecessary stuff removed. The G1 routinely screws up CRLFs, so the parser needs to account for that. This parser ignores leading CRLFs (which is what reference-ril does as well), as well as trailing LFs (which are sometimes left out). CRs are used as end-of-message indicators. Since we're not bothering tracking CRLFs, there's also no need for a GARBAGE state, or MULTILINE stuff.
2009-09-02G1: Add initial HTC G1 modem supportAndres Salomon1-0/+182
G1 plugin is based on generic_at, with a bunch of stuff dropped and simplified. We use AT+CFUN=1 for powering on rather than having a configurable init string. We also manually set the default state during init (the G1 appears to start in mode V0 by default). The device (/dev/smd0) is hardcoded.