Skip to content

Commit f72d74c

Browse files
author
James Boulton
committedDec 3, 2024·
update device documentation
1 parent 6d48aeb commit f72d74c

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
 

‎dashio/device.py

+18
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,24 @@ class Device(threading.Thread):
102102
103103
unset_mqtt_callback() :
104104
Clears the set MQTT callback.
105+
106+
request_clock() :
107+
Requests UTC Timestamp from the Dash Server.
108+
109+
set_clock_callback(callback):
110+
Specify a callback function to be called when The Dash server sends clock data.
111+
112+
unset_clock_callback():
113+
Unset the clock rx callback.
114+
115+
request_ota_build_number() :
116+
Requests requests latest build number for over the air updates from the Dash Server
117+
118+
request_ota(build_number, chunk_number) :
119+
Requests requests latest ota build from the Dash Server.
120+
121+
set_ota_callback(callback) :
122+
Specify a callback function to be called when The Dash server sends ota data.
105123
"""
106124

107125
def _on_message(self, payload):

0 commit comments

Comments
 (0)
Please sign in to comment.