Categories
Bluetooth

12 Days of Bluetooth – #4 Serial Port Profile

Today we are delving into the details of a basic and widely used service. We may well come back and revisit the lower layers, but this topic will look at something you are likely to use when doing Bluetooth Classic (not Low Energy) development. Cutting the Cable One of the early aims for Bluetooth was […]

Categories
Bluetooth

12 Days of Bluetooth – #3 Protocols, Profiles and Services

In this entry we look into the architecture of Bluetooth a little more. Stack to Basics The Bluetooth protocol stack consists of separate layers from the physical radio up to the high level services which enable various uses from headsets to printers and beyond. The lower levels happen below the Host Controller Interface which is […]

Categories
Bluetooth

12 Days of Bluetooth – #2 Discovery

Continuing the series, today’s post looks at how we discover and identify Bluetooth devices. I’m Not a Number Every Bluetooth device has a unique numerical address baked into the hardware – like a MAC address for a network adaptor. It is 48 bits long and is often displayed in hexadecimal form, usually with colon separators […]

Categories
Bluetooth

12 Days of Bluetooth – #1 Introduction

I thought I would set myself the challenge of blogging about Bluetooth between now and Twelfth Night. I’m going to look at 12 topics covering the technology, the various services and capabilities as well as, of course, referencing how 32feet can help you use the technology. What’s in a Name? We probably all know the […]

Categories
Windows

Thy Phone for Windows 11

In the recent Windows 11 22H2 release Microsoft deprecated a number of APIs used for making phone calls. Previously Thy Phone had used these because they presented a standard Windows dialog for call handling (incoming and outgoing) and the experience was consistent with Your Phone / Phone Link. The reason for removing these was given […]

Categories
Bluetooth

New 32feet.NET Documentation

I managed to complete one of those jobs I’d been meaning to get around to for sometime and to celebrate getting the to-do list down to triple figures I thought I’d share the good news! Many years ago I built the documentation for 32feet.NET combined with the other libraries I had at the time:- Pontoon […]

Categories
Alexa Azure

Tasks for Alexa Refreshed

Unfortunately for the past couple of weeks the Alexa skill to synchronise Microsoft To Do with Alexa lists has been limping along due to a mix up with my Azure subscription taking the Azure Function which serves the skill offline. Of course these things always happen when you’re on vacation and don’t have the ability […]

Categories
Bluetooth

Home Assistant Adds In-box Bluetooth Support

Yesterday’s release of Home Assistant 2022.8 adds built-in Bluetooth support. This allows multiple integrations to share common functionality and (important for non-Linux platforms) share a single Bluetooth adapter. In the release are five integrations built on top of this support, along with Apple HomeKit support for Bluetooth devices (even if you don’t have an Apple […]

Categories
Bluetooth

Bluetooth for MAUI

Quick update today as I’ve just published new builds of InTheHand.BluetoothLE and InTheHand.Net.Bluetooth to NuGet which support the new .NET 6.0 MAUI target platforms. There were some small code changes to make in the iOS/macOS APIs and on Android I had to replace the Xamarin.Essentials reference with the new Microsoft.Maui.Essentials package. That change was very […]

Categories
Bluetooth

When is a BluetoothRadio not a BluetoothRadio?

A user of 32feet pointed out a change in behaviour between version 3.5 and 4.0. If you disabled the Bluetooth radio after initially getting a reference to the default radio it would still show the Mode as Connectable/Discoverable. I looked into the code and the 3.5 code was doing an additional check – calling BluetoothGetRadioInfo […]