[self.peripheral writeValue:data forCharacteristic:self.writeCharacteristic type:CBCharacteristicWriteWithResponse];
iOS 用蓝牙向外设写数据 发送的类型只用data 但是外设只能通过蓝牙接受byte数组。。改怎么办。。。
漂亮男人2017-05-02 09:38:21
No need to do anything, the middle is all bit stream, no matter what you send to the other side, it will become a byte array