A Sneak Peek at the Bluetooth-to-Cloud Early Access

A couple of weeks ago we announced our new Bluetooth-to-Cloud capabilities and how it will transform your device fleet to encompass all types of devices, whether or not they have an IP address. We are super excited to offer this to a select group of participants who are starting to try it out now.

As the in-house hardware person, I get to try out the innovations coming from our Engineering team as one of the earliest users. I can say this new development is very exciting and will open up a wide range of new applications. I’m already designing and programming new hardware that looks like an AirTag (with additional functionality) and I’m starting a series that will show you how to do the same.

But I thought today I’d show you how the Bluetooth SDK is already running on my bench and sending data from a Bluetooth device through an MCU based gateway up to the Golioth Cloud.

How the demo works

The new capabilities of Golioth on non-IP devices should feel very familiar, if you’re already using Golioth. From the device (node) side, you’ll capture data like you normally would in Zephyr. In my case, I’m communicating with a BME280 over i2c with a dedicated thread. The Zephyr sensors subsystem formats the incoming data which is added to a JSON string and sent up to the Cloud. Instead of pushing that string into the golioth_stream_set_async (from the Golioth Firmware SDK) we now push it into the pouch_uplink_entry_write (from the Bluetooth SDK).

Looking at the terminal we see the Bluetooth node (right side) taking a reading every second in an RTOS thread and transmitting it to the Gateway (left side) every 20 seconds. This gets proxied up to Golioth, the Pouch gets ‘unwrapped’, the data is sent through Pipelines, and it arrives in the device record for the node.

This data is being routed to our internal timeseries database product called LightDB Stream. You can see the BME280’s data (Temperature, Humidity, Air Pressure) represented in the Golioth Console under the LightDB Stream tab for the Bluetooth Node

What’s next for Bluetooth?

We’ve already started accepting some of our signups for Early Access and expect to be letting more folks in soon. You can sign up today to take part in the Early Access Program. We also are regularly pushing out new capabilities and exciting ways to interact with non-IP devices. We’ll continue to publish about them here, but also will be discussing over on our Forum. See you there!

Chris Gammell
Chris Gammell
Chris is the Head of Developer Relations and Hardware at Golioth. Focusing on hardware and developer relations at that software company means that he is trying to be in the shoes of a hardware or firmware developer using Golioth every day. He does that by building hardware and reference designs that Golioth customers can use to bootstrap their own designs.

Post Comments

No comments yet! Start the discussion at forum.golioth.io

More from this author

Related posts

spot_img

Latest posts

How to Query LightDB Stream Data the Right Way (POST vs GET)

Golioth's REST API is a power way to query data that has been sent to the cloud. Marko explains how he approaches the tradeoffs of POST vs GET calls to the API and how it impacts the resulting data.

How to Sniff Cellular Packets with a Nordic nRF91

Sniffing network packets from a cellular modem is actually pretty easy. It only seems daunting because at first glance you're left wondering how to acquire the packets. Nordic's nRF91 modems have a trace capability that can be used to pipe packets from the device into Wireshark over a USB connection. Here's how to use it.

The Demo We Show To Our Biggest Customers: A Full Golioth Cloud Demo

Want to see everything Golioth can do? In this post, we highlight all major parts of the Golioth console and how an IoT device can deliver a range of services between Cloud and Device.

Want to stay up to date with the latest news?

Subscribe to our newsletter and get updates every 2 weeks. Follow the latest blogs and industry trends.