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 […]

Categories
Windows

Improving Keyboard Navigation with NavigationView

Thy Phone uses the NavigationView control to provide a pop out navigation pane to provide a similar UI to Your Phone. I was contacted this week by a user indicating problems with the app for blind users – it doesn’t play well with screen readers and the keyboard navigation is not clear. My first investigation […]

Categories
Uncategorized

Ukraine

It’s difficult to come up with the right words to describe what we are seeing unfolding in Ukraine. It’s very easy to feel completely powerless. Our own government (United Kingdom) have been very weak with their response both in terms of sanctions and in supporting refugees, compared with many of our neighbours. The Disasters Emergency […]

Categories
Bluetooth

32feet for WinRT

Currently the 32feet Bluetooth Classic library for Windows is build around the Win32 API to ensure support for Windows 7 as well as theoretically supporting prior versions no longer officially supported. It has always been my aim to implement the library using the newer WinRT APIs in order to support consistent functionality for apps running […]

Categories
NETCF

Happy Birthday .NET

.NET is 20 years old this month. I can remember when I first encountered .NET and C# and found it a great step forward from Visual Basic and the C++ and Java I had learned at university. However, what really changed things for me was due to some very chance encounters I had ended up […]

Categories
Windows

We Don’t Talk About IrDA

We take for granted that every mobile phone, tablet and laptop has Bluetooth built in, and probably use it all the time for headphones, mice etc without even thinking about developing software for it. There was a time long ago when phones and laptops had IrDA built in and it could be used for exchanging […]

Categories
Windows

Back to the Future With C++/WinRT

Recently I was asked to investigate a scenario for a desktop C++ application. It was something I’d done before with C# and used a number of WinRT APIs. This meant I had to refresh myself in C++ which has changed again since the last time I used it! I started with the latest C++/WinRT template […]

Categories
Xamarin

Moving from MvvmLight to Microsoft Mvvm Toolkit – Messaging

I recently needed to rework an existing Xamarin project and replace the MvvmLight implementation with the new Microsoft Mvvm Toolkit. This is generally an easy process and it has been designed as the spiritual successor to Laurent’s library. One area which had more changes was the Messaging namespace where the app had made use of […]