新しい obnizOS, obniz.js がリリースされました。
obnizOSは安定性向上、obniz.jsはonloopやcolseWaitなどの接続関数のアップデートが入っています。
obnizOS 3.4.4
https://obniz.com/doc/reference/obnizos-for-esp32/changelog
Available OS
- obnizOS for obniz Board ( hw=obnizb1 )
 - obnizOS for obniz Board 1Y ( hw=obnizb2 )
 - obnizOS for obniz BLE/Wi-Fi Gateway ( hw=encored )
 - obnizOS for CONNECT HUB Cellular Model ( hw=encored_lte )
 - obnizOS for BLE Stick ( hw=ble_stick )
 - obnizOS for M5StickC ( hw=m5stickc )
 - obnizOS for M5Stack Basic ( hw=m5stack_basic )
 - obnizOS for ATOM Lite ( hw=m5atom_lite )
 - obnizOS for ESP32 ( hw=esp32w or hw=esp32p )
 
Wi-Fi
Improves
- Wi-Fiがスキャンで見つからなかった場合の再接続時間を短期化
 - ハングモニタリングの検知間隔を短期化
 - Wi-Fi切断時に再起動から再接続に。
 
Network
Bug Fixes
- 固定IPに接続できない場合があるのを修正
 
BLE
Bug Fixes
- 通信量が多い時にOSがCrashするのを改善。
 
obnizjs 3.12.0
https://github.com/obniz/obniz/releases/tag/v3.12.0
Features
- Add support nodejs 14, and drop support nodejs 9, 10
 - Add support metadata
 - Add obniz.onloop
 - Add obniz.closeWait to wait connection close and deprecate obniz.close
 - export all class types from index
 - Add Obniz.isValidObnizId to check obnizId string
 - Add support to call periphral.disconnectWait() before connect as ble central mode.
 - Update ble connection parameter for more stable connectivity and connection establish
 
Fix
- Fix document parameter names
 - Fix return Buffer object when characteristics was written as ble peripheral mode.
 - Fix some ble device cannot pairing if it send paring request immediately after establish connection.
 
Parts
- add Grove_WaterLevelSensor, Grove_GestureSensor (thanks for @1ft-seabass )
 - add more support 2jcie to get more sensor data from advertisement (USB Type Device)
 - update Loggtta_CO2, Loggtta_temp check device function more accurate
 - fix scbtgaaac sensor data