-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
This pull request attempts to match the Enter message within adafruit/Wippersnapper_Protobuf#159 by introducing a sleepConfig object into the JSON.
Deep sleep with a pin wakeup:
"sleepConfig": [
{
"lock": true,
"mode": "deep",
"pinConfig": {
"name": "D3",
"level": true,
"pull": false
},
"runDuration": 60
}
]
Deep sleep with a timer:
"sleepConfig": [
{
"lock": true,
"mode": "deep",
"timerConfig": {
"duration": 300
},
"runDuration": 60
}
]
Light sleep with a pin wakeup:
"sleepConfig": [
{
"lock": true,
"mode": "light",
"pinConfig": {
"name": "D3",
"level": true,
"pull": false
},
"runDuration": 60
}
]
Light sleep with a timer:
"sleepConfig": [
{
"lock": true,
"mode": "light",
"timerConfig": {
"duration": 300
},
"runDuration": 60
}
]
Metadata
Metadata
Assignees
Labels
No labels