Awesome work! Is there any example for wifiP2P (Wifi Direct)? Thanks
Henning Groß
@hgross
Thanks! You can try any combination of Beacons/Adapters with the main demo app (contains a configurator). https://github.com/Blaubot/Blaubot/tree/master/examples/blaubot-app But I would not recommend WiFi-Direct as it is not really stable on Android. Do you expect high traffic for your use-case?
LeeroyMagic
@zoharyosef
Yes, actually I need it to be very stable... I really liked the king, prince and "peasansts" architecture though :)
Uh, usually "high res" and "lots" and bluetooth don't go well together (if a decent latency is required as well) :-) Would be nice to hear if salut worked out for you. If so, we could create a blaubot-adapter as a wrapper around it. As of 11/2015 the WiFi-Direct stability was varying amongst different devices but almost never stable :-) Also note, that you still could use bluetooth/nfs/... simultaneously to discover devices while connected to any WLAN and then communicate via tcp-ip using the ethernet-adapter at wlan-speed. You could even create a WLAN using some tethering-hacks (reflection to hidden api) on an android phone.
Hale-ma
@Hale-ma
Hi , thanks to your awesome library! Just want to know that does this library merge Bluetooth piconet into Scatternet when there are many devices and they are far away form each other ?
openmotion
@openmotion
hello i try the chat demo in bluetooth i replaced mBlaubot = BlaubotAndroidFactory.createEthernetBlaubot(APP_UUID); by mBlaubot = BlaubotAndroidFactory.createBluetoothBlaubot(APP_UUID); . The two android devices are paired but i can't chat ...
openmotion
@openmotion
ok i used this : mBlaubot = BlaubotAndroidFactory.createEthernetBlaubotWithBluetoothBeacon(APP_UUID, 17171, BlaubotAndroidFactory.getLocalIpAddress());
Henning Groß
@hgross
ok i used this : mBlaubot = BlaubotAndroidFactory.createEthernetBlaubotWithBluetoothBeacon(APP_UUID, 17171, BlaubotAndroidFactory.getLocalIpAddress());
Please check out the complete answer here: Blaubot/Blaubot#8
Henning Groß
@hgross
@Hale-ma Sorry for the late answer. No, we don't build a scatternet! If your devices happen to be in different piconets they will not find each other. But if your use case allows a internet reachable server endpoint, check out BlaubotServer. You can build a routing between multiple (scattered) Blaubot-networks which is kind of a scatternet topology. If at least one device inside a blaubot network is able to reach the blaubot server, all members of that network can communicate with the server (relaying). It will also profit from redundant connections to the server (handover). Check the documentation for details http://blaubot.henning-gross.de/documentation/ If you need an example of how to use the BlaubotServer with Blaubot-networks, check out the examples: https://github.com/Blaubot/Blaubot/tree/master/examples (blaubot-cam and blaubot-cam-server).
openmotion
@openmotion
hello i try with the chat demo app, in BlaubotChatActivity i use : mBlaubot = BlaubotAndroidFactory.createBluetoothBlaubot(APP_UUID); sometimes i can have a full bluetooth chat but i don't understand how the master is determined
it's ok with nexus 5 (6.x) and Xperia Z (4.4.1) but it's more difficult with xiaomi MiMax (in MIUI)
openmotion
@openmotion
mi max and nexus 5 have android 6.x and they don't act as server