public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Marek Lindner <lindner_marek@yahoo.de>
To: b.a.t.m.a.n@lists.open-mesh.org, haijian sun <smartbaobao@gmail.com>
Subject: Re: [B.A.T.M.A.N.] Have you considered compiled a batman-adv.ko for android?
Date: Tue, 7 May 2013 16:03:22 +0800	[thread overview]
Message-ID: <201305071603.22556.lindner_marek@yahoo.de> (raw)
In-Reply-To: <5188AEE9.5040508@wirelesspt.net>

On Tuesday, May 07, 2013 15:36:09 cmsv wrote:
> > so, I know it is the imcompatibility of my phone's kernel version and
> > the compile tool's, which seems easy to solve. But, here is the
> > question, If I want to develope a software for a lot of users, I can't
> > get their kernel version and compile each batman-adv.ko for them, and
> > unfortunately, android has various different versions.
> >
> > How about let android compile its own batman-adv.ko? But I think it is
> > of great difficulity.

You are right that compiling a kernel module for different versions and 
kernels out there is an uphill battle. An application in userspace is better 
suited for this approach. Alternatively, you have to convince the manufacturer 
to build batman-adv by default - batman-adv is part of the stock Linux kernel 
after all.

Nonetheless, even if you manage to solve the software compilation, 
distribution and adhoc mode inavailability / wifi bugs with different drivers 
you still have biggest issue unaddressed: power consumption. Ad-hoc mode has 
no power save mode I know of which leads to a steady battery drain as soon as 
you turn on your wifi. You don't even need to turn meshing and you can watch 
your smartphone's battery die

Of course, driving into the desert to show how 2 smartphones can talk to each 
other over a mesh is quite catchy but totally impractical in today's life. 
Until power saving can be solved in an intelligent manner everything else is a 
pointless exercise.

And no, carrying a car battery in your hand bag to power your phone is not a 
practical solution either.  ;-)

Cheers,
Marek

      parent reply	other threads:[~2013-05-07  8:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAJy53=m47HpBE2vYsspJAVkyKR9OaV5gUTyxFvAzuEUo8FDpMg@mail.gmail.com>
2013-05-07  7:36 ` [B.A.T.M.A.N.] Have you considered compiled a batman-adv.ko for android? cmsv
2013-05-07  7:49   ` Marek Lindner
2013-05-07  8:03   ` Marek Lindner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201305071603.22556.lindner_marek@yahoo.de \
    --to=lindner_marek@yahoo.de \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    --cc=smartbaobao@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox