Skip to content
Documentation version: v0.6.4

Changelog

0.6.4 - 2026-11-24

  • Recover from a packet body CRC failure by dropping the corrupt packet and continuing to process valid packets from the same BLE receive batch.
  • Use acknowledged GATT writes for macOS firmware updates and split OTA frames into chunks that fit the negotiated ATT MTU.
  • Document how to install releases from PyPI and development builds from Git, and update the OpenZilo-Gesture links.

0.6.3 - 2026-11-11

Connection signal strength

  • Add get_connection_rssi() and openzilo rssi to query connection signal strength in dBm on supported firmware.
  • Check the device capability before querying; serialize RSSI requests and require reconnection after an ambiguous timeout, cancellation or malformed response.

Unlimited recording

  • Accept AudioRecordingConfig(max_duration_ms=0) for unlimited recording on firmware V2.001.0002.0002 or later.
  • Keep the SDK default recording limit at 60000 ms. Finite limits remain 20–60000 ms in 20 ms increments.

Documentation

  • Synchronize Chinese and English feature requirements, examples and compatibility guidance.
  • Keep public documentation focused on supported APIs, protocol contracts and observable behavior.

0.6.2 - 2026-10-22

Signed firmware bundles

  • Add inspect_firmware_bundle() and ota-inspect for offline signature verification and complete metadata display, including JSON output.
  • Verify the manifest signature, signing key ID, payload digest, length and encrypted APP header before an update starts.
  • Check device model, board and allowed starting versions before transmitting only the inner OTA payload. Reconnect and verify the full running version after reboot.
  • Require explicit opt-in for test-profile bundles. Verification requires an independently trusted P-256 public key; a downloaded bundle cannot supply its own trust anchor.

Local IMU calibration

  • Add six-face accelerometer fitting, stationary gyroscope bias fitting and independent validation.
  • Store validated profiles locally, bound to the device identifier, model, exact firmware version and sensor ranges.
  • Add imu-calibrate and explicit calibrated streams in g and deg/s. Preserve raw streaming and avoid applying corrections twice.
  • Perform all calibration on the host without writing calibration parameters to the ring. A new firmware image is not required for supported IMU contracts.

Breaking change and migration

update_firmware() and ota-update now accept only signed OTA ZIPs. Raw BIN input and the version, sha256 and expected_model overrides have been removed. Version and compatibility fields come from verified metadata.

from pathlib import Path
import openzilo as sdk

# ring is an already connected OpenZiloClient.
bundle = Path("firmware.ota.zip").read_bytes()
public_key = Path("trusted-signing-public.pem").read_bytes()
metadata = sdk.inspect_firmware_bundle(bundle, trusted_public_key=public_key)
info = await sdk.update_firmware(ring, bundle, trusted_public_key=public_key)

cryptography>=43 is now a required dependency. Existing firmware OTA wire protocols remain unchanged. Device-side encryption-key matching and rollback enforcement remain device checks; host verification does not confirm installation or hardware calibration accuracy.