语言

Menu
Sites
Language
Emulating Bluetooth headset on smartwatch

Hi,

 

I'm trying to build app that records audio on Smartwatch, sends it to phone for google's speech-to-text recognizing and using it with autovoice/tasker. But in this case app must:

  • record Raw audio stream for detecting silence
  • detect silence after speech to stop recording
  • possibly compress it with Lame or other encoder for sending it via SAP/Bluetooth etc to the phone
  • on phone also some work for converting Speech-to-Text
  • also for feedback on watch, answer also must be converted with Text-to-Speech to audio and send back to watch for playing.

 

But much easier if smartwatch will emulate bluetooth headset, for example programmatically press headset BT button, google now (or other) will be executed on phone and just send audio stream to phone as bluetooth headset do.

 

Is it possible to do ?

 

Thanks for any help.

编辑者为: Dmitry 25 10月, 2018

响应

1 回复
Yasin Ali

Hi,

I think for this kind of operation you would need  https://wiki.tizen.org/NTB_Architecture

But this document is still in draft mode.