sandeepmistry / node-sensortag

Node.js lib for the TI SensorTag
MIT License
218 stars 111 forks source link

About supporting voice over GATT/BLE for cc2650 sensortag #91

Closed jarvis-hal closed 7 years ago

jarvis-hal commented 7 years ago

It seems like the latest BLE stack from TI has code built in for using the MEMS microphone sensors on board for cc2650stk sensor tag. I have been looking in it but find it beyond my expertise to integrate it into node-sensortag. Any thoughts on adding support for voice-over-BLE?

Here is the example from TI: https://github.com/ti-simplelink/ble_examples/blob/master/src/examples/simple_central_audio_receiver/cc26xx/app/simple_central_audio_receiver.c

Also TI has publish voice over BLE under cc2650RC: http://processors.wiki.ti.com/index.php/BLESDK-2.2.x-CC2650RC_Developers_Guide

sandeepmistry commented 7 years ago

@jarvis-hal does the latest official TI SensorTag firmware contain this feature?

I don't see any documentation for it: http://processors.wiki.ti.com/index.php/CC2650_SensorTag_User's_Guide#Gatt_Server

obriensoftwarehouse commented 7 years ago

@sandeepmistry Do these links assist? The PDM Driver was included as part of the BLE Stack 2.2.1

https://github.com/ti-simplelink/ble_examples/blob/master/docs/simple_central_audio_receiver.md

Additional References PDM Driver http://processors.wiki.ti.com/index.php/CC2650RC_Getting_Started_with_Development#Voice_Streaming_on_the_CC2650RC http://processors.wiki.ti.com/index.php/BLESDK-2.2.x-CC2650RC_Developers_Guide#Voice_Over_BLE Voice Over Remote Control

sandeepmistry commented 7 years ago

@obriensoftwarehouse does the stock SensorTag firmware have these features bundled, or is a custom build required?

jarvis-hal commented 7 years ago

I believe that the stock firmware does not have the voice built-in. I will try to test and compile the firmware coming with the Bluetooth SDK 2.2.1 and see how to enable this.

sandeepmistry commented 7 years ago

@jarvis-hal thanks for the info.

For now, I think I will close this issue/request, since I expect a majority of users will probably only use the stock firmware on their SensorTags. So, it's best to wait for TI to include this feature.

jarvis-hal commented 7 years ago

Yes, it will be interesting to see when TI is going to release the voice-over-BLE as a stock firmware. I will try to play around the build and give some updates when I make some progress.

santiag0aragon commented 7 years ago

@sandeepmistry @jarvis-hal To enable voice-over-GaTT on the sensortag is enough to compile and install in the sensortag the sensortag-audio_app + sensortag-audio_stack examples provided in the SDK.