iOS面试iOS

LightBlue 基础使用教程

2016-05-05  本文已影响12073人  卓明

LightBlue 介绍

以下摘自 Appstore的介绍

1.支持蓝牙4.0

LightBlue can test all of your devices that use Bluetooth 4.0 Low Energy (also known as Bluetooth Smart, or Bluetooth Light).

2.支持两种模式--中心(模拟手机)和周边(模拟蓝牙设备)

LightBlue has two modes, Central and Peripheral. In Central mode you can scan and connect to all devices around you. You can also clone any peripheral you connect to and make that clone a peripheral of LightBlue. In peripheral mode, your iOS devices simulates your peripheral hardware. You can add and rename services and characteristics.

3.支持读、写和通知,同时可以读取到RSSI(蓝牙强度)

Full support of read, write, and notify is included. You can view the signal strength (RSSI) to get an idea of how close you are to the peripheral.

Use this to test your new BLE Heart Rate Monitor, temperature sensor, TI CC2540 Keyfob, Nordic uBlue, Panasonic PAN1720, etc.
Developers can use LightBlue to test the hardware or firmware of their BTLE peripherals.

4.具体功能包括 Key Features:

5.支持的设备

In order to use this app, you must have iOS7 installed on an iPhone5, iPod Touch (5th generation) or iPad (3rd generation).

This app will not work on iPhone4, iPhone3GS, iPhone3G or iPod Touches before the 5th generation.

LightBlue 展示

  1. 打开LightBlue

如果蓝牙已正常打开

IMG_1004.PNG
  1. 发送数据
IMG_1005.PNG IMG_1006.PNG
  1. 查看Log
    IMG_1007.PNG
上一篇 下一篇

猜你喜欢

热点阅读