[Commotion-dev] Fwd: [serval-project-dev] Using Bluetooth device name as message transport (from guardian-dev)

Paul Gardner-Stephen paul at servalproject.org
Thu Oct 2 11:00:56 EDT 2014


If anyone is interested in taking a look at implementing this, it would be
very interesting, and we would be willing to offer what assistance we can.

Paul.

On Thu, Oct 2, 2014 at 11:18 PM, Dan Staples <
danstaples at opentechinstitute.org> wrote:

> -------- Original Message --------
> Subject: [serval-project-dev] Using Bluetooth device name as message
> transport (from guardian-dev)
> Date: Wed, 01 Oct 2014 23:18:20 +0100
> From: Kevin Steen <googlegroups-servaldev at kevinsteen.net>
> Reply-To: serval-project-developers at googlegroups.com
> To: Serval Project Developers <serval-project-developers at googlegroups.com>
>
> If you haven't already seen it, the Guardian project have done a
> proof-of-concept app which uses the bluetooth device name as a message
> transport, since the name can be 248 bytes and recent phones allow a
> long 'discoverable' period.
>
> This might be a great option for serval mesh connectivity, too,
> increasing the number of phones able to participate in the mesh and
> giving rhizome greater reach.
>
> The sample app is at the URL below, or read the thread from
> https://lists.mayfirst.org/pipermail/guardian-dev/2014-October/003844.html
>
> -Kevin
>
>
> -------- Original Message --------
> Subject: Re: [guardian-dev] FireChat moved off iOS proprietary mesh to
> their own xp mesh protocol?
> Date: Wed, 01 Oct 2014 12:53:59 -0400
> From: Nathan of Guardian <nathan at guardianproject.info>
> To: Michael Rogers <michael at briarproject.org>
> CC: guardian-dev at lists.mayfirst.org
>
>
>
> On Wed, Oct 1, 2014, at 12:08 PM, Michael Rogers wrote:
> > On 01/10/14 14:29, Nathan of Guardian wrote:
> >> So, this should work:
> >
> >> Intent discoverableIntent = new
> >> Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE);
> >>
> discoverableIntent.putExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION,
> >> 0);
> >> startActivity(discoverableIntent);
> >
> > Results from the pile o'phones:
> >
> > Duration 0:
> >
> > Galaxy Nexus (4.3): Indefinite, setting is persistent when BT is
> > turned off and on again
> > Samsung Galaxy Ace 2 (4.2.1): Indefinite, not persistent
> > Sony Xperia tipo (4.0.4): Prompt says indefinite, but phone doesn't
> > actually become discoverable
> > HTC Wildfire S (2.3.3): 120 seconds
> > Huawei U8110 (2.1): 120 seconds
> >
> > Duration 120:
> >
> > Galaxy Nexus (4.3): 120 seconds
> > Samsung Galaxy Ace 2 (4.2.1): 120 seconds
> > Sony Xperia tipo (4.0.4): 120 seconds
> > HTC Wildfire S (2.3.3): 120 seconds
> > Huawei U8110 (2.1): 120 seconds
> >
> > Duration 3600:
> >
> > Galaxy Nexus (4.3): 3600 seconds, not persistent
> > Samsung Galaxy Ace 2 (4.2.1): 3600 seconds, not persistent
> > Sony Xperia tipo (4.0.4): 3600 seconds, not persistent
> > HTC Wildfire S (2.3.3): 300 seconds, not persistent
> > Huawei U8110 (2.1): 300 seconds, not persistent
> >
> > Cheers,
> > Michael
>
> Interesting results... here is what my hacking has wrought:
>
> https://github.com/n8fr8/gilgamesh
>
> It is based on the Android-17 BluetoothChat sample, but changed to use
> the getName() as the message bearer, and the 3600 timeout option. This
> means that app starts up in discovery mode and stays there, and you
> don't have to pair or anything.
>
> For the user name, it uses the first 6 digits of the Bluetooth MAC
> address ID.
>
> There is a "Direct Message" mode that uses the insecure socket option if
> not paired, and the secure socket option if paired (or it will soon).
> Over this socket, we could easily add in OTR.
>
> Finally, if you are paired with a user, there username will be appended
> with a * so you can know that they are someone you trust and have linked
> with in person.
>
> +n
> _______________________________________________
> Guardian-dev mailing list
>
> Post: Guardian-dev at lists.mayfirst.org
> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Serval Project Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to serval-project-developers+unsubscribe at googlegroups.com.
> To post to this group, send email to
> serval-project-developers at googlegroups.com.
> Visit this group at
> http://groups.google.com/group/serval-project-developers.
> For more options, visit https://groups.google.com/d/optout.
>
>
> _______________________________________________
> Commotion-dev mailing list
> Commotion-dev at lists.chambana.net
> https://lists.chambana.net/mailman/listinfo/commotion-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-dev/attachments/20141003/5c8738d5/attachment.html>


More information about the Commotion-dev mailing list