Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tuanpmt/blufi
BluFi Swift library - The protocol used to set up WiFi via Bluetooth for ESP32
https://github.com/tuanpmt/blufi
blufi esp32 iot swift
Last synced: 3 months ago
JSON representation
BluFi Swift library - The protocol used to set up WiFi via Bluetooth for ESP32
- Host: GitHub
- URL: https://github.com/tuanpmt/blufi
- Owner: tuanpmt
- License: apache-2.0
- Created: 2018-09-10T02:51:58.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-22T02:55:05.000Z (over 5 years ago)
- Last Synced: 2024-10-11T05:03:18.065Z (3 months ago)
- Topics: blufi, esp32, iot, swift
- Language: Swift
- Homepage: https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/bluetooth/esp_blufi.html
- Size: 43.9 KB
- Stars: 19
- Watchers: 5
- Forks: 10
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Swift BluFi Library
## Requirements
- iOS 8.0+
- Xcode 8.0+
- Swift 4.0+## Getting Started
## Usage
## Installation
The recommended approach to use _BluFi_ in your project is using the [CocoaPods](http://cocoapods.org/) package manager, as it provides flexible dependency management and dead simple installation.
### CocoaPods
Install CocoaPods if not already available:
``` bash
$ [sudo] gem install cocoapods
$ pod setup
```
Go to the directory of your Xcode project, and Create and Edit your Podfile and add _BluFi_:``` bash
$ cd /path/to/MyProject
$ touch Podfile
$ edit Podfile
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
pod 'BluFi', '~> 1.0.0'
```Install into your project:
``` bash
$ pod install
```If CocoaPods did not find the `BluFi 1.0.0` dependency execute this command:
```bash
$ pod repo update
```Open your project in Xcode from the .xcworkspace file (not the usual project file)
``` bash
$ open MyProject.xcworkspace
```### Swift Package Manager
You can use [The Swift Package Manager](https://swift.org/package-manager) to install `BluFi` by adding the proper description to your `Package.swift` file:
```swift
import PackageDescriptionlet package = Package(
name: "YOUR_PROJECT_NAME",
dependencies: [
.Package(url: "https://github.com/tuanpmt/BluFi.git")
]
)
```Note that the [Swift Package Manager](https://swift.org/package-manager) is still in early design and development, for more information checkout its [GitHub Page](https://github.com/apple/swift-package-manager).
### Carthage