mirror of
https://github.com/thingsboard/thingsboard-gateway
synced 2025-10-26 22:31:42 +08:00
54 lines
1.7 KiB
JSON
54 lines
1.7 KiB
JSON
{
|
|
"name": "BLE Connector",
|
|
"rescanIntervalSeconds": 100,
|
|
"checkIntervalSeconds": 100,
|
|
"scanTimeSeconds": 5,
|
|
"passiveScanMode": true,
|
|
"devices": [
|
|
{
|
|
"name": "Temperature and humidity sensor",
|
|
"MACAddress": "4C:65:A8:DF:85:C0",
|
|
"addrType": "public",
|
|
"telemetry": [
|
|
{
|
|
"key": "temperature",
|
|
"method": "notify",
|
|
"characteristicUUID": "226CAA55-6476-4566-7562-66734470666D",
|
|
"byteFrom": 2,
|
|
"byteTo": 6
|
|
},
|
|
{
|
|
"key": "humidity",
|
|
"method": "notify",
|
|
"characteristicUUID": "226CAA55-6476-4566-7562-66734470666D",
|
|
"byteFrom": 9,
|
|
"byteTo": 13
|
|
}
|
|
],
|
|
"attributes": [
|
|
{
|
|
"key": "name",
|
|
"characteristicUUID": "00002A00-0000-1000-8000-00805F9B34FB",
|
|
"method": "read",
|
|
"byteFrom": 0,
|
|
"byteTo": -1
|
|
}
|
|
],
|
|
"attributeUpdates": [
|
|
{
|
|
"attributeOnThingsBoard": "sharedName",
|
|
"characteristicUUID": "00002A00-0000-1000-8000-00805F9B34FB"
|
|
}
|
|
],
|
|
"serverSideRpc": [
|
|
{
|
|
"methodRPC": "rpcMethod1",
|
|
"withResponse": true,
|
|
"characteristicUUID": "00002A00-0000-1000-8000-00805F9B34FB",
|
|
"methodProcessing": "read"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|