micropython-lib
micropython-lib copied to clipboard
usb-device: Allow signaling capability of remote_wakeup.
To use this feature you need to create a usb device signaling remote wakeup and then enable remote wakeup on the host (on linux write enabled to /sys/bus/usb/devices/<device>/power/wakeup, or let udev do that). Then you can wake up the host when it is on standby using USBDevice.remote_wakeup.
See also micropython#15262.