Crea sito

Paldan time

Just write it!

Navigation Menu

cdc-wdm support now added in AOSP Hikey

Posted by on Set 11, 2017 in Android, AOSP, Linux, MBIM, QMI, USB | 0 comments

Recently I was trying to use my QMI and MBIM based modems in AOSP, with no luck: no cdc-wdm device was available in /dev/ after modem plugging, apparently without any kernel error. First guess was lack of cdc-wdm device driver in my kernel build, but, after checking, that was not the issue, since the network interfaces of the modem were properly created....

Read More

CDC ACM GET LINE CODING request in Linux

Posted by on Ago 18, 2017 in development, kernel, Linux, USB |

Recently I was looking for a way to verify if CDC ACM GET LINE CODING request was working properly on a specific modem, since a customer was reporting an issue with it. In document “USB Communication Class Subclass Specification for PSTN Devices” GET LINE CODING is described as following (paragraph 6.2.2, Table 11): “Requests current DTE...

Read More

Telit plugin improvements in ModemManager

Posted by on Giu 26, 2017 in kernel, Linux, MBIM, ModemManager, Telit | 1 comment

In the past few months a lot of development happened recently in ModemManager, both new features and bugfixings. As usual I will mainly focus on the changes that affect Telit plugin, but I suggest to take a look log at the whole git log since there is a lot more. Telit plugin new features A short list of new features: Telit RS232 modem supports, mandatory...

Read More

Adding LTE in AOSP preferred network settings panel

Posted by on Apr 7, 2017 in Android, AOSP, RIL |

Ever wondered why you do not find LTE in your AOSP preferred network settings panel even if you are using an LTE modem? Go ahead reading to find a possible solution… Native RIL library presents a way for telling the platform which capabilities are supported by the modem: /** * RIL_REQUEST_GET_RADIO_CAPABILITY * * Used to get phone radio capablility....

Read More

How to easily test RIL_REQUEST_OEM_HOOK_RAW in AOSP

Posted by on Feb 8, 2017 in Android, AOSP, development, RIL |

Recently I had the need to develop a custom behavior in AOSP for one of my modems: on the native side it was quite clear I had to use RIL_REQUEST_OEM_HOOK_RAW, but how to easily test this on the Java side? RIL_REQUEST_OEM_HOOK_RAW in ril.h Taking a look at native RIL main include file hardware/ril/include/telephony/ril.h we can find the description for the...

Read More