upydevice

Python library to interface with MicroPython devices through Wifi (Websockets/WebREPL) , BLE or Serial connection (USB)

MIT License

Downloads
1.2K
Stars
17
Committers
2
upydevice - upydevice 0.3.8 Latest Release

Published by Carglglz about 2 years ago

Added

  • Device raise_traceback method to catch Device Exception after follow mode
upydevice - upydevice 0.3.7

Published by Carglglz about 2 years ago

Fix

  • paste_buff method in BleDevice
  • fix data feeding pipe missing blank lines in follow callback for BleDevice
  • deprecate self-signed certs in favor of ROOT CA signed certs for WebSocketDevices using SSL/TLS

Added

  • @device.code decorator for Device classes to declare and call functions in devices
  • @device.code_follow for Device classes to declare and call functions in devices whose output need to be followed.
  • @devicegroup.code for DeviceGroup class to declare and call functions in group of devices.
  • @devicegroup.code_follow for Device classes to declare and call functions in a group of devices whose output need to be followed.
  • decorator examples.
upydevice - upydevice 0.3.6

Published by Carglglz over 2 years ago

Fix

  • fixed missing dependencies in setup.py (@BradenM)
upydevice - upydevice 0.3.5

Published by Carglglz over 2 years ago

Fix

  • reassign ip to hostname if hostname is not None for disconnect method
upydevice - upydevice 0.3.4

Published by Carglglz over 2 years ago

Fix

  • WebSocketDevice double unwanted super().__init__ bug.
  • Load time in MacOS caused by bleak/corebluetooth, only if BleDevice
  • Allow mdns .local name in WebSecureREPL, (ssl checkhostname / auth server.)
  • WebSocketDevice receive frame errors
  • SerialDevice follow command parsing errors
  • BleDevice follow command parsing errors
  • is_reachable method for WebSocketDevice if ip is mdns .local name
  • pipe option for BleDevice wr_cmd method.

Added

  • Indicate websocket port in ip address as ip:port format
  • Allow password:passphrase format for WebSocketDevice password that sets ssl/auth
    to True if present.
  • address property for all device types.
  • flush_conn for BleDevice for compatibility
upydevice - upydevice 0.3.3

Published by Carglglz almost 3 years ago

Added

  • Host Name in __repr__ command device info
  • New pyqt interval timer example
  • Added device name in test logging
upydevice - upydevice 0.3.2

Published by Carglglz about 3 years ago

Added

  • mDNS .local/dhcp_hostname compatibility, so device configuration works across networks

Fix

  • check -i, info commands in -apmd, if connected to AP of the device.
upydevice - upydevice 0.3.1

Published by Carglglz about 3 years ago

  • FixKeyboardInterrupt in AsyncBleDevice for jupyter_upydevice_kernel
upydevice - upydevice 0.3.0

Published by Carglglz about 3 years ago

upydevice - upydevice 0.2.3

Published by Carglglz over 4 years ago

Minor fixes (see change log doc)