summaryrefslogtreecommitdiff
path: root/gatchat
Commit message (Collapse)AuthorAgeFilesLines
...
* gatserver: Fix not sending OK final responseDenis Kenzior2011-08-141-8/+13
|
* gatserver: Refactor IO codeDenis Kenzior2011-08-141-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.
* gatchat: Fix marker handling within HDLC supportMarcel Holtmann2011-08-091-3/+10
|
* gatchat: Abort hexdump helper when no debug function is specifiedMarcel Holtmann2011-08-091-0/+3
|
* gatchat: Fix extra empty line issue with hexdump helperMarcel Holtmann2011-08-091-1/+1
|
* gatchat: Use hexdump format for HDLC debug messagesMarcel Holtmann2011-08-091-4/+5
|
* gatchat: Add utility function for hexdump debugsMarcel Holtmann2011-08-092-1/+44
|
* gatchat: Add support for sending HDLC frame start and end markersMarcel Holtmann2011-08-092-6/+23
|
* gatchat: Fix minor whitespace mistakeMarcel Holtmann2011-08-041-1/+1
|
* gatchat: Fix port settings and debugging for QCDM test toolMarcel Holtmann2011-07-261-13/+4
|
* gatchat: Add helper for opening QCDM portsMarcel Holtmann2011-07-262-0/+35
|
* gatchat: Fix handling of HDLC debug outputMarcel Holtmann2011-07-261-12/+15
|
* gatchat: Add terminator blacklistingDenis Kenzior2011-07-252-1/+35
|
* gatserver: fix certain bad behaviorDenis Kenzior2011-07-111-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.
* ppp: Add basic length sanity checksDenis Kenzior2011-06-296-13/+28
|
* gsmdial: Add pfc & acfc options to gsmdialDenis Kenzior2011-06-291-2/+8
|
* ppp: Don't regenerate options when unchangedDenis Kenzior2011-06-291-0/+8
|
* gatppp: Refactor tx pathDenis Kenzior2011-06-291-15/+11
|
* gatppp: Refactor rx pathDenis Kenzior2011-06-292-33/+32
|
* gatppp: Re-format & re-word commentsDenis Kenzior2011-06-291-6/+2
|
* gsmdial: Use ACFC and PFC by defaultGuillaume Zajac2011-06-291-0/+3
|
* GAtPPP: Add PFC option supportGuillaume Zajac2011-06-294-4/+99
|
* GAtPPP: Add ACFC option supportGuillaume Zajac2011-06-294-26/+115
|
* gatchat: Fix unused variable casesMarcel Holtmann2011-05-272-0/+17
|
* gsmdial: Send escape sequence followed by ATH/ATODenis Kenzior2011-05-251-0/+49
| | | | | This functionality can be triggered by sending SIGUSR1 / SIGUSR2 to gsmdial. e.g. kill -10 <pid> and kill -12 <pid>
* ppp_net: Keep valgrind happyDenis Kenzior2011-05-251-1/+2
|
* gathdlc: Fix memory leakDenis Kenzior2011-05-251-0/+2
|
* gatppp: Set the suspend function in open / listenDenis Kenzior2011-05-251-12/+18
| | | | In case it was set before calling these functions
* test-server: Update to the new GAtPPP APIDenis Kenzior2011-05-241-20/+22
|
* gsmdial: Update to new APIDenis Kenzior2011-05-241-2/+2
|
* gatppp: Refactor PPP APIDenis Kenzior2011-05-242-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.
* gatppp: Make sure to clean up guard_timeout_sourceDenis Kenzior2011-05-241-0/+5
|
* gatppp: Rename guard_timeout_src to _sourceDenis Kenzior2011-05-241-5/+4
|
* gatppp: Do not call disconnect func if suspendedGuillaume Zajac2011-05-241-2/+3
|
* gatppp: Add GAtPPP suspend APIGuillaume Zajac2011-05-242-0/+41
|
* gatppp: Add GAtPPP resume functionalityGuillaume Zajac2011-05-242-0/+20
|
* ppp_net: add ppp_net_resume_interface() APIGuillaume Zajac2011-05-242-0/+11
|
* gathdlc: Squash unneeded functionDenis Kenzior2011-05-241-6/+1
|
* gathdlc: add g_at_hdlc_resume() APIGuillaume Zajac2011-05-242-0/+17
|
* gatppp: Make ppp->fd handling a bit easier to grokDenis Kenzior2011-05-241-1/+6
|
* ppp_net: streamline ppp_net_new logicDenis Kenzior2011-05-241-16/+9
|
* gatppp: Ensure created GAtPPP object is not nullDenis Kenzior2011-05-241-1/+2
|
* gatppp: Add new contructor to use external fdGuillaume Zajac2011-05-244-17/+66
|
* gatppp: Don't go over 80 characters / lineDenis Kenzior2011-05-241-1/+1
|
* test-server: Remove legacy codeDenis Kenzior2011-05-241-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.
* gatppp: add name field when using chap authCaiwen Zhang2011-05-111-0/+9
| | | | | Some systems require name field, otherwise chap authentication will fail.
* gatppp: fix ppp protocol-reject constructing errorCaiwen Zhang2011-05-111-3/+3
| | | | | | | | | | | | | | | | | In PPP Protocol-Reject package the 'rejected data field' should be a copy of the rejected package, the copy starts from the data field. besides, Protocol-Reject package include a 'rejected protocol field', it is the same as the protocol field of the rejected package. Protocol-Reject package structure is: | PPP_header | rejected protocol | rejected data The rejected package structure is: | Addr | Control | protocol | data So the Protocol-Reject package data field is copied from the 3rd byte of the rejected package.
* gatppp: Add API for setting suspend callbackGuillaume Zajac2011-05-082-0/+26
| | | | | In situations where the PPP stream can be suspended by the peer, e.g. in the server role using '+++'
* ppp_net: Reset the watch to zero when removingDenis Kenzior2011-05-081-3/+10
|
* ppp_net: add ppp_net_suspend_interface() functionGuillaume Zajac2011-05-082-0/+10
|