BlueZ Part 9: Understanding DBUS – Introspectable – (8)

Introduction: In our journey to deepen our understanding of D-Bus using BlueZ, we’ve already delved into the org.freedesktop.DBus.Properties interface, exploring the Get, Set, GetAll methods, and the PropertiesChanged signal. These foundational concepts have paved the way for us to handle property changes and interact with various D-Bus services effectively. Now, we shift our focus to […]

Continue Reading

BlueZ Part 8: Understanding DBUS – PropertiesChanged – (7)

Introduction: In our previous blog, we delved into DBus methods like Get and GetAll, unraveling the complexities of DBus type systems and how to decode them effectively. These methods allowed us to query the state of various properties on DBus interfaces, but this was just the beginning. Now, we’re going to take things a step […]

Continue Reading

BlueZ Part 7: Understanding DBUS – Get and GetAll properties – (6)

Introduction: In our previous post, we explored the DBUS Set property using the org.freedesktop.DBus.Properties interface to control the power state of a BlueZ adapter, focusing on simple data types like the boolean Powered property. Now, we’re shifting our attention to the GetAll method, which allows us to retrieve all properties of a specified interface in […]

Continue Reading

BlueZ Part 6: Understanding DBUS – Get and Set Property – (5)

Introduction: In our previous post, we explored the DBUS standard interfaces, focusing on the Properties interface, which provides a structured way to interact with objects in a service. We demonstrated how to use the Get method to retrieve the Powered property of a Bluetooth adapter managed by BlueZ, the official Linux Bluetooth protocol stack. This […]

Continue Reading

Time series database (TSDB) for Zephyr RTOS

Introduction: In many of our microcontroller-based projects, efficiently storing and managing configurations and data from various real-world sources is crucial. A common example is collecting environmental data, such as temperature and humidity, and sending it to a backend server for visualization and analysis. To ensure accuracy and context, we need to store device configurations alongside […]

Continue Reading

Unlocking the Power of Yocto Post and Preprocess Commands

Note: Examples here are only for understanding purpose. Likely we will expand each command with actual/real usage. Yocto provides a set of powerful commands to customize the root filesystem and images during the build process. These commands allow you to execute specific actions at various stages of the build, offering flexibility and control over the […]

Continue Reading

BlueZ Part 5: Understanding DBUS – Get property – (4)

Delving Deeper into D-Bus Standard Interfaces: In our previous blog post, we journeyed through the foundational elements of D-Bus services, exploring the nuances of service, object path, and interfaces. Now, it’s time to dive deeper into the heart of D-Bus: the standard interfaces. You might have noticed that we glossed over some significant aspects of […]

Continue Reading