Lucas De Marchi
521071a785
gatchat: explicitly compare pointers to NULL
...
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-11-29 12:05:29 -06:00
Lucas De Marchi
53f1e826c6
Fix common misspellings in gatchat
...
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-09-14 16:00:42 +09:00
Denis Kenzior
a92d37454a
gsmdial: Wait for a no carrier before sending CFUN
2010-06-29 12:15:44 -05:00
Zhenhua Zhang
1afd51a8c7
gsmdial: Configure network interface for PPP
2010-06-28 17:39:23 -05:00
Zhenhua Zhang
8be0707ab0
gsmdial: Update to the new API
2010-06-28 10:19:14 -05:00
Zhenhua Zhang
e2e17512e0
gsmdial: Unref ppp when we get disconnected
2010-06-17 14:57:49 -05:00
Denis Kenzior
1794ad32fd
gsmdial: Shut down cleanly when ppp link dies
2010-05-10 16:36:33 -05:00
Kristen Carlson Accardi
f13d5e2bad
gsmdial: use g_at_ppp_new_from_io()
2010-05-10 15:41:39 -05:00
Kristen Carlson Accardi
cb36130b13
gsmdial: use g_at_chat_suspend
2010-05-10 15:41:39 -05:00
Denis Kenzior
02c2cdaf21
gsmdial: Port to new PPP api
2010-04-30 15:32:45 -05:00
Denis Kenzior
c9edf56fc6
ppp: Hang set_recording off the GAtPPP object
...
Marcel: recording right now only works for PPP, so we'd need some sort
of multi-protocol support.
So for now expose set_recording to be used through the main PPP object.
HDLC object recording support needs to be extended.
2010-04-28 20:25:10 -05:00
Denis Kenzior
7d5a3730d1
gsmdial: Use set recording on the HDLC object
2010-04-28 17:27:36 -05:00
Denis Kenzior
9c3ae4746e
gsmdial: Get rid of g_at_chat_shutdown usage
2010-04-28 17:27:34 -05:00
Denis Kenzior
d875298404
gsmdial: Unref the chat instead of using shutdown
2010-04-28 17:27:34 -05:00
Marcel Holtmann
156904535e
Check for PIN after activating the modem
2010-04-11 18:23:24 +02:00
Marcel Holtmann
017b4d3955
Check for PIN status to see details in debug output
2010-04-10 09:33:45 +02:00
Denis Kenzior
349d4d8c5d
Remove the PPP option from gsmdial
...
Pointless since we should always connect using PPP
2010-04-02 15:13:25 -05:00
Denis Kenzior
a182034336
Fix: Stop infinite attempts to register
...
Sometimes if the modem firmware is particularly nutty we will see
frequent cell-reselections at startup, resulting in us attempting to
register multiple times. Try to stop this behavior by keeping track of
what state we're in and hoping the hardware is at least somewhat sane.
2010-04-01 22:32:58 -05:00
Marcel Holtmann
cb791ceb78
Remove usage of AT+CGACT for now
2010-04-01 20:06:31 -07:00
Marcel Holtmann
544c02da49
Add support for recording PPP sessions in pppdump format
2010-04-01 13:47:25 -07:00
Marcel Holtmann
ef82241deb
Implement g_at_ppp_set_debug support
2010-04-01 13:11:11 -07:00
Denis Kenzior
ee8084c0d0
Fix: Update gsm dial to the new GAtPPP API
2010-03-31 18:48:30 -05:00
Marcel Holtmann
6af6567004
Enable PPP session suport for AT+CGDATA command
2010-03-28 09:15:02 -07:00
Marcel Holtmann
834f3af1dc
Fix some comments in dialer example
2010-03-26 19:41:06 -07:00
Marcel Holtmann
c84cb16edd
Check network status to handle auto-registration
2010-03-25 07:33:41 -07:00
Marcel Holtmann
ada2c7f986
Check modem mode before tyring to change it
2010-03-25 07:20:03 -07:00
Kristen Carlson Accardi
5b656cdf34
gsmdial: shutdown ppp link if we have one
...
If we have created a ppp link, shut it down when the signal handler
is called.
2010-03-25 06:50:17 -07:00
Kristen Carlson Accardi
8cae71ef5c
Add PPP option to gsmdial
...
Implement new options for gsmdial to use PPP and set the user name and
password for authentication if needed.
2010-03-22 17:28:23 -07:00
Denis Kenzior
12d97c18a0
Add support for IP based connections to gsmdial
2010-03-18 16:05:47 -05:00
Denis Kenzior
687c84a1ff
Style: Various issues
2010-01-12 17:54:37 -06:00
Marcel Holtmann
144080e749
Update copyright information
2010-01-01 17:00:10 -08:00
Denis Kenzior
76e2eb1afc
Add legacy mode to gsmdial
...
Use ATD*99 variety for modems that don't support CGDATA.
2009-12-10 18:14:11 -06:00
Denis Kenzior
a41e856cfd
Fix: wrong abbreviation for option
2009-12-10 17:49:33 -06:00
Denis Kenzior
7a456aaf7a
Add offmode to gsmdial
2009-12-10 17:43:57 -06:00
Denis Kenzior
62d8cf7aa3
Fix: Fix gsmdial to handle MD300
...
MD300 never sends a CGREG indication, we must query it after CGATT
2009-12-10 17:41:42 -06:00
Denis Kenzior
51e090a283
Add the beginnings of a GSM GPRS dialing app
2009-12-10 17:11:27 -06:00
Marcel Holtmann
a37f0dbad6
Add skeleton for gsmdial test application
2009-09-24 17:39:09 -07:00