summaryrefslogtreecommitdiff
path: root/gatchat/test-server.c
Commit message (Collapse)AuthorAgeFilesLines
* gatchat: Add support for shutting down the serverDenis Kenzior2016-01-111-0/+4
| | | | By sending SIGUSR1 we can initiate a soft server-shutdown.
* gatchat: Avoid shadowing global AT server variableMarcel Holtmann2012-07-151-11/+11
|
* gatchat: Update copyright informationMarcel Holtmann2011-10-101-1/+1
|
* test-server: Update to the new GAtPPP APIDenis Kenzior2011-05-241-20/+22
|
* 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.
* gsmdial: Introduce data_modeDenis Kenzior2011-02-281-0/+7
| | | | | If we're in PPP mode, then don't send unsolicited notifications. Only a NO CARRIER is really allowed.
* test-server: Make sure to send CONNECTDenis Kenzior2011-02-281-6/+9
| | | | | Before starting the ppp session we should make sure that the CONNECT response has been sent on the wire.
* test-server: Remove root user checkDenis Kenzior2011-02-281-5/+0
|
* test-server: Fix crash when remote disconnectsGuillaume Zajac2011-02-171-0/+6
| | | | | If the remote side kills the connection when PPP is established, we should not try to resume the AT server.
* test-server: Fix a few more occurrencesDenis Kenzior2011-02-151-11/+10
|
* gatserver: Change callback signatureDenis Kenzior2011-02-151-63/+53
| | | | Provide the originating GAtServer to the callback
* test-server: Behavior to match previous commitDenis Kenzior2011-02-151-8/+6
|
* gatchat: M15 coding styles fixesJeevaka Badrappan2011-01-121-2/+2
|
* gatchat: explicitly compare pointers to NULLLucas De Marchi2010-11-291-9/+9
| | | | | | | | | | | | | | 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>
* Fix common misspellings in gatchatLucas De Marchi2010-09-141-1/+1
| | | | | | | | | | | Fix common misspellings by using the list available at http://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines From the list cited above, the substitution script found the following misspellings: priviledge->privilege succeded->succeeded
* test-server: Refactor set_raw_modeZhenhua Zhang2010-07-061-5/+5
| | | | Rename variable 'options' to 'ti' and use sizeof(ti).
* test-server: Use cfmakeraw to set TTY raw modeZhenhua Zhang2010-07-061-5/+3
| | | | | Use cfmakeraw to disable echoing and special characters processing. If we don't turn off ICRNL, TTY layer translates \r\n to \n\n.
* test-server: Send a NO_CARRIER when ppp is doneDenis Kenzior2010-06-291-2/+4
|
* test-server: Update to the new APIDenis Kenzior2010-06-291-4/+1
|
* test-server: Update to the new APIDenis Kenzior2010-06-291-1/+1
|
* test-server: Configure network interfaceZhenhua Zhang2010-06-281-0/+31
| | | | | | Require ROOT priviledge to: 1. Run external command to configure and bring up network interface. 2. Enable kernel IP forwarding.
* ppp: Tweak the set_server_info APIDenis Kenzior2010-06-281-12/+3
|
* test-server: Add PPP server supportZhenhua Zhang2010-06-281-0/+119
| | | | | So that gsmdial and wvdial could talk to test-server and establish PPP connection.
* test-server: Fix GIOChannel leak in create_ttyZhenhua Zhang2010-06-171-4/+2
| | | | Remove client_io and unref server_io after creating GAtServer.
* No to check for NULL pointers with g_freeMarcel Holtmann2010-04-151-4/+2
|
* Reindent the handler registration inside AT serverMarcel Holtmann2010-04-121-18/+19
|
* The exit() function should always use positive exit valuesMarcel Holtmann2010-04-121-3/+3
|
* The AT+CGDATA command should return CONNECT on successMarcel Holtmann2010-04-121-1/+1
|
* Add fake support for AT+CGDATA and AT+CGDCONT inside AT serverMarcel Holtmann2010-04-121-0/+52
|
* Add basic support for emulating AT+CGATT inside AT serverMarcel Holtmann2010-04-121-0/+55
|
* Add basic support for emulating AT+CGREG inside AT serverMarcel Holtmann2010-04-121-0/+51
|
* Add basic support for emulating AT+CREG inside AT serverMarcel Holtmann2010-04-121-2/+73
|
* Reduce fake CFUN delay to 1 second to make testing simplerMarcel Holtmann2010-04-111-1/+1
|
* Make CPIN handling of AT server a bit more compliantMarcel Holtmann2010-04-111-1/+7
|
* Add really simple COPS support to AT command serverMarcel Holtmann2010-04-111-0/+44
|
* Implement full CFUN handling for AT serverMarcel Holtmann2010-04-111-0/+14
|
* Add test implementation for CPBSZhenhua Zhang2010-03-311-0/+24
|
* Add test implementation to support SMSZhenhua Zhang2010-03-311-0/+177
|
* Update test-server to the new APIDenis Kenzior2010-03-301-5/+5
|
* Fix: Use VERSION define to generate CGMR responseDenis Kenzior2010-03-301-1/+3
|
* Add test implementation for CFUNDenis Kenzior2010-03-301-1/+33
|
* Fix: Make sure g_print is followed by a newlineDenis Kenzior2010-03-301-2/+2
|
* Add initial implementation of cgmr/cgmi/cgmm/cgsnDenis Kenzior2010-03-301-5/+66
|
* Fix: SO_REUSEADDR should be set before bindDenis Kenzior2010-03-301-2/+2
|
* Add stubs for test server commandsDenis Kenzior2010-03-301-0/+25
|
* Refactor: tty creationDenis Kenzior2010-03-301-9/+8
|
* Fix: Use SO_REUSEADDR in test_serverDenis Kenzior2010-03-241-0/+3
|
* Fix: Don't leak memoryDenis Kenzior2010-02-011-5/+2
|
* Add test case for GAtServerZhenhua Zhang2010-02-011-0/+422
To implement PTY, TCP, Unix socket example to create GAtServer instance.