Index
A
- AdaFruit
- AdaFruit Proto Plate
- Advanced Linux Sound Architecture (ALSA) driver / Understanding the Android HAL
- analog-to-digital converter (ADC)
- about / The analog-to-digital converter
- Android
- about / Looking back on Android and BeagleBone Black development
- URL, for source code / Looking back on Android and BeagleBone Black development
- preparing, for PacktHAL / Preparing Android for PacktHAL
- preparing, for GPIO / Preparing Android for GPIO use
- custom hardware projects, integrating with / Integrating your solution with Android
- Android, interfacing with
- Android HAL / Understanding the Android HAL
- PacktHAL, installing / Installing PacktHAL
- Android NDK, setting up for PacktHAL / Setting up the Android NDK for PacktHAL
- BeagleBone Black pins, multiplexing / Multiplexing the BBB pins
- Android. 4D Systems
- Android HAL
- about / Understanding the Android HAL
- Android managers / Android managers
- development workflow / The HAL development workflow
- PacktHAL, working with / Working with PacktHAL
- Android installation, on BBB
- about / Installing Android on the BeagleBone Black
- premade Android image, downloading / Downloading a premade Android image
- Android microSD card, creating with Windows / Creating your Android microSD card using Windows
- Android microSD card, creating with Linux / Creating your Android microSD card using Linux
- Android managers
- about / Android managers
- Android microSD card
- creating, Windows used / Creating your Android microSD card using Windows
- creating, Linux used / Creating your Android microSD card using Linux
- Android Native Development Kit (NDK)
- setting up, for PacktHAL / Setting up the Android NDK for PacktHAL
- header, adding under Linux / Adding the header to the NDK under Linux
- header, adding under Windows / Adding the header to the NDK under Windows
- Android Open Source Project (AOSP) KitKat Android / Installing Android on the BeagleBone Black
- Application Not Responding (ANR) / Understanding the AsyncTask class
- AsyncTask
- about / Understanding hardware polling in an app
- using, with long-lived threads / Using AsyncTask with long-lived threads
- isCancelled() method / Using AsyncTask with long-lived threads
- cancel() method / Using AsyncTask with long-lived threads
- onCancelled() method / Using AsyncTask with long-lived threads
- publishProgress() method / Using AsyncTask with long-lived threads
- doPublishProgress() method / Using AsyncTask with long-lived threads
- AsyncTask methods
- doInBackground() / Learning the details of the HardwareTask class
- execute() / Learning the details of the HardwareTask class
- onPreExecute() / Learning the details of the HardwareTask class
- onPostExecute() / Learning the details of the HardwareTask class
B
- BB-PACKTPUB-00A0.dtbo file / Preparing Android for GPIO use
- BBBAndroid
- BBBAndroid image
- BeagleBoard Toys
- BeagleBone Black (BBB)
- about / Looking back on Android and BeagleBone Black development
- hardware / Shopping for the hardware essentials
- hardware components / Learning about the hardware you'll interface with
- Android, installing / Installing Android on the BeagleBone Black
- booting options / Installing Android on the BeagleBone Black
- interfaces / Exploring the BBB's other interfaces
- BeagleBone Black pins
- multiplexing / Multiplexing the BBB pins
- kernel Device Tree / The kernel Device Tree and capemgr
- cape manager (capemgr) / The kernel Device Tree and capemgr
- cape, defining / Defining a cape
- Binder IPC / Understanding the Android HAL
- booting options, BeagleBone Black (BBB)
- onboard eMMC / Installing Android on the BeagleBone Black
- microSD card / Installing Android on the BeagleBone Black
- over the network / Installing Android on the BeagleBone Black
- breadboard, BeagleBone Black (BBB)
C
- cape
- defining / Defining a cape
- cape manager (capemgr)
- about / The kernel Device Tree and capemgr
- services / The kernel Device Tree and capemgr
- Cape Manager (capemgr) functionality
- chip select (CS) signal / Understanding SPI
- CircuitCo / Looking back on Android and BeagleBone Black development
- complete example app
- about / Exploring the complete example app
- user interface / The app's user interface
- hardware polling / Understanding hardware polling in an app
- AsyncTask, using with long-lived threads / Using AsyncTask with long-lived threads
- HardwareTask class, using / Using the HardwareTask class
- complete interface circuit
- building / Building the complete interface circuit
- controller area network (CAN)
- about / Controller area network
- custom app
- creating, including PacktHAL / Creating a new app project that uses PacktHAL
- PacktHAL, building under Windows / Building PacktHAL under Windows
- PacktHAL, building under Linux / Building PacktHAL under Linux
- custom hardware projects integration, with Android
- performing / Integrating your solution with Android
- custom kernel, creating / Creating a custom kernel and Device Tree
- Device Tree, creating / Creating a custom kernel and Device Tree
- hardware communication, adding into kernel / Adding hardware communication into the kernel
- existing managers, integrating into / Integrating into existing managers
- new managers, creating / Creating new managers for custom hardware
- hardware / Combining your project with other hardware
- custom prototype capes, constructing / Constructing your own prototype capes
- commercial capes / Commercial capes that interface with Android
- custom kernel
- creating / Creating a custom kernel and Device Tree
D
- development workflow, Android HAL
- about / The HAL development workflow
- Device Tree
- creating / Creating a custom kernel and Device Tree
- directory structure, PacktHAL
- about / The PacktHAL directory structure
E
- Eclipse Android Development Tools (ADT) / Looking back on Android and BeagleBone Black development
- electrically erasable programmable read-only memory (EEPROM) chip / Defining a cape
- Enhanced High Resolution Pulse Width Modulator module (eHRPWM)
- about / Pulse width modulation
- Enhanced Quadrature Encoder Pulse (eQEP) module
- about / Pulse width modulation
- evaluation modules (EVMs) / Integrating into existing managers
F
- file I/O method
- FRAM chip / Adding hardware communication into the kernel
- FTDI cable, BeagleBone Black (BBB)
- about / The FTDI cable
- Future Technology Devices International (FTDI) cable / Shopping for the hardware essentials
G
- GPIO
- about / Understanding GPIOs
- voltage levels / Nuts and bolts of GPIO
- on/high state / Nuts and bolts of GPIO
- off/low state / Nuts and bolts of GPIO
- access methods, under Android / GPIO access methods under Android
- Android, preparing for / Preparing Android for GPIO use
- GPIO-interfacing circuit
- building / Building a GPIO-interfacing circuit, Constructing the circuit
- P9.11 pin / Constructing the circuit
- P9.13 pin / Constructing the circuit
- wiring, checking / Checking your wiring
- GPIO access methods
- about / GPIO access methods under Android
- file I/O method / GPIO access methods under Android, Pros and cons of the file I/O method
- memory-mapping method / GPIO access methods under Android, Pros and cons of the memory-mapping method
- GPIO example app
- about / Exploring the GPIO example app
- installing, under Windows / Installing the app and source under Windows
- source, installing under Windows / Installing the app and source under Windows
- installing, under Linux / Installing the app and source under Linux
- source, installing under Linux / Installing the app and source under Linux
- user interface / The app's user interface
- PacktHAL functions, calling / Calling the PacktHAL functions
- PacktHAL GPIO functions, using / Using the PacktHAL GPIO functions
H
- hardware, BeagleBone Black (BBB)
- about / Shopping for the hardware essentials
- FTDI cable / The FTDI cable
- power supply / Power supply
- breadboard / Breadboard and the mounting plate
- mounting plate / Breadboard and the mounting plate
- microSD cards / MicroSD cards
- hardware components, interfacing with
- about / Learning about the hardware you'll interface with
- general-purpose components / General-purpose components
- AdaFruit memory breakout board / The AdaFruit memory breakout board
- AdaFruit sensor breakout board / The AdaFruit sensor breakout board
- breakout boards, preparing / Preparing the breakout boards
I
- I2C
- about / Understanding I2C
- devices / Devices that use I2C
- multiplexing, on BeagleBone Black / Multiplexing for I2C on the BBB
- I2C-interfacing circuit
- building / Building an I2C-interfacing circuit
- FRAM, connecting / Connecting the FRAM
- FRAM connection, checking with I2C-tools / Checking the FRAM connection with I2C tools
- I2C devices
- representing, in Linux kernel / Representing I2C devices in the Linux kernel
- Android, preparing for FRAM / Preparing Android for FRAM use
- I2C FRAM example app
- about / Exploring the I2C FRAM example app
- user interface / The app's user interface
- PacktHAL FRAM functions, calling / Calling the PacktHAL FRAM functions
- AsyncTask class, using / Understanding the AsyncTask class
- HardwareTask class, using / Learning the details of the HardwareTask class
- installation, PacktHAL
- about / Installing PacktHAL
- PacktHAL, preparing under Linux / Preparing PacktHAL under Linux
- PacktHAL, preparing under Windows / Preparing PacktHAL under Windows
- PacktHAL directory structure / The PacktHAL directory structure
- Android, preparing for PacktHAL / Preparing Android for PacktHAL
- PacktHAL files, pushing under Linux / Pushing PacktHAL files under Linux
- PacktHAL files, pushing under Windows / Pushing PacktHAL files under Windows
- interfaces, BeagleBone Black (BBB)
- programmable real-time units (PRUs) / Programmable real-time units
- serial communications / Serial communications
- controller area network (CAN) / Controller area network
- analog-to-digital converter (ADC) / The analog-to-digital converter
- Pulse Width Modulation (PWM) subsystem / Pulse width modulation
J
- Java Native Interface (JNI)
K
- kernel Device Tree
- kernel drivers / Adding hardware communication into the kernel
L
- land grid array (LGA) / Building an SPI interface circuit
- Linux
- used, for creating Android microSD card / Creating your Android microSD card using Linux
- Linux kernel
- I2C devices, representing / Representing I2C devices in the Linux kernel
- SPI devices, representing / Representing SPI devices in the Linux kernel
M
- master in, slave out (MISO) signal / Understanding SPI
- master out, slave in (MOSI) signal / Understanding SPI
- memory-mapping method
- microSD cards, BeagleBone Black (BBB)
- about / MicroSD cards
- mounting plate, BeagleBone Black (BBB)
- multiplexing, for I2C on BeagleBone Black
- about / Multiplexing for I2C on the BBB
- I2C, connecting via P9 header / Connecting to I2C via the P9 header
- performing / Multiplexing for I2C
O
- on-board diagnostics (OBD)
- about / Controller area network
P
- PacktHAL
- about / The HAL development workflow
- working with / Working with PacktHAL
- installation / Installing PacktHAL
- preparing, under Linux / Preparing PacktHAL under Linux
- preparing, under Windows / Preparing PacktHAL under Windows
- directory structure / The PacktHAL directory structure
- Android, preparing for / Preparing Android for PacktHAL
- files, pushing under Linux / Pushing PacktHAL files under Linux
- files, pushing under Windows / Pushing PacktHAL files under Windows
- PacktHAL, adding to apps
- about / Including PacktHAL within your apps
- Java Native Interface / Understanding the Java Native Interface
- PacktHAL FRAM functions
- openFRAM() function / Calling the PacktHAL FRAM functions
- closeFRAM() function / Calling the PacktHAL FRAM functions
- readFRAM() function / Calling the PacktHAL FRAM functions
- writeFRAM() function / Calling the PacktHAL FRAM functions
- PacktHAL functions
- calling / Calling the PacktHAL functions
- PacktHAL GPIO functions
- openGPIO() function / Using the PacktHAL GPIO functions
- closeGPIO() function / Using the PacktHAL GPIO functions
- readGPIO() function / Using the PacktHAL GPIO functions
- writeGPIO() method / Using the PacktHAL GPIO functions
- onClickButtonLightOn() method / Using the PacktHAL GPIO functions
- onClickButtonLightOff() method / Using the PacktHAL GPIO functions
- PacktHAL sensor functions
- openSensor() function / Calling the PacktHAL sensor functions
- closeSensor() function / Calling the PacktHAL sensor functions
- getSensorTemperature() function / Calling the PacktHAL sensor functions
- getSensorPressure() function / Calling the PacktHAL sensor functions
- paused state / Understanding hardware polling in an app
- power supply, BeagleBone Black (BBB)
- about / Power supply
- premade Android image
- downloading / Downloading a premade Android image
- programmable real-time units (PRUs)
- about / Programmable real-time units
- Pulse Width Modulation (PWM)
- about / Pulse width modulation
R
- resumed state / Understanding hardware polling in an app
S
- serial clock (SCLK) signal / Understanding SPI
- serial communications
- about / Serial communications
- slave select (SS) signal / Understanding SPI
- small outline package (SOP) / Building an I2C-interfacing circuit
- SparkFun
- URL / Constructing the circuit
- SPI
- about / Understanding SPI
- serial clock (SCLK) signal / Understanding SPI
- master out, slave in (MOSI) signal / Understanding SPI
- master in, slave out (MISO) signal / Understanding SPI
- slave select (SS) signal / Understanding SPI
- chip select (CS) signal / Understanding SPI
- multiplexing, for BeagleBone Black / Multiplexing for SPI on the BBB
- SPI devices
- representing, in Linux / Representing SPI devices in the Linux kernel
- SPI interface circuit
- building / Building an SPI interface circuit
- sensor, connecting / Connecting the sensor
- SPI sensor
- Android, preparing for / Preparing Android for SPI sensor use
- SPI sensor example app
- about / Exploring the SPI sensor example app
- user interface / The app's user interface
- PacktHAL sensor functions, calling / Calling the PacktHAL sensor functions
- HardwareTask class, using / Using the HardwareTask class
T
- thread of execution / Understanding the AsyncTask class
U
- using
- HardwareTask class / Using the HardwareTask class
V
- 3.3 V logic level
- about / Nuts and bolts of GPIO
W
- Win32 Disk Imager application
- Windows
- used, for creating Android microSD card / Creating your Android microSD card using Windows
- WinRAR