Instructions

Software Architecture

Software architecture description
  1. Lock Operate Api: TTLockClient

  2. Lock firmware update Api: LockDfuClient

  3. Gateway Api: GatewayClient

IDE

Android Studio

Minimum SDK Version

18

 

Installation

import lib in build.gradle:

add permission in manifest:

 

Use SDK

  1. Before call sdk api,make sure bluetooth is enabled.
  2. Init sdk
  3. Invoke api

    For example:

  4. Close SDK service

    When Activity finished,you should close SDK service: