简体   繁体   English

反应原生蓝牙 SPP

[英]React Native bluetooth SPP

I try to use SPP on react native, but I don't know the library I have to use.我尝试在 react native 上使用 SPP,但我不知道我必须使用的库。 I try with react-native-bluetooth-serial and serial-next, and react-native-ble-manage, react-native-ble-plx, but I can't find my device SPP.我尝试使用 react-native-bluetooth-serial 和 serial-next,以及 react-native-ble-manage、react-native-ble-plx,但我找不到我的设备 SPP。

What is the library I have to use with SPP ?我必须与 SPP 一起使用的库是什么?

Thanks you,谢谢,

What is the type of the device that you are trying to connect?您尝试连接的设备类型是什么? I've successfully established a serial connection between raspberry pi's integrated Bluetooth and my Android phone using the react-native-bluetooth-serial-next library.我已经使用react-native-bluetooth-serial-next库成功地在 raspberry pi 的集成蓝牙和我的 Android 手机之间建立了串行连接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM