/ble-chat-ios

A BLE (Bluetooth Low Energy) and Core Bluetooth showcasing app.

Primary LanguageSwiftMIT LicenseMIT

BLE Chat Header Image

BLE Chat

A BLE (Bluetooth Low Energy) and Core Bluetooth showcasing app.

About

This repository serves as an example on how to work with Apple's Core Bluetooth Framework. It contains an example local chat application, which uses Core Bluetooth and BLE as the medium of communication. The application is also a SwiftUI rewrite of the BLEChat example app over at https://github.com/thomsmed/ios-examples. Check out that one if you prefer using UIKit.

BLE Chat Guest BLE Chat Host
BLEChatGuest.mov
BLEChatHost.mov

Disclaimer

Though feedback and contributions are greatly welcome, I can not promise to have the time and energy to address any issues or change requests that might emerge. The code is mostly meant to be used as is.

License

MIT License

Copyright (c) 2023 Thomas Asheim Smedmann

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.