react-native-bluetooth-cross-platform icon indicating copy to clipboard operation
react-native-bluetooth-cross-platform copied to clipboard

Underdark feedback for developers of React bindings

Open virl opened this issue 7 years ago • 16 comments

Greetings! My nickname is Virl and I'm author of Underdark libraries.

Feel free to ask me here any questions about project or give feedback and proposals regarding React interoperability from native side. You can also do it in Issues of Underdark repositories on GitHub, if you feel it will be more appropriate that way.

Wish all the best for your bindings project!

virl avatar Mar 01 '17 10:03 virl

Hi Virl thanks for releasing this!

Given the projects current state would it be possible to send voice data over the connection? I'm interested in using this to make a local walkie talkie type application.

butchmarshall avatar Jan 07 '18 23:01 butchmarshall

It should be possible, but underlying mobile OS uses tcp-like connection, so I don’t know how good latency would be.

virl avatar Jan 08 '18 03:01 virl

That's great @virl!

I'm trying to use react-native-webrtc for the connections but don't even know where to get started with this library to allow the devices to discover one another?

Do you have any pointers to get me started?

butchmarshall avatar Jan 09 '18 02:01 butchmarshall

Hi @virl ! Can you give us some instructions on how to use the library? Like where I should start or something. A sample project would be great.

pttd1304 avatar Jan 29 '18 06:01 pttd1304

@pttd1304 Hi. Library's github repo contains sample project that transfers arbitrary bytes.

virl avatar Jan 29 '18 16:01 virl

@virl Hey. Can you provide a link to the sample project, please? I cannot find it anywhere. Many thanks.

pttd1304 avatar Jan 29 '18 16:01 pttd1304

@pttd1304 https://github.com/udark/underdark-cocoa/ https://github.com/udark/underdark-android/

virl avatar Jan 29 '18 16:01 virl

@virl Thank you. I thought it was a sample project for react native underdark. How should I start a project with react native underdark library?

pttd1304 avatar Jan 29 '18 16:01 pttd1304

@pttd1304 Sorry, React native support for it is not my project.

virl avatar Jan 29 '18 16:01 virl

@virl Oh. So may I ask what this react native bluetooth crossplatform is for, and how I can utilize this library.

pttd1304 avatar Jan 29 '18 16:01 pttd1304

@pttd1304 It is not my project, so I guess you should not ask that from me. :)

virl avatar Jan 29 '18 16:01 virl

@virl Ok. Thanks for the support. Time to get my hands dirty then.

pttd1304 avatar Jan 29 '18 16:01 pttd1304

@virl Just a couple of quick questions re: WIFI connections

  1. Is there a limit to the number of users connected?
  2. Once I am connected to a number of users are we using the same IP range on the adhoc network?

MichaelFBA avatar Mar 29 '18 14:03 MichaelFBA

@MichaelFBA

  1. For Wi-Fi connections, its OS socket fd limit (thousands in same network).
  2. Adhoc is not supported on stock Android and my library doesn't use it. For Wi-Fi it connect only in same Wi-Fi LAN Access Point.

virl avatar Mar 30 '18 12:03 virl

@virl Thanks for clearing that up. I was under the impression we could use your library without an intermediary access point as I think that's where the real magic happens.

I noticed Android has Wifi Direct, is this something you could use? https://developer.android.com/guide/topics/connectivity/wifip2p.html

michaeldanielbell avatar Mar 31 '18 11:03 michaeldanielbell

@michaeldanielbell No, Wi-Fi Direct on Android doesn't work because it is bugged beyond repair on OS level.

virl avatar Mar 31 '18 11:03 virl