概要
新しくリリースされた1.0.4の変更点を確認しました。
変更点
- 4638628 Wait for client.available() to prevent ESP32 crashes (#3154)
- 6f70e27 Base64::encode : const correctness / String by reference passing (#3314)
- d0b064a Update CI scripts for better error handling (#3316)
- 85c77a9 Fix CI Builds for Linux (#3313)
- c8e3f0c Support Pi 4 on 64bit kernel
- 5ad468f Add ARM toolchain
- 38c4c06 Support for Master mode, Pin and SSP (#3219)
- b334b2c Add config, menu partition Wrover (#3147)
- 8a46697 Fix for issue_3209. (#3210)
- 270a275 Add pages action (#3311)
- 01d9345 Update development JSON location
- 71e3d51 Fix BLEUUID toString (#3289)
- 64cfb33 Add Added unimplemented getCharacteristicsByHandle function (#3277)
- 5f1dff7 IDF release/v3.2 d3e562907 (#3292)
- 40ebee1 Update BluetoothSerial.cpp (#3308)
- ed96d2a Use Github Actions for release (#3309)
- caa391a More efficient CI builds (#3303)
- 3b71e13 Builder scripts update (#3300)
- 1c77790 allow the examples to build in a more strict env (#3299)
- 5bff89f Fixed issue-3153 – Allocating enough memory to construct the entire UUID as a String. (#3297)
- 9bbd720 Update BLEDevice.cpp (#3267)
- 589bb70 Update WiFiScan.h (#3266)
- f8c0689 Better cleanup on mount failures, as the idf api now seems to assign handle and mountpoint before failing. Fixes #3265 (#3282)
- a5c873b Update README.md
- 895a150 Update README.md
- ca88fdc Fixed FFat::end. Fixes #3244 (#3245)
- f32083a Fix timerRestart
- b30e55e Added partition size option for Pico Kit (#3258)
- 0ac2de7 Add partition schemes to adafruit featheresp32 (#3255)
- 0eec630 Add missing env to PIO CI build
- 731fd19 Update get.py
- 298c610 Added board defintion for VintLabs boards (#3252)
- 8ea12f8 Update pins (#3249)
- b3ba80d nvs_handle is an int, was assigning NULL. Also cleaned up end to ensure no memory leak. (#3246)
- a5935ce Add sample for Time date for FatFS like SPIFFS (#3234)
- 96d6975 Changed WeMosBat.name (#3240)
- 9eaeeb6 Change the first argument of SPI::wrteBytes to be const (#3242)
- e22d8b6 Update stale messages for easier filtering
- 56fe2db Fix F_Fat::format return false when succeed (#3220)
- 06a399b Extend logging of ArduinoOTA (#3217)
- 4ce2cc3 Fix HTTP Client with SSL (#3216)
多すぎてよくわかりませんね。
変更点抜粋
気になったものだけ抜き出しています。
BluetoothSerial
結構関数が追加されています。今までESP_SPP_ROLE_SLAVEモードしか対応していなかったのが、ESP_SPP_ROLE_MASTERに対応しています。
マスターモードの詳細がわかりませんが、SerialToSerialBTM.inoというマスターモードで動くスケッチ例が追加されています。
Update development JSON location
開発版のJSONの場所が変わっていますね。
1.0.3 https://dl.espressif.com/dl/package_esp32_dev_index.json
1.0.4 https://espressif.github.io/arduino-esp32/package_esp32_dev_index.json
中身も違いますね。個人的には安定版しか使わないので問題ありませんが、dl.espressif.comの方が正しい内容に思える。。。
BLEUUID
PRが通りまして、UUIDの桁数がおかしいのがなおりました!
BLERemoteService
こちらもPRが通りまして、getCharacteristicsByHandle()が追加されました。ただgetCharacteristics()で出力しているデバッグログを同じように出力したら、消してと言われたのが謎です。
getCharacteristics()の方のPRはまだ通っていませんが、getCharacteristicsByHandle()の方がシンプルな関数で、同じことが実現できるので取り下げようかな。。。
WiFiScan
static void * getScanInfoByIndex(int i) { return _getScanInfoByIndex(i); };
こんなPRも通るんだ!
まとめ
BLEでとりあえずおかしかったものがなおっているので、良かったです。まだまだBLEはおかしなところが多そうですので、安定して動くのは結構先になりそうですね。
コメント