Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-01-07 | gisi: Style fixes | Aki Niemi | 1 | -2/+4 | |
Lines were over 80 chars. | |||||
2011-01-07 | gisi: Simplify client interface. | Pekka Pessi | 3 | -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-07 | gisi: Add API for one-shot sending of messages | Aki Niemi | 2 | -0/+30 | |
2010-12-23 | gisi: Don't go over 80 characters | Denis Kenzior | 1 | -1/+2 | |
2010-12-23 | gisi: fix use of unitialised variable | Andrzej Zaborowski | 1 | -1/+2 | |
Set no msg.version if it's not available. | |||||
2010-12-22 | gisi: Minor style fixes | Aki Niemi | 5 | -15/+26 | |
2010-12-22 | gisi: Minor style fix in pipe.c | Aki Niemi | 1 | -3/+2 | |
2010-12-22 | gisi: Add message tracing and debugging support | Aki Niemi | 2 | -20/+89 | |
2010-12-22 | gisi: Explicit compare to NULL | Aki Niemi | 8 | -97/+116 | |
2010-12-22 | gisi: Remove forward declaration | Aki Niemi | 1 | -2/+0 | |
2010-12-22 | gisi: Add utility for error strings | Aki Niemi | 2 | -0/+7 | |
2010-12-22 | gisi: Add getter for 16bit fields | Aki Niemi | 2 | -0/+19 | |
2010-12-22 | gisi: check pipe handle | Mika Liljeberg | 1 | -0/+3 | |
2010-12-22 | gisi: modify reachability check | Mika Liljeberg | 1 | -13/+11 | |
Always cache server object ID and ISI version. | |||||
2010-12-22 | gisi: store user data in GIsiModem | Mika Liljeberg | 2 | -0/+16 | |
2010-12-22 | gisi: Add constructor for sub-iterators | Aki Niemi | 2 | -0/+36 | |
This is needed for decoding messages that include sub-blocks within sub-blocks. | |||||
2010-12-22 | gisi: Add client API to reset instance | Aki Niemi | 2 | -1/+14 | |
Calling this method will cancel any pending requests, and unsubscribe from any pending subscriptions. | |||||
2010-12-22 | gisi: Remove forward reference | Pekka Pessi | 1 | -95/+94 | |
2010-12-22 | gisi: Use direct hashing from resource ID | Pekka Pessi | 1 | -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-22 | gisi: Fix type mismatch | Aki Niemi | 1 | -1/+1 | |
2010-12-22 | gisi: Refactor netlink destroy function | Aki Niemi | 1 | -5/+6 | |
2010-12-22 | gisi: Split indication to use separate socket | Aki Niemi | 1 | -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-22 | gisi: Adapt and refactor socket module | Aki Niemi | 2 | -24/+18 | |
Clean up and fix naming. | |||||
2010-12-22 | gisi: Add include guards to pep module | Aki Niemi | 1 | -1/+16 | |
2010-12-22 | gisi: Adapt and refactor pipe module | Aki Niemi | 2 | -115/+155 | |
Make use of the new client API and refactor the code. | |||||
2010-12-22 | gisi: Adapt and refactor netlink module | Aki Niemi | 2 | -80/+73 | |
Adapt to using new modem API and clean up naming and coding conventions. | |||||
2010-12-22 | gisi: Refactor the server API | Aki Niemi | 2 | -284/+103 | |
The new server API is a convenience wrapper on the modem API for servers. | |||||
2010-12-22 | gisi: Refactor the client API | Aki Niemi | 2 | -817/+155 | |
The new client API is a convenience wrapper on the modem API for clients. | |||||
2010-12-22 | gisi: Remove defunct file | Aki Niemi | 1 | -166/+0 | |
Resource reachability verification is now handled in the modem module. | |||||
2010-12-22 | gisi: Redesign ISI message processing | Aki Niemi | 2 | -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-22 | gisi: Add convenience API for structs | Aki Niemi | 2 | -0/+11 | |
2010-12-22 | gisi: Make subblock iterator use new message API | Aki Niemi | 2 | -13/+19 | |
2010-12-22 | gisi: Add separate file for common constants | Aki Niemi | 1 | -0/+57 | |
2010-12-22 | gisi: Add new API for ISI message handling | Aki Niemi | 2 | -0/+185 | |
2010-11-29 | gisi: explicitly compare pointers to NULL | Lucas De Marchi | 4 | -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-11 | gisi: return NULL instead of asserting | Mika Liljeberg | 1 | -2/+4 | |
2010-11-11 | gisi: fix crash bug in g_isi_remove_subscription | Mika Liljeberg | 1 | -2/+5 | |
2010-10-22 | gisi: Use of DBG macro is not allowed | Marcel Holtmann | 1 | -7/+0 | |
2010-10-21 | gisi: Add method for verifying any resource | Mika Liljeberg | 2 | -6/+46 | |
Add g_isi_verify_resource() function to GIsiClient for verifying the reachability of an arbitrary resource. | |||||
2010-10-21 | gisi: store object handle for associated server | Mika Liljeberg | 3 | -0/+30 | |
2010-10-21 | gisi: Allow subscribes towards any resources | Mika Liljeberg | 2 | -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-21 | gisi: make timeout optional | Mika Liljeberg | 1 | -20/+31 | |
2010-10-21 | gisi: Add sendto methods to GIsiClient | Mika Liljeberg | 2 | -11/+99 | |
Add g_isi_vsendto() and g_isi_sendto() methods for sending messages to an arbitrary Phonet address. | |||||
2010-10-14 | gisi: Fix copyright and license boilerplate | Aki Niemi | 18 | -246/+230 | |
2010-10-06 | gisi/verify: check g_try_new0 return value | Pekka Pessi | 1 | -0/+3 | |
2010-09-30 | gisi: Remove route adding API | Aki Niemi | 2 | -75/+0 | |
2010-09-14 | Fix common misspelling in gisi | Lucas De Marchi | 2 | -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-02 | gisi: added g_isi_send() and g_isi_vsend() | Pekka Pessi | 2 | -9/+84 | |
Include a finalize function in GIsiRequest | |||||
2010-08-30 | gisi: Retry version query in g_isi_verify() | Pekka Pessi | 1 | -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-30 | gisi: Fix counter for indication subscriptions | Aki Niemi | 1 | -1/+6 | |