View Single Post
Old 08-02-2023, 04:03 PM   #3
mat02
Member
mat02 has top level security clearance to Area 51.mat02 has top level security clearance to Area 51.mat02 has top level security clearance to Area 51.mat02 has top level security clearance to Area 51.mat02 has top level security clearance to Area 51.mat02 has top level security clearance to Area 51.mat02 has top level security clearance to Area 51.mat02 has top level security clearance to Area 51.mat02 has top level security clearance to Area 51.mat02 has top level security clearance to Area 51.mat02 has top level security clearance to Area 51.
 
Posts: 12
Karma: 94370
Join Date: Aug 2023
Device: PB Touch Lux 3
Hmm, I am not quite sure how this could wake up a device after some time of sleep.
Anyhow, I've looked into that header you linked and there is a method called GoSleep(int ms, int deep). Maybe that could work, something like:
while True:
GetData()
GoSleep(300 * 1000, 1) # Deep sleep for 5 minutes

Do you know if these methods can be called directly from the shell?
mat02 is offline   Reply With Quote