BeagleBone UART peripheral boot

BeagleBone Black serial peripheral boot:  BBB supports many peripheral boot options which can be choosen by the SYSBOOT button projected out near p8 header. Button pressed the sequence is spi0 | mmc0 | usb0 | uart0 Button released the sequence is mmc1 | mmc0 | uart0 | usb0 so we have uart0 in both the…

Bluetooth: List devices using GDBUS

In this blog we will jump back to use GetManagedObjects method to find the list of Bluetooth devices which are currently present in all the Adapters. This sample in continuation to set property blog will help us understand more about Bluetooth devices and Adapters. Code: View the code on Gist. In this example above we…

bluetooth: Get Adapter (controller) properties using GDBUS

In this blog we extent our previous example list HCI controller using GDBUS method to get the properties of the Adapter. We will examine the Adapter properties both by using “GetManagedObject” and also using “GetAll” method in org.freedesktop.DBus.Properties interface. Code: View the code on Gist. In our previous example we have used GetManagedObject and filtered the…

bluetooth: List available controllers using DBUS

This blog is the continuation of list controllers using HCI interface, to cover the same use case using DBUS interface provided by Bluez. We will be using the “GetManagedObjects” methid to get the list of Bluetooth controllers. Using GDBUS: View the code on Gist. Using GDBUS Proxy: View the code on Gist. If Bluetooth service is…

Yocto: bitbake build/populate sysroot

Yocto stops building the global sysroot (both native and cross) from version 2.6. To build any package yocto copies the sysroot as “recipes-sysroot” and “recipes-sysroot-native” into each WORKDIR. This stops the external application builders from using “tmp/sysroots/<MACHINE>” for cross compilation. To do the same way building external application using common sysroot and toolchain one need…

Bluetooth: List available controllers

This is the fist post in the series of blogs for Bluetooth in Linux. In this series we are going to cover mostly about Bluez and it’s provisions for Bluetooth functionality over DBUS (API’s in bluez/doc/). We will also cover few Bluetooth profiles like GAP, A2DP, AVRCP, PBAP in near future. Assumption: This series of…