Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-10-26 | gatchat: A full support for TUN/TAP pipe and GAtRawIP | Marcel Holtmann | 1 | -2/+137 | |
2010-10-26 | gatchat: Remove unused write_watch variable of GAtHDLC | Marcel Holtmann | 1 | -1/+0 | |
2010-10-21 | gatchat: Fix missing return value for g_at_chat_set_slave | Marcel Holtmann | 1 | -1/+1 | |
2010-10-21 | gatchat: Add skeleton for GAtRawIP module | Marcel Holtmann | 2 | -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-21 | gatchat: Add support for slave chat instances | Marcel Holtmann | 2 | -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. | |||||
2010-10-21 | ppp: Fix some coding style and memory leaks | Marcel Holtmann | 1 | -16/+16 | |
2010-10-19 | gatchat: Add support for skipping AT+CMUX speed parameter | Marcel Holtmann | 1 | -8/+17 | |
2010-10-14 | gatchat: Fix calling unregister from callbacks | Denis Kenzior | 1 | -2/+40 | |
This fixes the issues with SIM hotswap on infineon | |||||
2010-10-14 | gatchat: break out the remove_if logic | Denis Kenzior | 1 | -46/+64 | |
And make unregister_group use the new function | |||||
2010-10-14 | gatchat: quit early if the group id doesn't match | Denis Kenzior | 1 | -1/+1 | |
If the ID of the notify matches but the group id does not match it means that the unregister is being called with an id that does not belong to that particular group. Checking further entries is no longer necessary. | |||||
2010-09-29 | gatsyntax: Fix responses starting with a quote | Denis Kenzior | 1 | -0/+2 | |
2010-09-26 | gatchat: Hook up g_at_mux_set_debug to print debug messages for real | Marcel Holtmann | 1 | -19/+32 | |
2010-09-14 | Fix common misspellings in gatchat | Lucas De Marchi | 3 | -3/+3 | |
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-08-16 | gatchat: Skip string contents in extract_line | Denis Kenzior | 1 | -2/+7 | |
2010-08-16 | gatchat: Handle embedded \r and \n in responses | Denis Kenzior | 1 | -1/+17 | |
2010-08-16 | gatutil: Handle non-printable characters | Denis Kenzior | 1 | -1/+1 | |
Signed arithmetic and shifts do not work well... | |||||
2010-08-12 | gatchat: Add g_at_chat_clone | Denis Kenzior | 2 | -0/+21 | |
This function will clone a chat object, but will create a new group internally. | |||||
2010-08-12 | gatchat: Make GAtChat a facade for struct at_chat | Denis Kenzior | 1 | -228/+401 | |
Each GAtChat object is now simply a representation of a set of outstanding commands and registered unsolicited notification handlers. This makes it easy to cancel entire groups, e.g. by canceling the GAtChat object itself rather than forcing the user into tracking all relevant g_at_chat_register and g_at_chat_send ids. | |||||
2010-07-09 | ppp: Add MAX_IPCP_FAILURE to avoid timeout quickly | Zhenhua Zhang | 4 | -5/+17 | |
We use IPCP NAK response to stall the progress of acquiring the client IP address from DHCP server. So we need to increase the max failure of NAKs in IPCP handshaking. | |||||
2010-07-07 | gatppp: Unset disconnect function when unref PPP | Zhenhua Zhang | 1 | -0/+3 | |
Unset IO disconnect function when we try to destroy GAtPPP instance. After freeing the instance, the IO disconnect function should not be invoked. | |||||
2010-07-07 | gatserver: Restore GAtServer disconnect handling | Zhenhua Zhang | 1 | -0/+2 | |
Restore GAtServer disconnect handling when resuming a server session | |||||
2010-07-06 | test-server: Refactor set_raw_mode | Zhenhua Zhang | 1 | -5/+5 | |
Rename variable 'options' to 'ti' and use sizeof(ti). | |||||
2010-07-06 | gatserver: Don't free twice after user disconnect | Zhenhua Zhang | 1 | -3/+0 | |
It's possible to free gatserver in user disconnect function. So we should not free it again. | |||||
2010-07-06 | test-server: Use cfmakeraw to set TTY raw mode | Zhenhua Zhang | 1 | -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-07-06 | gatppp: Check ppp instance before unref it | Zhenhua Zhang | 1 | -0/+3 | |
2010-06-29 | gsmdial: Wait for a no carrier before sending CFUN | Denis Kenzior | 1 | -3/+9 | |
2010-06-29 | test-server: Send a NO_CARRIER when ppp is done | Denis Kenzior | 1 | -2/+4 | |
2010-06-29 | test-server: Update to the new API | Denis Kenzior | 1 | -4/+1 | |
2010-06-29 | ppp: Don't accept 0 ip-addr/dns1/dns2 | Denis Kenzior | 1 | -3/+4 | |
2010-06-29 | ppp: Refactor server-side API | Denis Kenzior | 7 | -16/+77 | |
The biggest update here is that the server needs to be in dormant mode by default, so as not to send a Configure-Req to the peer until the peer is ready. This requires adding special constructor for LCP to initialize it to Stopped state instead of initial state. Along with this, we pass the server local IP directly to the ppp server constructor. | |||||
2010-06-29 | test-server: Update to the new API | Denis Kenzior | 1 | -1/+1 | |
2010-06-29 | ppp: Tweak set_server_info API some more | Denis Kenzior | 4 | -16/+5 | |
2010-06-29 | hdlc: Stop recording packets to stdout (fd = 0) | Denis Kenzior | 1 | -2/+2 | |
2010-06-29 | hdlc: Don't bother recording empty packets | Denis Kenzior | 1 | -0/+3 | |
2010-06-28 | gsmdial: Configure network interface for PPP | Zhenhua Zhang | 1 | -0/+29 | |
2010-06-28 | test-server: Configure network interface | Zhenhua Zhang | 1 | -0/+31 | |
Require ROOT priviledge to: 1. Run external command to configure and bring up network interface. 2. Enable kernel IP forwarding. | |||||
2010-06-28 | ppp: Tweak the set_server_info API | Denis Kenzior | 3 | -17/+20 | |
2010-06-28 | test-server: Add PPP server support | Zhenhua Zhang | 1 | -0/+119 | |
So that gsmdial and wvdial could talk to test-server and establish PPP connection. | |||||
2010-06-28 | ppp: Refactor server RCR action | Denis Kenzior | 1 | -40/+40 | |
We need to generate the Conf-Rej / Conf-Nak in the same order as the client sent us. | |||||
2010-06-28 | ppp: Refactor client RCR action | Denis Kenzior | 1 | -29/+27 | |
2010-06-28 | ppp: Simplify the logic by re-using code | Denis Kenzior | 1 | -6/+1 | |
2010-06-28 | ppp: Minor style tweaks | Denis Kenzior | 1 | -9/+9 | |
2010-06-28 | gsmdial: Update to the new API | Zhenhua Zhang | 1 | -2/+3 | |
2010-06-28 | gatppp: Add PPP server extension | Zhenhua Zhang | 4 | -36/+225 | |
1. Add interface to set PPP server info by g_at_ppp_set_server_info. 2. Pass local and peer address through IPCP handshaking. | |||||
2010-06-23 | ppp: Fix incorrect packet length for little-endian | Zhenhua Zhang | 1 | -1/+1 | |
packet->length is in TCP/IP network byte order. It needs to call ntohs() to convert to host byte order, which is little-endian. | |||||
2010-06-21 | ppp: Fix leak in pppcp_send_protocol_reject | Zhenhua Zhang | 1 | -0/+2 | |
Free the reject pppcp packet after ppp_transmit. | |||||
2010-06-18 | gathdlc: Don't crash if unreffed in callback | Denis Kenzior | 1 | -1/+18 | |
2010-06-17 | gsmdial: Unref ppp when we get disconnected | Zhenhua Zhang | 1 | -0/+5 | |
2010-06-17 | test-server: Fix GIOChannel leak in create_tty | Zhenhua Zhang | 1 | -4/+2 | |
Remove client_io and unref server_io after creating GAtServer. | |||||
2010-06-17 | gatserver: Check for disconnection when resuming | Zhenhua Zhang | 1 | -0/+5 | |
If the internal GAtIO is no longer valid, treat it as if our channel was disconnected. |