Comments (5)
Hi,
yes the demo is not working with the BlueCoin board.
you need a ST32WB + FP-AUDBVLINKWB1 firmware
Best Regards
Giovanni
from stblesensor_android.
Hi thanks for your fast response.
I would like to make a full duplex audio communication between an Android device and a bluecoin. Even this example doesn't work, it's still possible to integrate these functions into the BlueVoiceFragment, but which layers must be changed to make it work?
Does the ST32WB + FP-AUDBVLINKWB1 allow a fullduplex communication with an Android device?
Which advantages the second option brings compared to the first one?
Thanks a lot
from stblesensor_android.
Hi,
if you want to use the BlueCoin, using the ADPCM Codec you could have problem with the BLE Bandwidth since the codec is not the best.
if you can use the Opus codec, into FP-AUD-BVLINK2 there is an fw that permit you to have a full duplex communication, between 2 BlueCoin.
checking with my colleagues, using that fw you should do some changes.
app side:
- change the decode settings to match the one used on the fw (currently we are using hight quality settings to transmit music, the BVLINK2 target voice transmission that require different settings to achieve an optimal bandwidth)
- use the microphone to generate the stream that is encoded (now we are reading a wave file)
- add the code to receive the opus stream and decoding it
into the fw side you have to:
- check if the app behaviour is fine: the characteristics used to the app the same requested by the fw? do the fw enables the notification when discover the chars? (otherwise the full band demo will not appear between the demos).
we have in the pipeline to add the support for the full duplex, but it will not be done in a short term.
the big difference between the BlueCoin and the STM32WB is that the STM32WB is bluetooth 5 complaint, so you can have more bandwidth -> better audio quality.
from stblesensor_android.
Hi Giovanni,
Thanks for your help. I will try to do so.
from stblesensor_android.
Hi Giovanni,
I succed to make the communication between Android and the STM32WB using the fullduplex demo but I still have an unresolved problem. If I force the « receiving mode » in the nucleo I’m able to start and stop the emission of audio. But I would like to avoid this by sending a control notification that will notify the Nucleo to change it state.
After some researches I found two methods that might correspond to what I need to do but couldn’t make it work. The first one is sendCommand(byte commandType,@nonnull byte[] data) from the feature class and the other one is notifyOnFeature(feat: Class, dataToWrite: ByteArray) from the NodeServer class.
So, could you tell me what’s the right way to send a control notification from the Android to the Nucleo ?
Thanks
from stblesensor_android.
Related Issues (20)
- Version 4.6.4
- Android 10 Compatibility HOT 8
- Publisher topic name HOT 2
- problems when building the project. HOT 3
- Accelerometer event type not being recognized in android app (ST BLE Sensor) HOT 1
- Error while building app on android HOT 5
- OTA Update Taking Too much time compare to play store application. HOT 6
- Error Build in Android Studio Dolphin HOT 1
- Can connect 4CH bluetooth and send fft? HOT 2
- Cannot find symbol method getDefaultCloudDeviceName(Node) HOT 2
- Can I add the feature of fft to cloud broker while plotting xyz accelerometer?
- How to Perform Node Emulator? HOT 1
- where I can find LevelProficiencyFragmentDirections? HOT 1
- Connect to multiple STEVAL-BLUEMIC-1 at the same time and addition of multiple streams
- Unable to load project (Android Studio 2.3) HOT 1
- Speech to text encoding HOT 2
- res missing HOT 1
- How to compile this project on Android Studio? HOT 5
- MQTT problem with ST BLE Sensor App on Android
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stblesensor_android.