summaryrefslogtreecommitdiffstats
path: root/gisi/client.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-10gisi: Update copyright informationMarcel Holtmann1-1/+1
2011-01-18gisi: simplify pending managementPekka Pessi1-164/+35
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.
2011-01-18gisi: remove before notifyPekka Pessi1-3/+3
Just in case, remove pending operations before calling notifys. The notify function can remove client, service or modem.
2011-01-07gisi: Simplify client interface.Pekka Pessi1-21/+58
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().
2010-12-22gisi: Minor style fixesAki Niemi1-2/+3
2010-12-22gisi: Explicit compare to NULLAki Niemi1-27/+24
2010-12-22gisi: Add client API to reset instanceAki Niemi1-1/+13
Calling this method will cancel any pending requests, and unsubscribe from any pending subscriptions.
2010-12-22gisi: Refactor the client APIAki Niemi1-742/+139
The new client API is a convenience wrapper on the modem API for clients.
2010-11-29gisi: explicitly compare pointers to NULLLucas De Marchi1-23/+23
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-11gisi: fix crash bug in g_isi_remove_subscriptionMika Liljeberg1-2/+5
2010-10-22gisi: Use of DBG macro is not allowedMarcel Holtmann1-7/+0
2010-10-21gisi: store object handle for associated serverMika Liljeberg1-0/+26
2010-10-21gisi: Allow subscribes towards any resourcesMika Liljeberg1-78/+148
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-21gisi: make timeout optionalMika Liljeberg1-20/+31
2010-10-21gisi: Add sendto methods to GIsiClientMika Liljeberg1-11/+84
Add g_isi_vsendto() and g_isi_sendto() methods for sending messages to an arbitrary Phonet address.
2010-10-14gisi: Fix copyright and license boilerplateAki Niemi1-13/+13
2010-09-14Fix common misspelling in gisiLucas 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 misspelling: fomr->from
2010-09-02gisi: added g_isi_send() and g_isi_vsend()Pekka Pessi1-9/+72
Include a finalize function in GIsiRequest
2010-08-30gisi: Fix counter for indication subscriptionsAki Niemi1-1/+6
2010-05-27Eliminated bool, true and false from gisiPekka Pessi1-8/+2
2010-05-14gisi: Add support for NTF requestsAki Niemi1-1/+6
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-14gisi: Return negative errnosAki Niemi1-1/+1
2010-05-14gisi: Fix typo in documentationAki Niemi1-1/+1
2010-05-14gisi: Add debugging support for requestsAki Niemi1-3/+20
2010-04-27gisi: refactor client implementationAki Niemi1-211/+312
2010-04-20gisi: check for NULL client and remove warningsPekka Pessi1-12/+28
2009-12-18gisi: support sending ISI request as a scatter-gather arrayRémi Denis-Courmont1-11/+39
2009-10-16isimodem/voicecall.c: initial versionPekka Pessi1-8/+3
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-09-15gisi: Add ISI version and reachability check APIAki Niemi1-0/+43
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-09gisi: disable logging by defaultRémi Denis-Courmont1-0/+1
The debug_func was not initialized.
2009-08-25gisi: Fix indication debuggingAki Niemi1-3/+10
2009-08-23gisi: Fix warning in g_isi_subscribe()Aki Niemi1-1/+3
Save the GIsiModem instance in GIsiClient, so that calling g_isi_subscribe() doesn't throw a warning.
2009-08-22gisi: Add debugging hooksAki Niemi1-0/+28
2009-08-19Phonet: add modem parameter to ISI client APIRémi Denis-Courmont1-2/+2
2009-08-19gisi: low-level modem scoping for socketsRémi Denis-Courmont1-2/+2
2009-07-03Use phonet.hRémi Denis-Courmont1-5/+1
2009-06-25gisi: Fix documentation and add API for resource IDAki Niemi1-2/+12
2009-06-22Add GISI_* build variables; remove unnecessary curly bracketsAki Niemi1-2/+1
2009-06-22gisi: fixes to request/response handling and timeout registrationAki Niemi1-6/+14
2009-06-22gisi: specify destination socket addressRémi Denis-Courmont1-3/+28
Kernel wants it, and returns an error on send otherwise.
2009-06-15Fix to use negative error return in gisi/client.cAki Niemi1-1/+1
2009-06-15Rename ISI client and PhoNet netlink APIsAki Niemi1-0/+360
- Add g_ prefix to functions - Add G-prefix and use CamelCasing in types