summaryrefslogtreecommitdiffstats
path: root/gisi
AgeCommit message (Collapse)AuthorFilesLines
2011-01-07gisi: Style fixesAki Niemi1-2/+4
Lines were over 80 chars.
2011-01-07gisi: Simplify client interface.Pekka Pessi3-37/+89
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().
2011-01-07gisi: Add API for one-shot sending of messagesAki Niemi2-0/+30
2010-12-23gisi: Don't go over 80 charactersDenis Kenzior1-1/+2
2010-12-23gisi: fix use of unitialised variableAndrzej Zaborowski1-1/+2
Set no msg.version if it's not available.
2010-12-22gisi: Minor style fixesAki Niemi5-15/+26
2010-12-22gisi: Minor style fix in pipe.cAki Niemi1-3/+2
2010-12-22gisi: Add message tracing and debugging supportAki Niemi2-20/+89
2010-12-22gisi: Explicit compare to NULLAki Niemi8-97/+116
2010-12-22gisi: Remove forward declarationAki Niemi1-2/+0
2010-12-22gisi: Add utility for error stringsAki Niemi2-0/+7
2010-12-22gisi: Add getter for 16bit fieldsAki Niemi2-0/+19
2010-12-22gisi: check pipe handleMika Liljeberg1-0/+3
2010-12-22gisi: modify reachability checkMika Liljeberg1-13/+11
Always cache server object ID and ISI version.
2010-12-22gisi: store user data in GIsiModemMika Liljeberg2-0/+16
2010-12-22gisi: Add constructor for sub-iteratorsAki Niemi2-0/+36
This is needed for decoding messages that include sub-blocks within sub-blocks.
2010-12-22gisi: Add client API to reset instanceAki Niemi2-1/+14
Calling this method will cancel any pending requests, and unsubscribe from any pending subscriptions.
2010-12-22gisi: Remove forward referencePekka Pessi1-95/+94
2010-12-22gisi: Use direct hashing from resource IDPekka Pessi1-42/+37
Do not call modem_subs_update() after modem has already been destroyed, but do it earlier, already after destroying all services.
2010-12-22gisi: Fix type mismatchAki Niemi1-1/+1
2010-12-22gisi: Refactor netlink destroy functionAki Niemi1-5/+6
2010-12-22gisi: Split indication to use separate socketAki Niemi1-21/+42
Some resources send INDs with non-zero unique transaction ID, which can conflict with pending RESPs. To fix this, we use two sockets, one dedicated for INDs, and one dedicated to REQs, NTFs and RESPs.
2010-12-22gisi: Adapt and refactor socket moduleAki Niemi2-24/+18
Clean up and fix naming.
2010-12-22gisi: Add include guards to pep moduleAki Niemi1-1/+16
2010-12-22gisi: Adapt and refactor pipe moduleAki Niemi2-115/+155
Make use of the new client API and refactor the code.
2010-12-22gisi: Adapt and refactor netlink moduleAki Niemi2-80/+73
Adapt to using new modem API and clean up naming and coding conventions.
2010-12-22gisi: Refactor the server APIAki Niemi2-284/+103
The new server API is a convenience wrapper on the modem API for servers.
2010-12-22gisi: Refactor the client APIAki Niemi2-817/+155
The new client API is a convenience wrapper on the modem API for clients.
2010-12-22gisi: Remove defunct fileAki Niemi1-166/+0
Resource reachability verification is now handled in the modem module.
2010-12-22gisi: Redesign ISI message processingAki Niemi2-13/+1029
This new modem API supercedes the old client and server APIs. It properly queues resource subscriptions and version queries, as well as caches reachability status for a given resource. Also, this is a complete redesign of ISI message handling, adding another layer of abstraction to multiplexing operations to a given modem resource.
2010-12-22gisi: Add convenience API for structsAki Niemi2-0/+11
2010-12-22gisi: Make subblock iterator use new message APIAki Niemi2-13/+19
2010-12-22gisi: Add separate file for common constantsAki Niemi1-0/+57
2010-12-22gisi: Add new API for ISI message handlingAki Niemi2-0/+185
2010-11-29gisi: explicitly compare pointers to NULLLucas De Marchi4-29/+29
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: return NULL instead of assertingMika Liljeberg1-2/+4
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: Add method for verifying any resourceMika Liljeberg2-6/+46
Add g_isi_verify_resource() function to GIsiClient for verifying the reachability of an arbitrary resource.
2010-10-21gisi: store object handle for associated serverMika Liljeberg3-0/+30
2010-10-21gisi: Allow subscribes towards any resourcesMika Liljeberg2-79/+153
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 Liljeberg2-11/+99
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 Niemi18-246/+230
2010-10-06gisi/verify: check g_try_new0 return valuePekka Pessi1-0/+3
2010-09-30gisi: Remove route adding APIAki Niemi2-75/+0
2010-09-14Fix common misspelling in gisiLucas De Marchi2-2/+2
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 Pessi2-9/+84
Include a finalize function in GIsiRequest
2010-08-30gisi: Retry version query in g_isi_verify()Pekka Pessi1-8/+30
For some mysterious reason, not all COMMON_MESSAGEs get sent to modem. This patch adds a retry counter that tries to make sure an answer is always received.
2010-08-30gisi: Fix counter for indication subscriptionsAki Niemi1-1/+6