MasterofProject
Mobile development RSS CSDN home> Mobile development

Create Bluetooth * low energy applications

Published in14:01 2015-12-29| Time reading| sourceCSDN| ZeroArticle comments| authorCSDN

Abstract:This guide describes how to create a run on Intel Galileo or Intel Edison development board of the Bluetooth * smart / low energy consumption (ble) peripheral applications. The application of the user can be developed in the way BLE peripherals publicity. They can also read and write data by containing the corresponding features of the service.

This guide describes how to create a run on Intel Galileo or Intel Edison development board of the Bluetooth * smart / low energy consumption (ble) peripheral applications. The application of the user can be developed in the way BLE peripherals publicity. They can also read and write data by containing the corresponding features of the service.

In this case, the mobile device will act as a central device, scan and connect to the BLE peripheral equipment (your development board), and read and write data on the device. BLE peripheral application on the development board of the source code, please visit:Https://github.com/gomobile/iotapp-template-ble-peripheral. On the source code for BLE mobile applications running on mobile devices, please visit:Https://github.com/gomobile/sample-ble-central.

The Bluetooth low energy consumption communication between mobile devices and embedded development board can provide delivery system to help you carry out data transmission between central equipment and peripheral equipment.

For an overview of Bluetooth low energy communication, please refer toIntroduction of Bluetooth application development.

Because all communications between the mobile device and the development board are completed by a Bluetooth low energy consumption module, they do not have to be connected to the same wireless network. But the Intel IoT Edition XDK and development board must be connected to the same network.

requirement

  • You have installed Intel XDK IoT Edition and connect it to the Intel Galileo or Intel Edison development board. Please refer to the specific stepsIntel XDK IoT Edition entry.
  • Your development board must be connected to the system through the same network. Please refer to the development board connection stepIntel XDK IoT Edition entry.
  • Your development board must contain a Bluetooth module:

For the Intel Edison development board: Bluetooth module has been built in the development board.

For the Intel Galileo development board: you need to buy and install the BLE compatible products, such asBLE - Grove*.

Create new project with the help of BLE peripheral function

This section describes how to use the sample code to declare the existence of the development board via BLE. You can read and write data through the BLE central device, if the code is ready and is in a state of operation.

To understand the design considerations, including detailed technical information about the project, please visitHttps://github.com/gomobile/iotapp-template-ble-peripheral#design-considerations. The project was carried out in the test with Arduino* expansion board Intel Edison development board.

1 run Intel IoT Edition XDK.

2 click on the top left"Projects"Tab.

3 click"A New Project Start".

4 click on the "of Things Embedded Application Internet" below"Templates".

5 click on the right side"(BLE) BLE-Peripheral". Click"Continue".

6 in"Name Project"Enter the project name in the field, and then click"Create". New project open.

View full text

top
Zero
step on
Zero