You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Get and sets the background download status of MCU host or Notecard firmware updates.
38
38
39
39
Args:
40
40
card (Notecard): The current Notecard object.
41
+
err (str): If `err` text is provided along with `"stop":true`, this sets the host DFU to an error state with the specified string.
41
42
name (str): Determines which type of firmware update status to view. The value can be `"user"` (default), which gets the status of MCU host firmware updates, or `"card"`, which gets the status of Notecard firmware updates.
42
-
stop (bool): `true` to clear DFU state and delete the local firmware image from the Notecard.
43
+
off (bool): `true` to disable firmware downloads from Notehub.
44
+
on (bool): `true` to allow firmware downloads from Notehub.
43
45
status (str): When setting `stop` to `true`, an optional string synchronized to Notehub, which can be used for informational or diagnostic purposes.
46
+
stop (bool): `true` to clear DFU state and delete the local firmware image from the Notecard.
44
47
version (str): Version information on the host firmware to pass to Notehub. You may pass a simple version number string (e.g. `"1.0.0.0"`), or an object with detailed information about the firmware image (recommended). If you provide an object it must take the following form. `{"org":"my-organization","product":"My Product","description":"A description of the image","version":"1.2.4","built":"Jan 01 2025 01:02:03","vermajor":1,"verminor":2,"verpatch":4,"verbuild": 5,"builder":"The Builder"}` Code to help you generate a version with the correct formatting is available in Enabling Notecard Outboard Firmware Update.
45
48
vvalue (str): A voltage-variable string that controls, by Notecard voltage, whether or not DFU is enabled. Use a boolean `1` (on) or `0` (off) for each source/voltage level: `usb:<1/0>;high:<1/0>;normal:<1/0>;low:<1/0>;dead:0`.
46
-
on (bool): `true` to allow firmware downloads from Notehub.
47
-
off (bool): `true` to disable firmware downloads from Notehub.
48
-
err (str): If `err` text is provided along with `"stop":true`, this sets the host DFU to an error state with the specified string.
"""Receive a Signal (a near-real-time note) from Notehub. This request checks for an inbound signal from Notehub. If it finds a signal, this request returns the signal's body and deletes the signal. If there are multiple signals to receive, this request reads and deletes signals in FIFO (first in first out) order.
125
+
"""Receive a Signal (a near-real-time Note) from Notehub. This request checks for an inbound signal from Notehub. If it finds a signal, this request returns the signal's body and deletes the signal. If there are multiple signals to receive, this request reads and deletes signals in FIFO (first in first out) order.
0 commit comments