Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Raspberry Pi 3 Projects for Java Programmers

You're reading from  Raspberry Pi 3 Projects for Java Programmers

Product type Book
Published in May 2017
Publisher Packt
ISBN-13 9781786462121
Pages 286 pages
Edition 1st Edition
Languages
Authors (3):
Rajdeep Chandra Rajdeep Chandra
John Sirach John Sirach
Profile icon John Sirach
Pradeeka Seneviratne Pradeeka Seneviratne
Profile icon Pradeeka Seneviratne
View More author details

Table of Contents (8) Chapters

Preface Setting up Your Raspberry Pi Automatic Light Switch Using Presence Detection A Social and Personal Digital Photo Frame Integrating a Real-Time IoT Dashboard Wireless Controlled Robot Building a Multipurpose IoT Controller Security Camera with Face Recognition

Using the Bluetooth chip on the Raspberry Pi

Since the Raspberry Pi 3, a Bluetooth chip that supports BLE 4.1 has been present on the board. Using Bluetooth from Java can be a challenging thing to do. The latest specification of Bluetooth integration is from the JSR (Java Specification Request)-82 from 2010, which is version 4, and is implemented in J2ME (Java 2 Micro Edition). Although this specification is implemented in J2ME, there are libraries available that provide this specification, although not completely, for J2SE. One of these libraries is called BlueCove.

BlueCove tries to comply with the JSR-82 specification published in 2010. Initial support from BlueCove is for non-ARM based devices. To be able to use Bluetooth on ARM-based devices such as the Raspberry Pi, we will need to create the necessary libraries ourselves or we can use pre-built libraries. The download already contains the libraries we need...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}