| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
There are a large number of files in the tree that define _GNU_SOURCE
despite not actually using features hidden behind this flag. This patch
removes all these definitions in one fell swoop...
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Client or server mark their pending objects with
the function g_isi_pending_set_owner().
When client or server get destroyed or reset the pending objects are
removed with the function g_isi_remove_pending_by_owner(). As a client
or server always uses only a particular resource, all the pending
objects are conveniently stored into a single list.
|
|
|
|
|
| |
Just in case, remove pending operations before calling notifys.
The notify function can remove client, service or modem.
|
|
|
|
|
|
|
|
| |
Use send functions without explicit timeout. Return booleans instead
of pointers - nobody really used GIsiPending but relied on client
doing the cleanup.
Add g_isi_client_set_timeout(), g_isi_client_(v)send_with_timeout().
|
| |
|
| |
|
|
|
|
|
| |
Calling this method will cancel any pending requests, and unsubscribe
from any pending subscriptions.
|
|
|
|
|
| |
The new client API is a convenience wrapper on the modem API for
clients.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Add g_isi_vsendto() and g_isi_sendto() methods for sending messages to
an arbitrary Phonet address.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Include a finalize function in GIsiRequest
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
The debug_func was not initialized.
|
| |
|
|
|
|
|
| |
Save the GIsiModem instance in GIsiClient, so that calling
g_isi_subscribe() doesn't throw a warning.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Kernel wants it, and returns an error on send otherwise.
|
| |
|
|
- Add g_ prefix to functions
- Add G-prefix and use CamelCasing in types
|