Releases: MediaTek-Labs/Arduino-Add-On-for-LinkIt-SDK
Releases · MediaTek-Labs/Arduino-Add-On-for-LinkIt-SDK
Library Update
- Implement #95 by providing
LRTC::epoch()
. - Fix #102 by automatically accepts remote connection parameter change request in
LBLE
library. - Include peripheral driver (https://github.com/MediaTek-Labs/linkit-7697-peripheral-drivers-for-arduino) in the BSP release package.
Joystick in LRemote
New Features
- Add
LRemoteJoyStick
control and its exampleJoyStick
.
Bug Fixes
- Improve the button response by queue multiple BLE events.
Tickless Sleep Test 8
Add WiFi::end API and revise init_connsys - Separate BLE and Wi-Fi cases when initializing connsys - Add WiFi::end API to allow user to manually turn-off wifi
LRemote Update
New Features
- Add
LRemoteJoyStick
control and its exampleJoyStick
Bug Fixes
- Fix an issue that causes LRemoteButton to miss button-up events when multiple buttons are pressed together or in a short time.
Bug Fix for BLE and Wi-Fi
Wi-Fi fixes
- #92 WiFi library cannot connect to Wi-Fi AP with WPA + TKIP configuration. Fixed by using mixed authentication mode.
BLE fixes
-
#89 Unreliable lookup method used within LBLEEventDispatcher class : use
equal_range
when searching for elements in STL multimap, instead of usingfind
.find
is not guaranteed to return the first element in the equal range. -
#90 Improper characteristic list implementation of LBLEClient class:
- Add a new set of interfaces to
LBLEClient
that allows user to identify a characteristic by using service index and characteristic index, instead of using UUID. Note that it is possible for a device to have multiple characteristics with the same UUID. - Add a new example
EnumerateCharacteristic.ino
that uses the new indices-based interface ofLBLEClient
to list all the services and characteristics in the connected BLE device. - Use
bt_gattc_read_charc
instead ofbt_gattc_read_using_charc_uuid
to read characteristics. - Refactored
LBLEValueBuffer
to support re-interpreting its raw buffer content into String, float, int, and char types.
- Add a new set of interfaces to
-
#91: when calling
bt_gattc_discover_charc
, we need to wait for multipleBT_GATTC_DISCOVER_CHARC
event. We added new helper functionwaitAndProcessEventMultiple
that supports such event waiting behavior.
BLE Update
BLE bug fixes
- iBeacon:
LBLEAdvertisements::getIBeaconInfo
now properly converts byte order and endian of UUID/major/minor data in iBeacon packets. Also, TxPower is updated to use signed integer value type. (#79) - BLE notification:
LBLEPeripheral
fixes issues that cause Android apps unable to receive notification sent from LinkIt 7697. (#80) - BLE write/read:
LBLECentral
fixes issues that cause failed characteristic read/write when using 128-bit UUIDs. (#82)
Other updates
Serial
now supports additional baudrate921600
,460800
, and230400
, thanks to suggestion from @weixiongmei .
Fix iBeacon Parser
- Convert UUID byte order in iBeacon packets
- Convert Major / Minor endian
LinkIt Remote Update
- Add API
updateText
toLRemoteLabel
- Limit the text length to 15 bytes
- Send BLE notification for updated text label to mobile app
- Complatible with mobile apps:
- iOS: LinkIt Remote v1.3.3
- Android: LinkIt Remote v1.2.20171215-release
Add SoftwareSerial Library
Add SoftwareSerial library that allows users to create a software-based Serial device.
- RX pins: use P2 or P3 as RX pin.
- TX pins: most digital pins can be used as TX pin.