November 27, 2020
- BLE
- Add
addressTypetoClientandConnectionconstructor dictionaries - Add getter for
appearanceon advertising data - Implement support for bonding on HID devices (mouse and keyboard)
- Add
- Added Resource Iterator as optional patch to
Resourcemodule (original request by @wilberforce in #429). To use it, add$(MODDABLE)/modules/files/resourceiterator/manifest.jsontoincludesection of your project manifest, thenResourcemay be used as an iterator. If a mod (archive) is installed, its resources are also returned by the iterator.
import Resource from "Resource"
for (let name of Resource)
trace(name + "\n");
- Poco JavaScript API now has
closemethod to release resources immediately, rather than waiting for garbage collector - Piu uses an iterative algorithm when marking fonts during garbage collection to reduce worst-case depth of native stack.
- Wi-Fi scanner on ESP32 has option for passive scan (set
activeto false in dictionary passed to constructor) - Experimental ESP32 support for networking when both station and access point interfaces are active. Clients and servers work as well as mDNS.
- Fix time calculations in RTC module #498 (reported by @stc1988, fixed by @wilberforce)
- Add global
requirefunction to REPL to allow synchronous import of modules. (requested by @cmidgley) - Examples
- Fixes to
webConfigWifiexample to eliminate simultaneous connection attempts - Wi-Fi continuous scan module example updated to latest API (target parameter removed from callbacks)
- Fixes to
- Tools and build
- Set baud rate of xsbug connection for
mcrunso it works with M5 products that don't use the default baud rate. (from @wilberforce) mcconfigandmcrunmanifests now allow multiple path levels in directory targets (requested by @ariznaf)- Moddable SDK builds on Raspberry Pi without any patches (thanks to @jins-tkomoda and @diogoviannaaraujo)
- Moddable SDK on macOS Big Sur works with ESP32 and ESP8266. Getting Started documentation updated.
- xsbug and mcsim now set the Retina flag for better rendering quality on high resolution displays (suggested by @tbdr)
- Improved bezel image for 240x240 screens in simulator (from @sveniv)
- Set baud rate of xsbug connection for
- modClock Project
- Fix build problems
- Reconnect after disconnect
- Rework logic for entering and exiting access point mode
- Static
probemethod added to RTC modules to eliminate exceptions on start-up when scanning for RTC - Sort Wi-Fi access point list
- Set character encoding of HTML pages to UTF-8 so access points with non-ASCII characters display correctly