蓝牙4.0

蓝牙4.0

蓝牙4.0,有两大优点

  • 省电,其它的优点其实可以忽略
  • iPhone 4S之后的机型开始直接支持,不需要经过MFI认证,可以催生很多应用和外设。

iOS开发

关于RSSI

Talking to the Apple's folk at WWDC, it seemed clear to me that being able to read the RSSI while your application is in the background is something that will go away ...

You should do the work in your device itself, having it monitor the RSSI and sending a notification when required. This will wake-up your application, use less battery and likely more accurate

如果iOS在后台运行,过一小会就会停止读取RSSI。可以在peripheral这端给iOS一个notification,然后iOS就会乖乖的爬起来继续读取RSSI了。

文档

BLE Module

Last edited by Linlinqi, 2014-02-17 17:37:31