[self.peripheral writeValue:data forCharacteristic:self.writeCharacteristic type:CBCharacteristicWriteWithResponse];
iOS 用蓝牙向外设写数据 发送的类型只用data 但是外设只能通过蓝牙接受byte数组。。改怎么办。。。
拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...
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
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