https://github.com/rightpoint/bleairquality
Client library for AQI BLE peripheral
https://github.com/rightpoint/bleairquality
Last synced: about 1 year ago
JSON representation
Client library for AQI BLE peripheral
- Host: GitHub
- URL: https://github.com/rightpoint/bleairquality
- Owner: Rightpoint
- License: mit
- Created: 2018-05-16T23:03:26.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-19T22:16:34.000Z (about 8 years ago)
- Last Synced: 2025-02-16T00:48:21.019Z (over 1 year ago)
- Language: Swift
- Size: 24.4 KB
- Stars: 0
- Watchers: 9
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BLEAirQuality
[](https://cocoapods.org/pods/BLEAirQuality)
[](https://cocoapods.org/pods/BLEAirQuality)
[](https://cocoapods.org/pods/BLEAirQuality)
Client library for AQI BLE peripheral: https://github.com/Raizlabs/air_quality_bluetooth_le
BLE Constants:
```python
AQI_PM_SRVC = '22AF619F-4A1B-4BCB-B481-5B13BFE86E94'
PM_2_5_CHRC = '2A6E'
PM_10_CHRC = '2A6F'
PM_2_5_FMT_DSCP = '2904'
PM_10_FMT_DSCP = '2905'
```
The characteristics support both read and notify, and return little endian IEEE 754 32-bit float values representing PM 2.5 and PM10 concentrations in units of µg/m3.
## Example
To run the example project, clone the repo, and run `pod install` from the Example directory first.
## Requirements
## Installation
BLEAirQuality is available through [CocoaPods](https://cocoapods.org). To install
it, simply add the following line to your Podfile:
```ruby
pod 'BLEAirQuality'
```
## Author
Chris Ballinger, chris.ballinger@raizlabs.com
## License
BLEAirQuality is available under the MIT license. See the LICENSE file for more info.