diff --git a/changelog.md b/changelog.md index e382bdf..a7cca67 100644 --- a/changelog.md +++ b/changelog.md @@ -16,6 +16,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Released +## [1.7.1] - 2022-05-06 +### Fixed +- `start_config` creates an AccessPoint named `WiFiManager_xxxx` with `xxxx` + as the last four instead of first four characters of the UUID of the device, + see [#15][ref-issue-15] + ## [1.7.0] - 2022-04-18 ### Added - [`toast.js`](static/js/toast.js) and [`toast.js.gz`](static/js/toast.js.gz) @@ -172,8 +178,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `sendfile` function implemented in same way as on Micropythons PicoWeb -[Unreleased]: https://github.com/brainelectronics/Micropython-ESP-WiFi-Manager/compare/1.7.0...develop +[Unreleased]: https://github.com/brainelectronics/Micropython-ESP-WiFi-Manager/compare/1.7.1...develop +[1.7.1]: https://github.com/brainelectronics/Micropython-ESP-WiFi-Manager//tree/1.7.1 [1.7.0]: https://github.com/brainelectronics/Micropython-ESP-WiFi-Manager//tree/1.7.0 [1.6.0]: https://github.com/brainelectronics/Micropython-ESP-WiFi-Manager//tree/1.6.0 [1.5.0]: https://github.com/brainelectronics/Micropython-ESP-WiFi-Manager//tree/1.5.0 diff --git a/wifi_manager/version.py b/wifi_manager/version.py index d7846e5..4971bb4 100644 --- a/wifi_manager/version.py +++ b/wifi_manager/version.py @@ -1,3 +1,3 @@ -__version_info__ = ('1', '7', '0') +__version_info__ = ('1', '7', '1') __version__ = '.'.join(__version_info__) __author__ = 'brainelectronics' diff --git a/wifi_manager/wifi_manager.py b/wifi_manager/wifi_manager.py index 2dc0eff..69c3118 100644 --- a/wifi_manager/wifi_manager.py +++ b/wifi_manager/wifi_manager.py @@ -212,7 +212,7 @@ def load_and_connect(self) -> bool: def start_config(self) -> None: """Start WiFi manager accesspoint and webserver.""" ap_name = 'WiFiManager_{}'.format( - GenericHelper.get_uuid(4).decode('ascii')) + GenericHelper.get_uuid(-4).decode('ascii')) self.logger.info('Starting WiFiManager as AccessPoint "{}"'. format(ap_name)) result = self.wh.create_ap(ssid=ap_name,