Click here to Skip to main content
15,881,882 members
Articles / Internet of Things
Article

Intel® Edison Board Getting Started with Bluetooth

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
8 Oct 2015CPOL 7.5K  
Intel® Edison has built-in Bluetooth, this document demonstrates how to enable Bluetooth and pair to a device.

This article is for our sponsors at CodeProject. These articles are intended to provide you with information on products and services that we consider useful and of value to developers

Get access to the new Intel® IoT Developer Kit, a complete hardware and software solution that allows developers to create exciting new solutions with the Intel® Galileo and Intel® Edison boards. Visit the Intel® Developer Zone for IoT.

Intel® Edison has built-in Bluetooth*, this document demonstrates how to enable Bluetooth* and pair to a device.

Run the following commands to enable Bluetooth*:

rfkill unblock bluetooth
bluetoothctl

bluetoothctl will start BlueZ command line utility, when inside the BlueZ command line utility you will see [bluetooth]# at the beginning of each line.

Register an agent and set it to default:

agent KeyboardDisplay
default-agent

Scan for Bluetooth* devices by running scan on. The available Bluetooth devices are displayed.

scan on

To pair to a Bluetooth* device you need the device ID to run the following command.

pair <Device ID>

Once the device pairs successfully, connect to the device by running this command:

connect <Device ID>

To see more commands type help. To exit BlueZ command line utility type exit. See Figure 1 for a screenshot of the process.

Image 1

Figure 1- Screenshot of Bluetooth* setup.

Resources

Intel® Edison Bluetooth User Guide

Intel® Edison Developer Resources

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
You may know us for our processors. But we do so much more. Intel invents at the boundaries of technology to make amazing experiences possible for business and society, and for every person on Earth.

Harnessing the capability of the cloud, the ubiquity of the Internet of Things, the latest advances in memory and programmable solutions, and the promise of always-on 5G connectivity, Intel is disrupting industries and solving global challenges. Leading on policy, diversity, inclusion, education and sustainability, we create value for our stockholders, customers and society.
This is a Organisation

42 members

Comments and Discussions

 
-- There are no messages in this forum --