close
教學:是用藍芽連接心跳帶的
http://www.raywenderlich.com/52080/introduction-core-bluetooth-building-heart-rate-monitor
沒有心跳帶怎麼辦…沒關係,有模擬器
https://github.com/AttackPattern/BlueSim
不work?(教學裡有bug)
http://www.cocoachina.com/bbs/3g/read.php?tid=230875
iOS需要在蓝牙状态处于 power on 后扫描才能保证有发现设备的回调。
測試時,Buletooth Simulator 要先打開
另一台
完成
其他資源:
藍牙 BLE CoreBluetooth 初探
http://cms.35g.tw/coding/%E8%97%8D%E7%89%99-ble-corebluetooth-%E5%88%9D%E6%8E%A2/
iOS 上的蓝牙框架 - Core Bluetooth for iOS [译]
http://doruby.com/cocoaframework/2013/08/15/core-bluetooth-for-ios/
end
全站熱搜