简体   繁体   English

如何快速(IOS 8)连接和发送/接收数据到蓝牙设备(OBDII)?

[英]How to connect and send/receive data to bluetooth device (OBDII) in swift (IOS 8)?

I tried with CoreBluetooth but its impossible. 我尝试了CoreBluetooth,但它不可能。 I look for something like BluetoothSocket in Android. 我正在寻找类似Android中的BluetoothSocket之类的东西。

I try ExternalAccessory but my device don't appear, how can I get data from OBDII bluetooth 4.0 (BLE)? 我尝试使用ExternalAccessory,但是我的设备没有出现,如何从OBDII蓝牙4.0(BLE)获取数据? Exist another method to connect with device? 是否存在另一种与设备连接的方法? Also I try CoreBluetooth but don't get data. 我也尝试CoreBluetooth,但没有数据。

Unfortunately Apple's Bluetooth does not work with the OBDII devices. 不幸的是,Apple的蓝牙不能与OBDII设备一起使用。 iOS only supports a limited number of profiles. iOS仅支持有限数量的配置文件。 https://support.apple.com/en-us/HT204387 https://support.apple.com/zh-CN/HT204387

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

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