Swift bluetooth-low-energy

Open-source Swift projects categorized as bluetooth-low-energy

Top 11 Swift bluetooth-low-energy Projects

  • BLEUnlock

    Lock/unlock your Mac with your iPhone, Apple Watch, or any other Bluetooth LE devices

  • Project mention: Question about location based system lock | /r/MacOS | 2023-07-01
  • BluetoothKit

    Easily communicate between iOS/OSX devices using BLE

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Pulsator

    Pulse animation for iOS (by shu223)

  • RxBluetoothKit

    iOS & OSX Bluetooth library for RxSwift (by Polidea)

  • BlueCap

    iOS Bluetooth LE framework

  • AirPods Battery Monitor For MacOS

    Your AirPods Battery levels at your status bar | MacOS | Widget

  • LittleBlueTooth

    A simple library that helps you in connecting with BLE devices

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • sensors-swift

    Bluetooth LE Sensor Manager for iOS and macOS

  • Project mention: Show HN: CycleQuest – Indoor Cycling game with steering | news.ycombinator.com | 2024-04-04

    - Comes with ready-to-use models and textures

    To generate roads, I downloaded .gpx files from my Strava activities, then implemented a parser to take coordinates and elevations and build roads in-game using EasyRoads3D. These tools combined worked quite well but required some manual work. I had to go over the entire length of the road to smoothen it up (due to GPS noise in .gpx files). The terrain also didn’t always perfectly align with the road, so I had to manually modify it.

    I figured that steering would be a good way to keep the user engaged in the gameplay, instead of just sitting on the bike and pedalling. With required steering, you need to be engaged to not drive off the road.

    There are some solutions to virtual steering in other smart trainer games, but they are hardware-based - e.g., for Zwift, you need to buy their hardware controller. I really wanted to keep it as simple and inexpensive as possible, so I used a smartphone mounted to the handlebars as a steering controller.

    I implemented native apps for both iOS and Android. They use the gyroscope to get the steering value and broadcast it as a BLE peripheral. Implementing Bluetooth in Unity was a little tricky as there is no built-in solution. The implementation depends on the platform the game is running on. It boils down to writing a native plugin for each platform you support.

    For macOS, there is an open-source library written in Swift - https://github.com/codeinversion/sensors-swift. It already has the necessary services and characteristics implemented. I had to modify it a little and compile it into a Unity plugin.

    For Windows, there also is a library - https://github.com/adabru/BleWinrtDll, but it wasn’t working too well. Because I targeted UWP, I was able to implement my own Bluetooth logic in C# and compile it directly in Unity.

    Overall, it was a really fun project to work on. I’m particularly happy that I was able to release it starting from scratch in just a couple of months, and I hope to continue working on it.

  • BLE_Swift_ESP32_SampleProject

    Connecting ESP32 and iOS

  • RVS_BlueThoth

    A Native Swift Core Bluetooth LE Central (Client) Abstraction Driver

  • Project mention: How to Write a Great Readme | news.ycombinator.com | 2023-07-18

    I generally have a “What Problem Does This Solve?” section in my READMEs.

    https://github.com/LittleGreenViper/LGV_TZ_Lookup#what-probl...

    https://github.com/LittleGreenViper/LGV_MeetingServer#what-p...

    https://github.com/RiftValleySoftware/RVS_Spinner#what-probl...

    https://github.com/RiftValleySoftware/RVS_BlueThoth#what-pro...

    https://github.com/RiftValleySoftware/RVS_PersistentPrefs#wh...

    etc.

  • Bloom

    Current development of a BLE Application utilizing Swift UI. This app is meant to utilize the central manager to connec to an HM-10 and an Arduino in order to control a strip of WS2812B lights (by Gcerpa01)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Swift bluetooth-low-energy related posts

  • Question about location based system lock

    1 project | /r/MacOS | 1 Jul 2023
  • Lock Mac when walking away

    1 project | /r/macapps | 25 Dec 2022
  • Ask questions to programmers!

    1 project | /r/Freestylelibre | 11 Nov 2022
  • Applications for locking Mac/iPhone/iPad when we leave them wearing an Apple Watch?

    1 project | /r/AppleWatch | 3 Oct 2022
  • Possible to request password/touch-id after sleep but NOT after screensaver?

    1 project | /r/mac | 28 Jun 2022
  • Continuous Glucose Monitoring on the Apple Watch

    3 projects | news.ycombinator.com | 3 Jun 2022
  • Intel WiFi Card & Apple Watch Unlock: success on latest Monterey!

    1 project | /r/hackintosh | 16 Apr 2022
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 10 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Index

What are some of the best open-source bluetooth-low-energy projects in Swift? This list will help you:

Project Stars
1 BLEUnlock 2,380
2 BluetoothKit 2,240
3 Pulsator 1,396
4 RxBluetoothKit 1,391
5 BlueCap 708
6 AirPods Battery Monitor For MacOS 416
7 LittleBlueTooth 79
8 sensors-swift 54
9 BLE_Swift_ESP32_SampleProject 45
10 RVS_BlueThoth 13
11 Bloom 0

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com