request: wait
path |
type |
conditions |
description |
system.wait |
integer |
|
wait time (ms) |
// Json Example
[
{
"system": {
"wait": 500
}
}
]
path |
type |
conditions |
description |
system.reset |
boolean |
|
|
// Json Example
[
{
"system": {
"reset": true
}
}
]
path |
type |
conditions |
description |
system.reboot |
boolean |
|
|
// Json Example
[
{
"system": {
"reboot": true
}
}
]
circuit IO check
path |
type |
conditions |
description |
system.self_check |
boolean |
|
|
// Json Example
[
{
"system": {
"self_check": true
}
}
]
reset obniz Board when obniz Board gone to offline.
path |
type |
conditions |
description |
system.keep_working_at_offline |
boolean |
|
|
// Json Example
[
{
"system": {
"keep_working_at_offline": true
}
}
]
request: ping
path |
type |
conditions |
description |
system.ping.key |
dataArray |
|
|
// Json Example
[
{
"system": {
"ping": {
"key": [16, 34, 242]
}
}
}
]
path |
type |
conditions |
description |
system.sleep_seconds |
integer |
|
sleep time (seconds) |
// Json Example
[
{
"system": {
"sleep_seconds": 500
}
}
]
path |
type |
conditions |
description |
system.sleep_minute |
integer |
|
sleep time (minute) |
// Json Example
[
{
"system": {
"sleep_minute": 500
}
}
]
path |
type |
conditions |
description |
system.sleep_io_trigger |
boolean |
|
true:Wake up on rising edge false:Wake up on falling edge |
// Json Example
[
{
"system": {
"sleep_io_trigger": true
}
}
]
response: pong
path |
type |
conditions |
description |
system.pong.key |
dataArray |
|
|
//Response Example
[
{
"system": {
"pong": {
"key": [16, 34, 242]
}
}
}
]
type defines
type |
conditions |
examples |
description |
array |
|
[16, 34, 242] [100, 255, 21, 0, 21]
|
Binary data array. |