summaryrefslogtreecommitdiffstats
path: root/gatchat/test-server.c
AgeCommit message (Collapse)AuthorFilesLines
2012-07-15gatchat: Avoid shadowing global AT server variableMarcel Holtmann1-11/+11
2011-10-10gatchat: Update copyright informationMarcel Holtmann1-1/+1
2011-05-24test-server: Update to the new GAtPPP APIDenis Kenzior1-20/+22
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-02-28gsmdial: Introduce data_modeDenis Kenzior1-0/+7
If we're in PPP mode, then don't send unsolicited notifications. Only a NO CARRIER is really allowed.
2011-02-28test-server: Make sure to send CONNECTDenis Kenzior1-6/+9
Before starting the ppp session we should make sure that the CONNECT response has been sent on the wire.
2011-02-28test-server: Remove root user checkDenis Kenzior1-5/+0
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-15test-server: Fix a few more occurrencesDenis Kenzior1-11/+10
2011-02-15gatserver: Change callback signatureDenis Kenzior1-63/+53
Provide the originating GAtServer to the callback
2011-02-15test-server: Behavior to match previous commitDenis Kenzior1-8/+6
2011-01-12gatchat: M15 coding styles fixesJeevaka Badrappan1-2/+2
2010-11-29gatchat: explicitly compare pointers to NULLLucas De Marchi1-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>
2010-09-14Fix common misspellings in gatchatLucas De Marchi1-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
2010-07-06test-server: Refactor set_raw_modeZhenhua Zhang1-5/+5
Rename variable 'options' to 'ti' and use sizeof(ti).
2010-07-06test-server: Use cfmakeraw to set TTY raw modeZhenhua Zhang1-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.
2010-06-29test-server: Send a NO_CARRIER when ppp is doneDenis Kenzior1-2/+4
2010-06-29test-server: Update to the new APIDenis Kenzior1-4/+1
2010-06-29test-server: Update to the new APIDenis Kenzior1-1/+1
2010-06-28test-server: Configure network interfaceZhenhua Zhang1-0/+31
Require ROOT priviledge to: 1. Run external command to configure and bring up network interface. 2. Enable kernel IP forwarding.
2010-06-28ppp: Tweak the set_server_info APIDenis Kenzior1-12/+3
2010-06-28test-server: Add PPP server supportZhenhua Zhang1-0/+119
So that gsmdial and wvdial could talk to test-server and establish PPP connection.
2010-06-17test-server: Fix GIOChannel leak in create_ttyZhenhua Zhang1-4/+2
Remove client_io and unref server_io after creating GAtServer.
2010-04-15No to check for NULL pointers with g_freeMarcel Holtmann1-4/+2
2010-04-12Reindent the handler registration inside AT serverMarcel Holtmann1-18/+19
2010-04-12The exit() function should always use positive exit valuesMarcel Holtmann1-3/+3
2010-04-12The AT+CGDATA command should return CONNECT on successMarcel Holtmann1-1/+1
2010-04-12Add fake support for AT+CGDATA and AT+CGDCONT inside AT serverMarcel Holtmann1-0/+52
2010-04-12Add basic support for emulating AT+CGATT inside AT serverMarcel Holtmann1-0/+55
2010-04-12Add basic support for emulating AT+CGREG inside AT serverMarcel Holtmann1-0/+51
2010-04-12Add basic support for emulating AT+CREG inside AT serverMarcel Holtmann1-2/+73
2010-04-11Reduce fake CFUN delay to 1 second to make testing simplerMarcel Holtmann1-1/+1
2010-04-11Make CPIN handling of AT server a bit more compliantMarcel Holtmann1-1/+7
2010-04-11Add really simple COPS support to AT command serverMarcel Holtmann1-0/+44
2010-04-11Implement full CFUN handling for AT serverMarcel Holtmann1-0/+14
2010-03-31Add test implementation for CPBSZhenhua Zhang1-0/+24
2010-03-31Add test implementation to support SMSZhenhua Zhang1-0/+177
2010-03-30Update test-server to the new APIDenis Kenzior1-5/+5
2010-03-30Fix: Use VERSION define to generate CGMR responseDenis Kenzior1-1/+3
2010-03-30Add test implementation for CFUNDenis Kenzior1-1/+33
2010-03-30Fix: Make sure g_print is followed by a newlineDenis Kenzior1-2/+2
2010-03-30Add initial implementation of cgmr/cgmi/cgmm/cgsnDenis Kenzior1-5/+66
2010-03-30Fix: SO_REUSEADDR should be set before bindDenis Kenzior1-2/+2
2010-03-30Add stubs for test server commandsDenis Kenzior1-0/+25
2010-03-30Refactor: tty creationDenis Kenzior1-9/+8
2010-03-24Fix: Use SO_REUSEADDR in test_serverDenis Kenzior1-0/+3
2010-02-01Fix: Don't leak memoryDenis Kenzior1-5/+2
2010-02-01Add test case for GAtServerZhenhua Zhang1-0/+422
To implement PTY, TCP, Unix socket example to create GAtServer instance.