From mboxrd@z Thu Jan 1 00:00:00 1970 From: bjorn@mork.no (=?utf-8?Q?Bj=C3=B8rn_Mork?=) Date: Tue, 13 Feb 2018 16:30:33 +0100 Subject: Interface between LTE devices and Linux In-Reply-To: (Jeffrey Walton's message of "Tue, 13 Feb 2018 08:21:23 -0500") References: Message-ID: <87r2pooqjq.fsf@miraculix.mork.no> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Jeffrey Walton writes: > In addition to GKH's answer, what I have seen... > > Some Android code to talk to the radio is written in plain java, like > https://chromium.googlesource.com/android_tools/+/18728e9dd5dd66d4f5edf1b792e77e2b544a1cb0/sdk/sources/android-19/com/android/internal/telephony/CommandsInterface.java . Well, that only talks to the RIL so it is pretty high up the stack. If you want the software that actually implement the 3GPP stuff, then you'd either give Qualcomm your right arm and your first born or you look at what the Osmocom guys are doing. The RIL is closed source too, and it will only use some high level protocol like QMI or AT commands to send requests to the modem firmware anyway. You can skip both the java code and the closed source RIL and go straight for oFono or ModeManager if you want stuff at that layer. But I understood the original request as wanting to see more detail at the actual radio layer. That's difficult. But you might get some useful info out of the debug interfaces. Bj?rn