Start Building with Web Bluetooth and Progressive Web Apps

A Short Introduction Web Bluetooth is a a new technology that connects the Web with the Internet of Things. Web Bluetooth is so new, it’s still being built and prototyped! But of course, that doesn’t mean we can’t play with it… Essentially, Web Bluetooth lets you control any Bluetooth Low Energy device (smart home appliances, health accessories like heart rate or glucose monitors, temperature sensors, etc.) directly from your PC or smart phone, without having to install an app first.

Mac-Only Dev Tools

Even though I use Macs, Linux and Windows machines daily and could switch to any of these exclusively, I prefer running my Mac alongside either Linux or Windows. A reason I do so is that there are some development tools that run exclusively on macOS that I prefer over their other platforms’ equivalents. Here are a few I use regularly. To be fair, I’ll also list for each of those tools what I typically use to replace these on Windows or Linux.

Good Enough Wireless Audio

For over six months there have been strong rumours that Apple will drop the 3.5mm headphone jack in the next iPhone, something that may have a large impact on the market of portable headphones. Either they will have to adopt the proprietary Lightning connector, or use the more standard Bluetooth wireless protocol. This isn’t too surprising. I’ve noticed that with the latest Apple TV, the entirety of the Apple product line supports Bluetooth headphones, as if to prepare the market for a more “wireless” headphone future.

Making an iBeacon App

Apr 24, 2016 — 4 min read First things first Beacon technology provides location data much like GPS. But beacons are not a replacement for GPS technology. While the actual workings of the two technologies vary drastically, the end result is similar. The main selling point of beacons is their ability to provide a user’s location at a more granular level and in areas that GPS can’t reach. iBeacon apps actually benefit greatly from integrating GPS functionality, more on that later.

Amazon Cloud Drive Backend for Duplicity

Home Blog About Me About This Site Articles Links To follow up on my previous post, I wrote acdbackend, to add Amazon Cloud Drive support to duplicity, by wrapping around the acd_cli tool. Actually, adding online storage services to duplicity is pleasantly easy to implement. If you have some command-line tool for your service that supports download and upload using stdin/stdout, file listing, and deleting files, then in an hour you can have it working in duplicity.

Secure Design for Low Energy Bluetooth (BLE) Applications

Low Energy Bluetooth (BLE) is widely used in various smart devices and IoT scenarios as a low-power, short-range wireless communication technology. However, due to the characteristics of BLE, it is susceptible to various security threats. Therefore, when designing and developing BLE applications, it is crucial to focus on security issues and implement appropriate security measures to protect communication data and user privacy. Firstly, Security Measures for Bluetooth Pairing In the pairing process between BLE devices, it is essential to use FIPS-approved algorithms such as AES-CMAC and P-256 elliptic curve to ensure the security of pairing information.

Wii U Gamepad (Left) Analog Stick Replacement

Our Wii U Gamepad’s analog stick was intermittently failing to register, causing frustration right when I most needed fun and happiness. Recalibration didn’t help, and a new Gamepad would be expensive, so I tested my luck by replacing the analog stick with an aftermarket one. It isn’t a super complex operation, but the components are quite delicate, requiring gentleness and attention. As usual, here is what I learned (and some tips):

Fixing Screen Tear on a Pebble Classic With... Toilet Paper!

The first-generation Pebble (now dubbed Pebble Classic) is, in my opinion, the best smartwatch in terms of cost/benefit. Unfortunately, a few of them start to manifest screen tearing after a few months of use, and mine was one of the “lucky” ones: At first, I thought it was a software issue, but the actual cause is that the screen connector does not cope well with the frequent vibration alerts. Such connectors are usually hard to fix/replace, but the gentleman on the video below realized that some pressure over the connector solved the issue.