summaryrefslogtreecommitdiffstats
path: root/gatchat
AgeCommit message (Collapse)AuthorFilesLines
2011-10-10gatchat: Update copyright informationMarcel Holtmann39-39/+39
2011-08-15gatserver: Add command finished callbacksDenis Kenzior2-8/+46
2011-08-14gatserver: Fix not processing after async errorDenis Kenzior1-0/+1
If we send an async error response, all future commands are ignored.
2011-08-14gatserver: Add sanity checkDenis Kenzior1-0/+2
2011-08-14gatserver: Fix not sending OK final responseDenis Kenzior1-8/+13
2011-08-14gatserver: Refactor IO codeDenis Kenzior1-25/+22
The current GAtServer implementation had nasty corner cases where multiple commands were issued on the same command line. The server_suspend had no effect and we ended up processing the second command anyway, resulting in interesting side-effects or crashes. This commit simply discards the rest of the read input if the server starts processing a command. Since we do not yet support command abortion we also discard data that arrives when command is being processed.
2011-08-09gatchat: Fix marker handling within HDLC supportMarcel Holtmann1-3/+10
2011-08-09gatchat: Abort hexdump helper when no debug function is specifiedMarcel Holtmann1-0/+3
2011-08-09gatchat: Fix extra empty line issue with hexdump helperMarcel Holtmann1-1/+1
2011-08-09gatchat: Use hexdump format for HDLC debug messagesMarcel Holtmann1-4/+5
2011-08-09gatchat: Add utility function for hexdump debugsMarcel Holtmann2-1/+44
2011-08-09gatchat: Add support for sending HDLC frame start and end markersMarcel Holtmann2-6/+23
2011-08-04gatchat: Fix minor whitespace mistakeMarcel Holtmann1-1/+1
2011-07-26gatchat: Fix port settings and debugging for QCDM test toolMarcel Holtmann1-13/+4
2011-07-26gatchat: Add helper for opening QCDM portsMarcel Holtmann2-0/+35
2011-07-26gatchat: Fix handling of HDLC debug outputMarcel Holtmann1-12/+15
2011-07-25gatchat: Add terminator blacklistingDenis Kenzior2-1/+35
2011-07-11gatserver: fix certain bad behaviorDenis Kenzior1-1/+4
Due to the new GAtIO semantics, the receive function is called immediately if the receive buffer is not empty. This caused certain funny behavior in non-command (e.g. empty, a/) processing.
2011-06-29ppp: Add basic length sanity checksDenis Kenzior6-13/+28
2011-06-29gsmdial: Add pfc & acfc options to gsmdialDenis Kenzior1-2/+8
2011-06-29ppp: Don't regenerate options when unchangedDenis Kenzior1-0/+8
2011-06-29gatppp: Refactor tx pathDenis Kenzior1-15/+11
2011-06-29gatppp: Refactor rx pathDenis Kenzior2-33/+32
2011-06-29gatppp: Re-format & re-word commentsDenis Kenzior1-6/+2
2011-06-29gsmdial: Use ACFC and PFC by defaultGuillaume Zajac1-0/+3
2011-06-29GAtPPP: Add PFC option supportGuillaume Zajac4-4/+99
2011-06-29GAtPPP: Add ACFC option supportGuillaume Zajac4-26/+115
2011-05-27gatchat: Fix unused variable casesMarcel Holtmann2-0/+17
2011-05-25gsmdial: Send escape sequence followed by ATH/ATODenis Kenzior1-0/+49
This functionality can be triggered by sending SIGUSR1 / SIGUSR2 to gsmdial. e.g. kill -10 <pid> and kill -12 <pid>
2011-05-25ppp_net: Keep valgrind happyDenis Kenzior1-1/+2
2011-05-25gathdlc: Fix memory leakDenis Kenzior1-0/+2
2011-05-25gatppp: Set the suspend function in open / listenDenis Kenzior1-12/+18
In case it was set before calling these functions
2011-05-24test-server: Update to the new GAtPPP APIDenis Kenzior1-20/+22
2011-05-24gsmdial: Update to new APIDenis Kenzior1-2/+2
2011-05-24gatppp: Refactor PPP APIDenis Kenzior2-98/+43
Remove the series of constructors which take a GIOChannel directly. These weren't used. This change also allows the construction of the PPP object and filling in various pertinent information without starting the HDLC processing. The client must now use g_at_ppp_open() for the client side or g_at_ppp_listen() for the server side to start the true PPP session. The previous owner of the GAtIO object must be suspended beforehand.
2011-05-24gatppp: Make sure to clean up guard_timeout_sourceDenis Kenzior1-0/+5
2011-05-24gatppp: Rename guard_timeout_src to _sourceDenis Kenzior1-5/+4
2011-05-24gatppp: Do not call disconnect func if suspendedGuillaume Zajac1-2/+3
2011-05-24gatppp: Add GAtPPP suspend APIGuillaume Zajac2-0/+41
2011-05-24gatppp: Add GAtPPP resume functionalityGuillaume Zajac2-0/+20
2011-05-24ppp_net: add ppp_net_resume_interface() APIGuillaume Zajac2-0/+11
2011-05-24gathdlc: Squash unneeded functionDenis Kenzior1-6/+1
2011-05-24gathdlc: add g_at_hdlc_resume() APIGuillaume Zajac2-0/+17
2011-05-24gatppp: Make ppp->fd handling a bit easier to grokDenis Kenzior1-1/+6
2011-05-24ppp_net: streamline ppp_net_new logicDenis Kenzior1-16/+9
2011-05-24gatppp: Ensure created GAtPPP object is not nullDenis Kenzior1-1/+2
2011-05-24gatppp: Add new contructor to use external fdGuillaume Zajac4-17/+66
2011-05-24gatppp: Don't go over 80 characters / lineDenis Kenzior1-1/+1
2011-05-24test-server: Remove legacy codeDenis Kenzior1-12/+2
The previous thinking was to use the PPP stack to send Conf-Naks with some delay to client requests until the IP configuration was setup correctly. However, we now hide this by using the delay during the processing of the ATD. This code is no longer relevant.
2011-05-11gatppp: add name field when using chap authCaiwen Zhang1-0/+9
Some systems require name field, otherwise chap authentication will fail.