トップ «前の日記(2014-02-11) 最新 次の日記(2014-02-18)» 編集

Cocoa練習帳

iOS/iPhone/iPad/watchOS/tvOS/MacOSX/Android プログラミング, Objective-C, Cocoa, Swiftなど

2012|01|02|03|04|05|06|07|08|09|10|11|12|
2013|01|02|03|04|05|06|07|08|09|10|11|12|
2014|01|02|03|04|05|06|07|08|09|10|11|12|
2015|01|02|03|04|05|06|07|08|09|10|11|12|
2016|01|02|03|04|05|06|07|08|09|10|11|12|
2017|01|02|03|04|05|06|07|08|09|10|11|12|
2018|01|02|03|04|05|06|07|08|09|10|11|12|
2019|01|02|03|04|05|06|07|08|09|10|11|12|
2020|01|02|03|04|05|06|07|08|09|10|11|12|
2021|01|02|03|04|05|06|07|08|09|10|11|12|
2022|01|02|03|04|05|06|07|08|09|10|11|12|
2023|01|02|03|04|05|06|07|08|09|10|11|12|
2024|01|02|

2014-02-16 [iOS]すれちがい通信(その2)

すれちがい通信にはBluetooth LEを使うのだが、BLuetoothについて説明する。

Bluetoothは省電力な電波を使った無線通信で、最新の4.xでは対応機器は次の3つに分類される。

Bluetooth Smart 4.0で追加されたBluetooth Low Energyのみ対応。
Bluetooth Smart Ready Bluetooth LEと従来のBluetoothの両方に対応。
Bluetooth 従来のBluetoothのみ対応。

iOSでBluetoothに対応する方法を整理してみる。

従来のBLuetooth MFi機器に対してExternal Accessory Frameworkで通信。
Game Kit
Bluetooth LE Core Bluetooth Framework

iOSで、例えば、市販されているBluetooth機器と自由に通信するということになると、Bluetooth LEという事になると思う。

_ ソースコード

GitHubからどうぞ。
https://github.com/murakami/workbook/tree/master/ios/Wibree - GitHub

_ 【Cocoa練習帳】

http://www.bitz.co.jp/weblog/
http://ameblo.jp/bitz/(ミラー・サイト)

トップ «前の日記(2014-02-11) 最新 次の日記(2014-02-18)» 編集