Swift Ble

Open-source Swift projects categorized as Ble

Top 8 Swift Ble 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
  • RxBluetoothKit

    iOS & OSX Bluetooth library for RxSwift (by Polidea)

  • 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
  • IOS-Nordic-Thingy

    iOS Library and example application for Thingy:52™

  • Project mention: ESP32-C61: Delivering Affordable Wi-Fi 6 Connectivity | news.ycombinator.com | 2024-01-12

    Yes, I've used it in a commercial product with 10000+ deployments. It was the only chip with BLE and WiFi, so there was no other option at the time. If the requirements were different, I would use something from Nordic Semiconductors [0] or some ARMv8 chip.

    The hardware itself is fine, but the biggest pain was getting stable WiFi and BLE connections simultaneously, because of only one antenna/radio. RAM was also a problem, it would be great to have at least 512kb. The SDK from Espressif is sometimes a little bit weird, but usable and bugs are fixed quickly. The build system is ok, nothing special.

    [0] https://www.nordicsemi.com/

  • 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

  • swiftui_bluetooth

    SwiftUI and CoreBluetooth with search list, connection/disconnection and no repeat in search. Connection to esp32 and communication with bytes

  • Gormsson

    Harald "Bluetooth" Gormsson was a king of Denmark and Norway.

  • SaaSHub

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

    SaaSHub logo
  • 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.

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 Ble related posts

  • Question about location based system lock

    1 project | /r/MacOS | 1 Jul 2023
  • Is this a Nordic MCU?

    1 project | /r/MouseReview | 21 Mar 2023
  • Lock Mac when walking away

    1 project | /r/macapps | 25 Dec 2022
  • Getting into the Semiconductor Industry

    1 project | /r/ChemicalEngineering | 19 Nov 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
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 19 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 Ble projects in Swift? This list will help you:

Project Stars
1 BLEUnlock 2,401
2 RxBluetoothKit 1,394
3 IOS-Nordic-Thingy 64
4 sensors-swift 54
5 BLE_Swift_ESP32_SampleProject 45
6 swiftui_bluetooth 31
7 Gormsson 27
8 RVS_BlueThoth 13

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