Aki Niemi
4ca9022358
gisi: Minor style fixes
2010-12-22 17:47:11 +02:00
Aki Niemi
7d6e163184
gisi: Explicit compare to NULL
2010-12-22 17:13:48 +02:00
Aki Niemi
188bbc5d3b
gisi: Add client API to reset instance
...
Calling this method will cancel any pending requests, and unsubscribe
from any pending subscriptions.
2010-12-22 17:13:47 +02:00
Aki Niemi
325e555092
gisi: Refactor the client API
...
The new client API is a convenience wrapper on the modem API for
clients.
2010-12-22 17:13:46 +02:00
Lucas De Marchi
86aae128d3
gisi: 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 11:53:14 -06:00
Mika Liljeberg
39823fee14
gisi: fix crash bug in g_isi_remove_subscription
2010-11-11 09:20:39 +02:00
Marcel Holtmann
27311fc4a8
gisi: Use of DBG macro is not allowed
2010-10-22 00:37:57 +02:00
Mika Liljeberg
a4117e5411
gisi: store object handle for associated server
2010-10-21 21:39:41 +03:00
Mika Liljeberg
0e95bfd856
gisi: Allow subscribes towards any resources
...
Add methods to subscribe indications from an arbitrary resource.
Configured resource id is treated as the default. Also added separate
commit function for resource subscriptions in order to reduce the
number of subscription messages sent to the modem.
2010-10-21 21:39:41 +03:00
Mika Liljeberg
69fbe74276
gisi: make timeout optional
2010-10-21 21:39:41 +03:00
Mika Liljeberg
6462450059
gisi: Add sendto methods to GIsiClient
...
Add g_isi_vsendto() and g_isi_sendto() methods for sending messages to
an arbitrary Phonet address.
2010-10-21 21:39:41 +03:00
Aki Niemi
8698a0d4f2
gisi: Fix copyright and license boilerplate
2010-10-14 15:29:58 +03:00
Lucas De Marchi
9849f010ab
Fix common misspelling in gisi
...
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
misspelling:
fomr->from
2010-09-14 16:01:00 +09:00
Pekka Pessi
9385ba83ba
gisi: added g_isi_send() and g_isi_vsend()
...
Include a finalize function in GIsiRequest
2010-09-02 07:50:58 +03:00
Aki Niemi
d21c660ae2
gisi: Fix counter for indication subscriptions
2010-08-30 17:54:40 +03:00
Pekka Pessi
a97a97147d
Eliminated bool, true and false from gisi
2010-05-27 13:07:15 -05:00
Aki Niemi
9ac5c596ed
gisi: Add support for NTF requests
...
Notify requests are requests sent by ISA servers towards clients. They
are identical to indications in that no response is necessary, but
different in that subscription is done not using the mechanism used
for indications, but out-of-band. Typically routing for notify
requests is enabled using a request-response pair.
2010-05-14 16:51:30 +03:00
Aki Niemi
36bd998597
gisi: Return negative errnos
2010-05-14 16:51:25 +03:00
Aki Niemi
2d8762932a
gisi: Fix typo in documentation
2010-05-14 16:51:21 +03:00
Aki Niemi
26fda05821
gisi: Add debugging support for requests
2010-05-14 16:50:00 +03:00
Aki Niemi
f89f11d2a2
gisi: refactor client implementation
2010-04-27 23:21:48 +03:00
Pekka Pessi
7c8fd12d9a
gisi: check for NULL client and remove warnings
2010-04-20 17:47:16 +03:00
Rémi Denis-Courmont
2b2a410deb
gisi: support sending ISI request as a scatter-gather array
2009-12-18 15:59:17 +02:00
Pekka Pessi
86b6cd91c9
isimodem/voicecall.c: initial version
...
Implementing all the voicecall methods. Tested with Nokia 2008 modems.
- problems in call creation are probably not reported properly
- deflect not implemented in modem, not properly tested
TODO: Clean up style issues and align with other drivers.
2009-10-16 11:18:52 +03:00
Aki Niemi
8bbd9a8560
gisi: Add ISI version and reachability check API
...
This patch adds an API for querying the ISI version of the resource
with which the client is associated. This information is only
available after g_isi_verify() has been called on the client. This is
because we use the version query message as a vehicle for reachability
checking.
2009-09-15 15:35:47 +03:00
Rémi Denis-Courmont
3feaacb6ce
gisi: disable logging by default
...
The debug_func was not initialized.
2009-09-09 22:26:44 +02:00
Aki Niemi
373665cdd0
gisi: Fix indication debugging
2009-08-25 18:26:24 +03:00
Aki Niemi
5086088458
gisi: Fix warning in g_isi_subscribe()
...
Save the GIsiModem instance in GIsiClient, so that calling
g_isi_subscribe() doesn't throw a warning.
2009-08-23 23:19:03 +03:00
Aki Niemi
197cefbba5
gisi: Add debugging hooks
2009-08-22 18:01:24 +03:00
Rémi Denis-Courmont
5e2a1745fb
Phonet: add modem parameter to ISI client API
2009-08-19 17:07:15 +03:00
Rémi Denis-Courmont
b2ee53a99f
gisi: low-level modem scoping for sockets
2009-08-19 17:07:15 +03:00
Rémi Denis-Courmont
073261e507
Use phonet.h
2009-07-03 08:47:26 -07:00
Aki Niemi
490840e011
gisi: Fix documentation and add API for resource ID
2009-06-25 09:42:06 +03:00
Aki Niemi
94f1fce8ee
Add GISI_* build variables; remove unnecessary curly brackets
2009-06-22 21:43:56 +03:00
Aki Niemi
f2f0fd0501
gisi: fixes to request/response handling and timeout registration
2009-06-22 21:17:14 +03:00
Rémi Denis-Courmont
841060da24
gisi: specify destination socket address
...
Kernel wants it, and returns an error on send otherwise.
2009-06-22 17:39:35 +03:00
Aki Niemi
ede04ed8ca
Fix to use negative error return in gisi/client.c
2009-06-15 11:33:34 +03:00
Aki Niemi
e5f0290ddb
Rename ISI client and PhoNet netlink APIs
...
- Add g_ prefix to functions
- Add G-prefix and use CamelCasing in types
2009-06-15 11:27:16 +03:00