Advertisement

Quick Links

Spec For TLSR827x-based BLE
Audio Remote Control
PS-20033000-E1
Ver.0.1.0
2020/03/30
Keyword
Remote Control, BLE, Audio, OTA
Brief
This document is a product specification for TLSR827x-based BLE (Bluetooth Low Energy) Audio Remote Control demo.

Advertisement

Table of Contents
loading

Summary of Contents for TELink TLSR827 Series

  • Page 1 Spec For TLSR827x-based BLE Audio Remote Control PS-20033000-E1 Ver.0.1.0 2020/03/30 Keyword Remote Control, BLE, Audio, OTA Brief This document is a product specification for TLSR827x-based BLE (Bluetooth Low Energy) Audio Remote Control demo.
  • Page 2 This document is provided as-is. Telink Semiconductor reserves the right to make improvements without further notice to this document or any products herein. This document may contain technical inaccuracies or typographical errors. Telink Semiconductor disclaims any and all liability for any errors, inaccuracies or incompleteness contained herein.
  • Page 3: Revision History

    Spec For TLSR827x-based BLE Audio Remote Control Revision History Version 0.1.0 (2020-03-30) This is the Initial release. PS-20033000-E1 Ver.0.1.0...
  • Page 4: Table Of Contents

    Spec For TLSR827x-based BLE Audio Remote Control Contents Revision History ............................. 2 Contents ................................3 List of Figures ..............................5 List of Tables ..............................6 Introduction ............................7 Supported features ........................7 Electrical specification ......................7 Button layout ..........................8 BLE Configuration ..........................12 BLE Local Device Configuration .....................12 BLE GATT Configuration ......................12...
  • Page 5 Spec For TLSR827x-based BLE Audio Remote Control Couch Mode ............................28 OTA Firmware Upgrade ........................29 PS-20033000-E1 Ver.0.1.0...
  • Page 6: List Of Figures

    Spec For TLSR827x-based BLE Audio Remote Control List of Figures Figure 1-1 BLE RC demo ........................10 Figure 1-2 Telink Sample BLE Dongle ....................11 Figure 4-1 Voice transmission forma ....................26 Figure 6-1 Connect EVK, Dongle and PC .....................29 Figure 6-2 Firmware burning chart......................30 PS-20033000-E1 Ver.0.1.0...
  • Page 7: List Of Tables

    Spec For TLSR827x-based BLE Audio Remote Control List of Tables Table 2-1 PID and VID table .........................12 Table 2-2 BLE GATT configuration .....................12 Table 2-3 Advertising packet data ......................13 Table 2-4 Scan response PDU data .......................13 Table 2-5 Connection parameter configuration ..................16 Table 2-6 BLE HID reports ........................16 Table 2-7 Connection timing configuration...................20 Table 2-8 Battery state table ........................21...
  • Page 8: Introduction

    Spec For TLSR827x-based BLE Audio Remote Control 1. Introduction This specification is described in details based on BLE remote control (RC) which is built on Telink’s TLSR827x platform and has button function and voice command function support. 1.1 Supported features The RC demo supports the following features: ...
  • Page 9: Button Layout

    Spec For TLSR827x-based BLE Audio Remote Control IR mode: Button press: <13mA Long press single button (<60s): 5~9mA Couch mode (long press time > 60s): ~11uA Idle in IR mode:35uA Deep sleep: 0.5uA Low power current (Battery power below 1.9V): <18uA Working distance: Button press: >30m Voice commands: >10m...
  • Page 10 Spec For TLSR827x-based BLE Audio Remote Control  Audio  0-9 Digits  Menu  Mute TV control area:  Power  Vol-  Vol+  Learn  TV/AV PS-20033000-E1 Ver.0.1.0...
  • Page 11: Figure 1-1 Ble Rc Demo

    Spec For TLSR827x-based BLE Audio Remote Control Figure 1-1 BLE RC demo PS-20033000-E1 Ver.0.1.0...
  • Page 12: Figure 1-2 Telink Sample Ble Dongle

    Spec For TLSR827x-based BLE Audio Remote Control The Telink sample BLE dongle is shown in Figure 1-2. Figure 1-2 Telink Sample BLE Dongle PS-20033000-E1 Ver.0.1.0...
  • Page 13: Ble Configuration

    Spec For TLSR827x-based BLE Audio Remote Control 2. BLE Configuration 2.1 BLE Local Device Configuration MAC address is pre-assigned from the vendor, while the PID and VID values are defined in the table below. Table 2-1 PID and VID table Name Value VID (Vendor ID)
  • Page 14: Table 2-3 Advertising Packet Data

    Spec For TLSR827x-based BLE Audio Remote Control Table 2-3 Advertising packet data DATA field Field Length Length Value GAP_ADTYPE_FLAGS (0x01), GAP_ADTYPE_FLAGS_LIMITED Flags 0x02 GAP_ADTYPE_FLAGS_BREDR_NOT_SUPPORTED (0x05) GAP_ADTYPE_APPEARANCE (0x19), Appearance 0x03 GAP_APPEAR_GENERIC_RC (0x0180) GAP_ADTYPE_16BIT_MORE (0x02), Service UUIDs 0x05 HID_SERVICE_UUID (0x1812) Battery service (0x180F) The total advertise data packet (field length) has to be ≤...
  • Page 15: Direct Advertising

    Spec For TLSR827x-based BLE Audio Remote Control 2.3.2 Direct Advertising After paired with Master, the RCU will enter BLE mode and store bonding information. When the RCU is woken up from deep sleep by pressing any button, the RCU enters IR mode in non- connection state, and due to the stored bonding information, it will send directed advertising packets for 2 seconds and indirect advertising packets for 10 seconds.
  • Page 16: Manual Un-Pairing

    Spec For TLSR827x-based BLE Audio Remote Control and automatically reconnect with the dongle. After successful reconnection, the RCU will stop transmitting IR code. Remove the dongle, or power off the dongle. Press any key and not release it, after wakeup from deep sleep the RCU will send directed advertising packets for 2s and then in-directed advertising packets for 10s.
  • Page 17: Key Transmission

    Spec For TLSR827x-based BLE Audio Remote Control RCU shall have connection parameters based on the Table 2-5. BLE connection parameters have been chosen for minimizing the power consumption, for not overloading the bandwidth and for minimizing the latency. Table 2-5 Connection parameter configuration BLE Connection Parameters Value Connection Interval...
  • Page 18 Spec For TLSR827x-based BLE Audio Remote Control RC button BLE HID Left 0x0044 Right 0x0045 0x0041 Back/Exit 0x0224 Home 0x0089 Android Home 0x0223 Rewind 0x00B4 Play/Pause 0x00CD Fast Forward 0x00B3 Digit 0 0x0027 Digit 1 0x001E Digit 2 0x001F Digit 3 0x0020 Digit 4 0x0021...
  • Page 19: Key Report Transmission

    Spec For TLSR827x-based BLE Audio Remote Control RC button BLE HID Digit 9 0x0026 Note  Whether the RCU is in IR mode or BLE mode, both the “Power TV” and “TV AV Input” act as IR keys. 2.5.3 Key Report Transmission The RCU key reports are sent using HOGP (HID over GATT profile) profile.
  • Page 20 Spec For TLSR827x-based BLE Audio Remote Control 0x81, 0x02, // Input: (Data, Variable, Absolute) 0x95, 0x01, // Report Count (1) 0x75, 0x08, // Report Size (8) 0x81, 0x01, // Input: (Constant) 0x95, 0x05, //Report Count (5) 0x75, 0x01, //Report Size (1) 0x05, 0x08, //Usage Pg (LEDs ) 0x19, 0x01,...
  • Page 21: Connection Behaviors

    Spec For TLSR827x-based BLE Audio Remote Control 0x19,0x01, //local, min 0x01 0x2a,0x8c,0x02, //local, max 0x28c 0x81,0x00, //main, input data varible, absolute 0xc0, //main, end collection 2.6 Connection Behaviors Once a remote and STB are paired, the BLE connection will be kept maintained (using the connection parameters shown in the table - section 2.5.1).
  • Page 22: Battery Service

    Spec For TLSR827x-based BLE Audio Remote Control Parameter Value RECONNECT_ADV_INTERVAL_MIN 30 ms RECONNECT_ADV_INTERVAL_MAX 35 ms 2.7 Battery Service Battery detection is implemented with the interval of 100ms. If the battery voltage has dropped below 2.0v, the RCU will enter deep sleep mode. Table 2-8 Battery state table Battery State Battery Voltage (V)
  • Page 23 Spec For TLSR827x-based BLE Audio Remote Control 2.8 V ≤ VDD < 2.9 V 2.7 V ≤ VDD < 2.8 V 2.6 V ≤ VDD < 2.7 V 2.5 V ≤ VDD < 2.6 V 2.4 V ≤ VDD ≤ 2.5 V 2.3 V ≤...
  • Page 24: Button Function

    Spec For TLSR827x-based BLE Audio Remote Control 3. Button Function 3.1 Single button function After successfully paired with the dongle, the RC enters BLE mode, and it can send certain key value by pressing corresponding button. The function of each button is shown as in Section 1.3. In BLE mode, user can use the PC tool “KeySimulator”...
  • Page 25 Spec For TLSR827x-based BLE Audio Remote Control RC button IR code Home 0x61 Android Home 0x47 Rewind 0x51 Play/Pause 0x52 Fast Forward 0x53 Digit 0 0x0A Digit 1 0x01 Digit 2 0x02 Digit 3 0x03 Digit 4 0x04 Digit 5 0x05 Digit 6 0x06...
  • Page 26: Repeatable Buttons

    Spec For TLSR827x-based BLE Audio Remote Control 3.2 Repeatable Buttons In IR mode, all buttons are treated as repeatable buttons. When any button is pressed and held, the key value will be sent continuously. In BLE mode, all buttons are treated as non-repeatable buttons. PS-20033000-E1 Ver.0.1.0...
  • Page 27: Audio

    Spec For TLSR827x-based BLE Audio Remote Control 4. Audio 4.1 Audio Input Control The audio input function can only be used in BLE mode, i.e. connection state. The voice function on the remote control can be able to function with Android 10 hosts. The remote sends AUDIO_START followed by audio data as soon as “MIC”...
  • Page 28: Audio Performance

    Spec For TLSR827x-based BLE Audio Remote Control 4.2 Audio Performance Audio performance meets Google and Nuance requirements. Detail requirements as below table. Table 4-2Audio performance requirement Item Requirement Sample Size 16 bits Sample Rate 16 kHz Channels 1 channel +/- 3dB from 250 Hz – 4 kHz Frequency Response +/- 4dB from 4kHz –...
  • Page 29 Spec For TLSR827x-based BLE Audio Remote Control 5. Couch Mode This feature is used to save power for RC when some button is pressed by mistake and held for a long time. In IR mode, if any button is pressed and held for 60 seconds, the RC will enter low power couch mode.
  • Page 30: Figure 6-1 Connect Evk, Dongle And Pc

    Spec For TLSR827x-based BLE Audio Remote Control 6. OTA Firmware Upgrade This feature is used to upgrade the RC firmware using a burning EVK board (Burning key), the sample dongle and Wtcdb. The operation is described below: Download the dongle firmware, test firmware 1 and test firmware 2 into the dongle. Connect hardware: Connect the EVK with PC via an USB cable, and connect the dongle with the EVK via USB interface.
  • Page 31: Figure 6-2 Firmware Burning Chart

    Spec For TLSR827x-based BLE Audio Remote Control .\tcdb.exe wf 40000 -eb -i D:\ bin file name of test firmware 2 (e.g. 8278_ble_remote_ota_ts1.bin) Figure 6-2 Firmware burning chart Pair the RC with the dongle (refer to section 2.4). Successively click the “SW1” button of the dongle for five times to trigger the dongle to enter OTA mode.
  • Page 32 Spec For TLSR827x-based BLE Audio Remote Control To transmit and upgrade the test firmware 2 (starting from 0x40000) to the RC via OTA, click the “SW2” button of the dongle. The dongle’s green LED will first be turned on, then blink three times. The white LED will be turned on to indicate OTA is finished.

Table of Contents