Skip to content

Releases: MediaTek-Labs/Arduino-Add-On-for-LinkIt-SDK

Add LBLEPeripheral::disconnectAll

10 Aug 07:47
Compare
Choose a tag to compare

New method for LBLEPeripheral to disconnect all connected central client devices.

MCS gamepad channel support & LBLE major bug fix

04 Aug 03:15
Compare
Choose a tag to compare

Breaking Changes

  • Migrate from LinkIt SDK v4.2 to v4.3.
  • You need to update bootloader and Wi-Fi/BLE firmware by choosing Burn Bootloader from Arduino IDE tool menu. Detailed instruction here.
  • LBLECentral::scan now clears the scanned device list when re-starting a scan procedure. This is because most BLE devices change their BLE address overtime, so there is no use storing all the previously scanned results. If the user must keep the scan history, they need to backup the scan results before calling scan() again.

New Features

  • Support MCS GamePad Controller Channel. Check Examples > MCS > Gamepad for example. Thanks to @michaelchien1972 for contributing to this.
  • Users can now update (or restore) on-board bootloader and Wi-Fi/BLE connectivity firmware by selecting Burn Bootloader from IDE menu.

Bug Fixes

  • Add missing implementation LBLEClient::disconnect.
  • Fix an issue that may cause the board stop responding after multiple BLE scan -> connect loop.
  • Fix #27: WiFiUdp::available() returns incorrect result after parsePacket()
  • Fix #30: Servo::attach(pin, min, max) does not work
  • Fix #36: Arduino SDK build issue under mingw (windows x86/x64) environment. (Thanks to contribution from @michaelchien1972)

Bug Fix for LBLE Library

28 Jul 08:16
Compare
Choose a tag to compare
Pre-release
  • Add LBLE::disconnect() implementation
  • Add synchronization locks in LBLE internal event dispatcher

MCS Library Update

01 Jun 05:20
Compare
Choose a tag to compare

New features

  • As requested in #21, Provide new method setServerValue(value) for all controller data channels. Developers may use this method to update the MCS/MCSLite server-side values. Once the value is successfully set, the channel becomes both valid() and updated().

Changes and fixes

MCS library

  • MCSGPSController now have a new method value() which returns an MCSGPSValue object that is a struct of latitude, longitude and altitude. The exisiting methods such as latitude() are left unchanged.
  • MCSPWMController::value() has changed:
    • It now returns a MCSPWMValue object instead of the duty cycle field.
    • A new method dutyCycle() is added to retrieve the field seperately.
  • All controller channels are now inherited from a MCSControllerBase<T> template class that provides a common implementat for value(), setServerValue() and _update() logics. This reduces some redundant code implementations. Note that display channels are left unchanged.

Arduino IDE support

  • Fix #17: Default USER LED is on
  • Fix #18: There are compile warnings while compile the core lib
  • Fix #20: Arduino IDE 1.8.2 : "Aggressively Cache Compiled Code" will cause compile error.
  • Fix #22: Upload fails when the board support package installation path contains space character
  • Fix #23: Request to add clockCyclesPerMicrosecond to BSP

Network Feature Updates

23 May 08:47
Compare
Choose a tag to compare

Major Changes:

  • #8: LWiFi library adds class TLSClient that supports TLS/SSL connections
  • Simplified implementation of WiFi socket classes, including WiFiClient, WiFiServer, and WiFiUdp. This also fixes #13.

Following bugs are fixed:

  • #15: [MCS] MCSDisplayFloat does not have syntax highlight in Arduino IDE bug.
  • #13: [MCS] socket.connect() failed after uploading data points for several times.
  • #10: [MCS] MCSDisplayFloat does not update channel data.
  • #12: [WiFi] ssid parameter of WiFi.begin() is not const.

WiFiClient Re-Implementation with Blocking Sockets

19 May 07:13
Compare
Choose a tag to compare

Fixes #13 (A memory leak in the non-blocking call flow).

Dev Preview for TLS/SSL support

17 May 09:55
Compare
Choose a tag to compare
Pre-release
  • Fix issue that fails to download bigger fragment length contents.
  • Merge from master to fix MCS Float Channel upload issue.

Dev Preview for TLS/SSL support

09 May 10:04
Compare
Choose a tag to compare
Pre-release

Preview release for issue #8.

MCS and LBLE Enhancements

05 May 05:52
Compare
Choose a tag to compare

New features for MCS and LBLE library:

  • MCS now supports MCSLite. which is currently in preview stage. Visit the preview introduction page (sorry, Chinese only) for binary download and documentation. To connect to MCSLite instead of MCS, use the MCSLiteDevice class.
  • LBLE library now adds two new methods:
    • LBLEAdvertisementData::configAsEddystoneURL() allows users to configure advertisements in Eddystone-URL format.
    • LBLEPeripheralClass::advertiseAsBeacon allows users to create a peripheral that is purely advertised as a device that cannot be connected - most beacons belongs to this category.

New Features

19 Apr 09:03
Compare
Choose a tag to compare
New Features Pre-release
Pre-release

This release adds following new features:

  1. MCS library that helps connecting to MediaTek Cloud Sandbox
  2. LBLECentral and LBLEClient supports connecting to a remote BLE peripheral device, enumerating services and read/write characteristics.
  3. Improved firmware upload speed by updating to mt76x7-upload tool v1.4.0.