ERROR: mbim message timeout - (using umbim on OpenWRT)

Markus Gothe nietzsche at lysator.liu.se
Mon Mar 23 10:58:53 PDT 2015


Got SMS working today in umbim... Peter I might give the IP configuration a shot as well now when I have a slight understanding of umbim / mbim. Maybe Sierra Aircards will give out IP-configuration by MBIM.

My tip to get it working is to adopt the structs to the MBIM 1.0 spec and parse the data in the response-function...

I like the way libmbim does all this magic with offsets and I am quite sure one can turn the libmbim JSON-parser to work niceley with umbim, adding some heller functions...

If I was good enough in programming PERL (I did program some cgi-stuff 14 years ago but switched to PHP in the middle of the project for getting rational session-keeping). I would have started by this approach actually.

//M

Den 23 mar 2015 12:00 skrev Peter Gerten <peter.gerten at googlemail.com>:
>
> Aleksander, would the old package in git://gitorious.org/lanedo/openwrt.git work with the trunk of OpenWRT at all or are there changes that would break it?
>
> Peter
>
> On Fri, Mar 13, 2015 at 2:37 AM, Aleksander Morgado <aleksander at aleksander.es> wrote:
>>
>> On Thu, Mar 12, 2015 at 2:31 PM, Bjørn Mork <bjorn at mork.no> wrote:
>> >> I noticed Aleksander's blog post about a version with integrated
>> >> ModemManager - unfortunately it seems to be very outdated now (
>> >> https://sigquit.wordpress.com/2013/02/14/modemmanager-and-latest-udev-in-openwrt/
>> >> ).
>> >
>> > Yes.  But knowing the OpenWRT concerns about any size overhead (they
>> > even delete most of the kernel module meta-data!), it is proably a waste
>> > of time updating it.  They will want umbim anyway, because of the
>> > footprint.
>>
>> Well, using libmbim/mbimcli in OpenWRT is definitely possible, we just
>> depend on GLib/GIO. If you're fine with that dependency, it should be
>> doable.
>>
>> If anyone is interested, let me know and I might create OpenWRT
>> packages. The packages in that old blogpost are in my old employer's
>> Gitorious account, plus gitorious is shutting down soon...
>>
>> --
>> Aleksander
>> https://aleksander.es
>
>


More information about the libmbim-devel mailing list