You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am using fp-sns-allmems2 libraby for sensiBLE device but it could not turn on the bluetooth after flashing the same code with bootloader.
And no issue was there while loading fp-sns-allmems1 libraby.
So if anyone has faced the same problem please help me.
Activity
GiovanniVisentiniST commentedon Dec 11, 2018
Hi Boqian,
yes it the LinearPCM decopressed byte stream.
to convert short to bytes you can use this class:
https://github.com/STMicroelectronics-CentralLabs/STBlueMS_Android/blob/398575b3d5572cb3b7b435db5b2be6e522754037/BlueMS/src/main/java/com/st/BlueMS/demos/Audio/SpeechToText/util/BytesConverterUtil.java#L46
or something like the AudioBuffer class:
https://github.com/STMicroelectronics-CentralLabs/STBlueMS_Android/blob/398575b3d5572cb3b7b435db5b2be6e522754037/BlueMS/src/main/java/com/st/BlueMS/demos/Audio/Utils/AudioBuffer.java#L91
Best regards,
Giovanni
EktaRathod commentedon Aug 10, 2019
Hi,
I am using fp-sns-allmems2 libraby for sensiBLE device but it could not turn on the bluetooth after flashing the same code with bootloader.
And no issue was there while loading fp-sns-allmems1 libraby.
So if anyone has faced the same problem please help me.
Best Regards,
Ekta