← Back to team overview

ubuntu-phone team mailing list archive

Re: [Hardware] BQ Aquaris E5 HD (Ubuntu Edition) not detected as a GSM Modem

 

Thanks sturmflut :)

This is actually the functionality that I wanted (ie., calling/sending SMS using commands). Will try this out

Thanks and Regards,
Suchindra Chandrahas

On Tuesday 10 November 2015 06:40 PM, sturmflut wrote:
Hey Suchindra Chandrahas,


On 09.11.2015 16:52, cs@xxxxxxxxxxxxxx wrote:

I have a BQ Aqueris E5 HD (Ubuntu Edition). I want to detect that phone
as a GSM modem (to send AT commands) in my ubuntu 15.10 desktop.

I don't think the baseband module inside the MediaTek chipset is
directly connected to the USB controller in the "normal" operating mode.
There are some special engineering tools like MTK Catcher, but AFAIK no
"standard" AT command interface visible to the USB host computer.
Android-based devices don't talk AT at the operating system level, but
RIL, and a proprietary driver converts the RIL commands to
vendor-specific commands for the modem.

What you can do is enable ADB or SSH on the phone, connect to it using
"adb shell"/"phablet-shell" or SSH and then use the ofono component
running on the phone to do anything you want to. There are many example
scripts in

/usr/share/ofono/scripts/

to send SMS, make a call etc. If you look at them you will find that
it's mostly python scripts issuing D-Bus calls, so you can easily build
your own logic using the ofono D-Bus API documented at

http://git.kernel.org/cgit/network/ofono/ofono.git/tree/doc

Hope that helps.

cheers,
Simon





References