request: init
path |
type |
conditions |
description |
ble.hci.initialize |
boolean |
|
|
// Json Example
[
{
"ble": {
"hci": {
"initialize": true
}
}
}
]
path |
type |
conditions |
description |
ble.hci |
null |
|
|
// Json Example
[
{
"ble": {
"hci": null
}
}
]
path |
type |
conditions |
description |
ble.hci.write |
dataArray |
|
|
// Json Example
[
{
"ble": {
"hci": {
"write": [16, 34, 242]
}
}
}
]
path |
type |
conditions |
description |
ble.hci.advertisement_filter[].range.index |
integer |
|
|
ble.hci.advertisement_filter[].range.length |
integer |
|
|
ble.hci.advertisement_filter[].value |
dataArray |
|
|
// Json Example
[
{
"ble": {
"hci": {
"advertisement_filter": [
{
"range": {
"index": 127,
"length": 127
},
"value": [16, 34, 242]
}
]
}
}
}
]
response: read
path |
type |
conditions |
description |
ble.hci.read.data |
dataArray |
|
HCI data |
//Response Example
[
{
"ble": {
"hci": {
"read": {
"data": [16, 34, 242]
}
}
}
}
]
type defines
type |
conditions |
examples |
description |
array |
|
[16, 34, 242] [100, 255, 21, 0, 21]
|
Binary data array. |