summaryrefslogtreecommitdiffstats
path: root/gatchat
AgeCommit message (Collapse)AuthorFilesLines
2011-02-28gatppp: Try to detect no carrier conditionsDenis Kenzior1-0/+1
2011-02-28gatppp: Delay signaling ppp_downDenis Kenzior1-2/+14
Delay signaling of ppp_down until we exit the GAtHDLC read handler. Otherwise exchanging the read handler on GAtIO might lead to funny double consumption problems.
2011-02-28gathdlc: Try to detect no carrier conditionsDenis Kenzior2-0/+21
Sometimes we receive the no carrier embedded in a stream following the PPP packets. This might be due to write scheduling on the remote side or read scheduling locally. Try not to consume the no carrier condition and assume the previous hdlc frames will result in closing of the ppp stack.
2011-02-28gatio: Remove stray empty lineDenis Kenzior1-1/+0
2011-02-28gatio: update commentDenis Kenzior1-2/+2
2011-02-28gathdlc: Unregister read / write handlersDenis Kenzior1-0/+3
When GAtHDLC is being unregistered make sure to unregister read / write handlers so as not to crash.
2011-02-28gathdlc: drain the last hdlc frame processedDenis Kenzior1-1/+1
If we're being destroyed, we should drain the last HDLC frame
2011-02-28gsmdial: register notification before resumingDenis Kenzior1-1/+5
2011-02-28ppp: Remove some g_printsDenis Kenzior3-11/+0
2011-02-28ppp_cp: Replace some left over g_prints with DBGDenis Kenzior1-3/+3
2011-02-28gatppp: Replace some left-over g_prints with DBGDenis Kenzior1-4/+4
2011-02-28gatppp: Send the final terminate ackDenis Kenzior1-10/+42
In the case where we're going down, but have a pending terminate ack, delay signaling the upper layers until the ack has been put on the wire.
2011-02-28gatppp: Add a debug macroDenis Kenzior1-0/+7
2011-02-28gatio: Add write 'done' notifierDenis Kenzior2-0/+21
This allows external clients to get notified when GAtIO no longer has a registered write watcher. E.g. no more data is currently pending.
2011-02-28test-server: Remove root user checkDenis Kenzior1-5/+0
2011-02-28gatserver: Update the internal command parsersDenis Kenzior1-10/+3
commit 61b30c025d3d461bfd577de29f27f4f9a5546213 changed the way the command callbacks are being called (namely the contents of the GAtResult object). Most command callbacks were updated, but the internal ones were forgotten. This patch fixes this issue.
2011-02-25gatchat: Fix minor style issuesDenis Kenzior1-3/+3
2011-02-24gatchat: add g_at_result_iter_next_number_default APIFrédéric Danis2-0/+32
2011-02-23gatserver: Add function to enable/disable echoFrédéric Dalleau2-0/+11
2011-02-22gatserver: Add various ATSx handlersOlivier Guiter1-0/+36
2011-02-17test-server: Fix crash when remote disconnectsGuillaume Zajac1-0/+6
If the remote side kills the connection when PPP is established, we should not try to resume the AT server.
2011-02-16gsmdial: Fix minor style quirkDenis Kenzior1-1/+1
2011-02-16gsmdial: add option for Bluetooth DUN dialingGustavo F. Padovan1-3/+16
2011-02-16PPP: Use default ACCM (0xffffffff) to trasmitMartin Xu1-3/+5
Using my Huawei EM770W modem, if set ACCM as 0x00000000, RXJ- event breaks PPP link, after IP package transmit for a while. Using default ACCM, the issue can be fixed. I tested it at China Unicom networks.
2011-02-16gatserver: Be more const correctDenis Kenzior2-2/+2
2011-02-15test-server: Fix a few more occurrencesDenis Kenzior1-11/+10
2011-02-15gatserver: Change callback signatureDenis Kenzior3-105/+86
Provide the originating GAtServer to the callback
2011-02-15gatserver: extend D with GSM/UMTS specificsDenis Kenzior1-3/+9
2011-02-15test-server: Behavior to match previous commitDenis Kenzior1-8/+6
2011-02-15gatserver: Don't bother reporting command prefixesDenis Kenzior1-2/+10
The command line parser knows where the actual command line parameters begin, so there's no need to make the callback skip the prefix and the additional separator characters.
2011-02-14PPP: Fix transmit ACCM and receive ACCM mixupMartin Xu1-2/+14
According to RFC1662 Section 7.1, ACCM Configuration Option is used to inform the peer which control characters MUST remain mapped when the peer sends them.
2011-02-14gatserver: Add ATS5 command featureOlivier Guiter1-1/+5
2011-02-08gatmux: Remove unused error variableDenis Kenzior1-4/+2
2011-01-20gatchat: improve large file downlink data transferCarlos Pargada1-2/+2
Fix large file downlink data transfer on IFX modem. Increase buffer size of ring buffer to support close received Packets from the modem. Set highest priority for write data on IO device
2011-01-20gatchat: The IO setup already ensures no encoding and no bufferingMarcel Holtmann1-3/+0
2011-01-20gatchat: Small cleanup to make function look simplerMarcel Holtmann1-3/+2
2011-01-19gatchat: Disable encoding for RawIP GIOChannelMarcel Holtmann1-0/+1
2011-01-19gatchat: Fix setup of GIOChannel from multiplexer DLCMarcel Holtmann1-0/+4
2011-01-18gatchat: Turn off buffering of GAtChat IO channelsDenis Kenzior1-0/+2
After commit d83da353702c8533c36e06ead14aaec5ba900cf4 this was causing the command queue to never run.
2011-01-18gatserver: ATS6 command handler addedOlivier Guiter1-0/+10
2011-01-18gatchat: Use g_io_channel_read_chars and g_io_channel_write_charsMarcel Holtmann1-7/+9
2011-01-12gatchat: M15 coding styles fixesJeevaka Badrappan4-8/+8
2010-12-07gatchat: fix canceling in progress commandsVinicius Costa Gomes1-1/+1
As g_queue_peek_head() returns the node data field, we have to compare it against the actual command, not against the pointer to the queue node.
2010-11-29gatchat: explicitly compare pointers to NULLLucas De Marchi16-102/+98
This patch was generated by the following semantic patch (http://coccinelle.lip6.fr/) // <smpl> @fix disable is_null,isnt_null1@ expression *E; @@ - !E + E == NULL // </smpl>
2010-11-23gatchat: remove write watcher on a disconnectDenis Kenzior1-0/+3
There's a small probability that we call chat_wakeup_writer just before the channel disonnects. When this happens the write watcher still fires causing a potential crash.
2010-10-26gatchat: A full support for TUN/TAP pipe and GAtRawIPMarcel Holtmann1-2/+137
2010-10-26gatchat: Remove unused write_watch variable of GAtHDLCMarcel Holtmann1-1/+0
2010-10-21gatchat: Fix missing return value for g_at_chat_set_slaveMarcel Holtmann1-1/+1
2010-10-21gatchat: Add skeleton for GAtRawIP moduleMarcel Holtmann2-0/+180
This adds the basic skeleton for a GAtRawIP support. It is only the skeleton with its intended API. It has no raw IP support yet.
2010-10-21gatchat: Add support for slave chat instancesMarcel Holtmann2-0/+34
This adds support to assign a slave chat instance to an existing chat instance. The slave chat is now additionally bound by the lifetime of its master chat instance. In case the master is cloned, the slave chat instance will also be cloned as well. With this it is possible to suspend the master while still have an active slave for notifications or extra commands.