TrillBit SDK
  • Introduction
  • technological overview
    • In this release
    • Use cases
    • Quick links
  • features
    • Payloads and Datarates
    • Protocols
    • Configurations
    • Distances
    • Platforms supported
  • demo applications
    • TrillPlay
      • Specifications
    • TrillIoT
    • Knowles SmartMic
  • Knowles smartmic support
    • Trill SDK for Knowles
      • Requirements
      • Setup Guide
        • Licensing and Setting up Trillbit Host library
        • Authentication of the Trillbit IA61x algorithm
        • Sending Data to the SmartMic
      • Trillbit SDK Methods
      • Troubleshooting
  • android support
    • Trill SDK for Android
      • SDK Requirements
      • Setup Guide
        • Licensing credentials
        • Getting started
        • Integrating the SDK
          • Declare your app's audio permissions
          • Import SDK
          • Declare Trill SDK Callback
          • License and Initialise your Trill SDK
      • Methods and Callbacks
        • Sender methods
        • Receiver methods
        • Callbacks
      • Reducing application size
      • Troubleshooting
        • Error codes
  • ios support
    • Trill SDK for iOS
      • SDK Requirements
      • Setup Guide
        • Licensing Trill SDK
        • Getting started
      • Methods and Callbacks
        • Trill SDK Methods
        • Trill SDK Callbacks and delegates
      • Troubleshooting
  • esp 32 support
    • Trill SDK for ESP-32
      • Requirements
      • Platforms supported
      • Setup Guide
        • Licensing and Setting up Trillbit library
        • Sending data to the ESP32 device
      • Methods and Callbacks
      • Troubleshooting
  • embedded linux
    • Trill SDK for Embedded linux
      • Requirements
      • Architectures supported
      • Demo applications
      • Setup Guide
        • Licensing your Trill SDK
        • Compiling example binaries
        • Instantiate Trill SDK
        • Run the demo code
      • Methods and Callbacks
        • Trill SDK Methods
        • Callbacks
      • Troubleshooting
  • Reference
    • References
    • FAQs
Powered by GitBook
On this page
  1. Knowles smartmic support
  2. Trill SDK for Knowles
  3. Setup Guide

Authentication of the Trillbit IA61x algorithm

Every time that your application with Trillbit Host library is run, the following steps are to be followed:

  1. Start by preparing the board drivers.

    1. Driver initialisation and functioning must be handled by the customer application.

  2. Initialize the Host SDK Method Call: trill_host_init()

    1. Returns integer: 0 if License is correct and init was successful, else negative error code if init was unsuccessful.

    2. This prepares the SDK to interact with the IA61x firmware. Download Trillbit IA61x firmware over UART. Start of external clock through UART.

  3. Start of Voicewake mode (Refer to Knowles IA61x documentation). This waits for a keyword to be received.

  4. The keyword that can be detected is defined at- < src/include/trill_host.h >

  5. Depending on the type of keyword received, the following steps are to be executed:

    1. Authentication Needed: Authentication is pending. Data received from the SmartMic is to be read through UART and is to be passed to trill_host_handle_auth() method.

    2. Authentication Passed: The SDK is in continuous listening mode and is in data receive state. To safely deallocate the memory allocated, trill_host_deinit must be called.

    3. If data is detected: Payload is read through RDB.

Note: Refer to Knowles documentation for more information on how RDB and VoiceWake Mode works.

PreviousLicensing and Setting up Trillbit Host libraryNextSending Data to the SmartMic

Last updated 2 years ago