-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspec.openble.yaml
44 lines (36 loc) · 1.38 KB
/
spec.openble.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
openble: 0.1.0
info:
title: Environment sensor
description: |
OpenBLE is swagger for Bluetooth Low Energy (BLE), an API definition language for GATT services.
### Features
1. Define your GATT services in YAML.
2. Say goodbye to searching UUIDs in datasheets. Directly use GATT and Nordic identifiers.
3. Read and write from your browser with Web Bluetooth.
4. Automatically validate your schema against a connected device.
5. Generate type safe clients and peripherals using a platform agnostic specification.
### Links
- [Demo video](https://www.loom.com/share/4f1304d2749d476682ed27727921d023?sid=5c100489-29cb-4641-aa5b-7b41570866e4)
- [Learn more](https://openble.org)
- [Follow on GitHub](https://github.com/openble-org/openble-sdk)
- [Discord](https://discord.gg/dJk69ZC6RD)
- Email: shardul@openble.org
version: 1.0.0
services:
environmental_sensing:
name: Environmental Sensing Service
summary: Service to read temperature and humidity
characteristics:
temperature_celsius:
name: Temperature
summary: Read or write temperature in Degree Celsius
dataType: INT32
permissions:
- READ
- WRITE
humidity:
name: Humidity
summary: Read humidity in percentage. A value of 50 denotes 50% humidity
dataType: INT32
permissions:
- READ