Aleksander Morgado
|
d1af06e435
|
qmi-device: avoid warnings when putting the guint32 into a gpointer
|
2012-07-03 16:08:48 +02:00 |
Aleksander Morgado
|
c8fa2d6a34
|
cli,dms: don't expect always all three ESN, IMEI and MEID when getting IDs
|
2012-07-03 16:08:48 +02:00 |
Aleksander Morgado
|
f150ec1449
|
message-dms: only fail get_ids_finish() if none of the expected outputs was retrieved
Not every device will report all three ESN, IMEI and MEID.
|
2012-07-03 16:08:48 +02:00 |
Aleksander Morgado
|
f15f0c09e8
|
build: fix package name in configure output report
|
2012-07-03 16:08:48 +02:00 |
Aleksander Morgado
|
d4a9688881
|
cli: new `--dms-get-ids' action
|
2012-07-03 16:08:48 +02:00 |
Aleksander Morgado
|
b77ae5efaa
|
client-dms: new method to get IDs asynchronously
|
2012-07-03 16:08:48 +02:00 |
Aleksander Morgado
|
25ee869bc7
|
enums: new enum for DMS commands, even if unused currently
|
2012-07-03 16:08:48 +02:00 |
Aleksander Morgado
|
67acd1de23
|
message-dms: new helper to build/parse messages to get IDs
|
2012-07-03 16:08:48 +02:00 |
Aleksander Morgado
|
af1c73e955
|
message: new method to retrieve a newly allocated string from a message TLV
|
2012-07-03 16:08:48 +02:00 |
Aleksander Morgado
|
7dd4d5d926
|
enums: add additional known CTL commands, even if unused currently
|
2012-07-03 16:08:48 +02:00 |
Aleksander Morgado
|
8d08735135
|
cli: new `--ctl-get-version-info' action
Also setup the generic codebase for CTL actions.
|
2012-07-03 16:08:48 +02:00 |
Aleksander Morgado
|
d116505b8e
|
message: ensure only responses are used to match transactions
|
2012-07-03 15:47:22 +02:00 |
Aleksander Morgado
|
c049a7c91a
|
device: detect broadcast messages and avoid trying to match transactions on them
|
2012-07-03 15:47:22 +02:00 |
Aleksander Morgado
|
085270afd8
|
client: use new `QMI_CID_NONE'
|
2012-07-03 15:47:22 +02:00 |
Aleksander Morgado
|
3d7795440c
|
device: report QMI protocol errors up the stack
|
2012-07-03 15:47:22 +02:00 |
Aleksander Morgado
|
1aa8f46cfe
|
message: new method to parse the operation status from the QMI response
|
2012-07-03 15:47:22 +02:00 |
Aleksander Morgado
|
c82811caaa
|
enums: new `QmiProtocolError' enum
Define the known set of QMI protocol errors that may be reported in QMI
responses.
|
2012-07-03 15:47:22 +02:00 |
Aleksander Morgado
|
f643254159
|
device: don't allow sending messages without a proper CID
|
2012-07-03 15:47:22 +02:00 |
Aleksander Morgado
|
2e3ea8da3e
|
client: allow users to explicitly release the CID
|
2012-07-03 15:47:22 +02:00 |
Aleksander Morgado
|
14858a9913
|
device: skip implicit channel buffering from GLib
|
2012-07-03 15:47:22 +02:00 |
Aleksander Morgado
|
4cc620bda9
|
client: fix first transaction number in the sequence
|
2012-07-03 15:47:22 +02:00 |
Aleksander Morgado
|
b168d34223
|
client-dms: new `QmiClientDms' to handle the DMS service
|
2012-07-03 15:47:22 +02:00 |
Aleksander Morgado
|
75d3232d6e
|
client: when the object gets disposed, launch CID release
|
2012-07-03 15:47:22 +02:00 |
Aleksander Morgado
|
f5085dc992
|
client: ensure the services match in the CID allocation reply
|
2012-07-03 15:47:22 +02:00 |
Aleksander Morgado
|
83afa8dcbc
|
client: allocate a new CID when the `QmiClient' is created.
|
2012-07-03 15:47:21 +02:00 |
Aleksander Morgado
|
6d8225abd2
|
client-ctl: new `QmiClientCtl' to handle the CTL service
The `QmiDevice' will create one of these objects and keep it around, to be
used as the generic client in the CTL service.
|
2012-07-03 15:47:21 +02:00 |
Aleksander Morgado
|
02467a15bd
|
client: new base generic client
|
2012-07-03 15:47:21 +02:00 |
Aleksander Morgado
|
3e44d71641
|
device: allow commands to time out if no reply is received
|
2012-07-03 15:47:21 +02:00 |
Aleksander Morgado
|
73a956d48d
|
device: check version info of the device when it gets opened
If the device doesn't reply properly to the version info request, the open
operation will get failed.
|
2012-07-03 15:47:21 +02:00 |
Aleksander Morgado
|
58dab61d7a
|
message-ctl: new utilities to use QMI-CTL operations
Just the version info request for now
|
2012-07-03 15:47:21 +02:00 |
Aleksander Morgado
|
142a26cc3e
|
device: new async method to send a `QmiMessage' request and receive a reply
The `QmiDevice' will keep track of each transaction, so that whenever the proper
reply is received, the async operation gets finished.
|
2012-07-03 15:47:21 +02:00 |
Aleksander Morgado
|
9b4414d869
|
message: new `QmiMessage' type
|
2012-07-03 15:47:21 +02:00 |
Aleksander Morgado
|
1f87a0de25
|
message: include original sources from Chromium's libqmi
These two files are BSD-licensed. Further changes in these files will be under
LGPLv2+.
|
2012-07-03 15:47:21 +02:00 |
Aleksander Morgado
|
06bccb357d
|
cli: new `qmicli' command line utility
|
2012-07-03 15:47:21 +02:00 |
Aleksander Morgado
|
8a812bcb15
|
utils: new helper method to get a printable string from a binary stream
|
2012-07-03 15:47:21 +02:00 |
Aleksander Morgado
|
616e497ca1
|
enums: new `QmiService' enumeration
|
2012-07-03 15:47:21 +02:00 |
Aleksander Morgado
|
18d63856c0
|
device: new methods to open/close the port
When the port is opened, we create a GIOChannel for R/W, with a proper callback
to read the data as soon as it is available.
|
2012-07-03 15:47:21 +02:00 |
Aleksander Morgado
|
b4a6861c82
|
device: new `QmiDevice' object
Will take care of synchronizing the access to the underlying QMI device file.
|
2012-07-03 15:47:21 +02:00 |
Aleksander Morgado
|
6ab3b7c32a
|
errors: setup a new QMI core error domain
|
2012-07-03 15:47:21 +02:00 |
Aleksander Morgado
|
5520616c9d
|
build: setup autotools
|
2012-07-03 15:47:13 +02:00 |
Aleksander Morgado
|
85b380fcb5
|
core: moved Gobi API sources and utils to their own subdirectories
|
2012-07-03 15:41:02 +02:00 |
Dan Williams
|
97abf15a58
|
gobi: update with new CodeAurora Gobi drop
|
2012-06-22 12:07:30 -05:00 |
Dan Williams
|
f3400f98c2
|
qmitest: fix signal strength reporting
|
2012-02-24 09:21:24 -06:00 |
Dan Williams
|
c9d80a9f38
|
qmitest: clean up a bit; retrieve signal strength and access tech too
|
2012-02-23 18:14:22 -06:00 |
Dan Williams
|
735303db1d
|
qmidb: more decoding fixups
|
2012-01-31 11:43:50 -06:00 |
Dan Williams
|
79a5f77ee6
|
qmitest: quick test tool
Can use this if you have a driver that can talk to the card using
the correct channel.
|
2012-01-31 00:05:08 -06:00 |
Dan Williams
|
12861f0b48
|
qmidb: split up code handling database pieces
Give then all their own file so it's easier to follow.
|
2012-01-31 00:04:28 -06:00 |
Dan Williams
|
a803ce55c7
|
qmidb: print TLV database ID too
|
2012-01-16 18:36:09 -06:00 |
Dan Williams
|
3929a31bf0
|
qmidb: print out more information about TLV number and command
|
2012-01-04 18:52:56 -06:00 |
Dan Williams
|
a339ae1f15
|
qmidb: only output one result code struct
The 0x0002 TLV is the standard result code, even though it's
given about 5000 times in Entity.txt. Just print it once.
|
2012-01-03 13:08:05 -06:00 |