Does bluenrg-1 supports the voice over control? - bluetooth-lowenergy

I'm working on a task to build the end to end communication on the Bluenrg1/2 chip,does it supports the audio commands and converts it to the digital signals, though it has the PDM streaming.
Could anyone give more insight on this.
Thank you in advance

Please check FP-AUD-BVLINK1 software package:
https://www.st.com/content/st_com/en/products/embedded-software/mcu-mpu-embedded-software/stm32-embedded-software/stm32-ode-function-pack-sw/fp-aud-bvlink1.html
The package is based on BlueNRG-MS which also works with BlueNRG-1 acting as a network coprocessor.
The user manual is evaluable:
https://www.st.com/resource/en/user_manual/dm00384318-getting-started-with-the-fpaudbvlink1-stm32-ode-function-pack-based-on-halfduplex-voice-streaming-over-ble-stmicroelectronics.pdf
It describes also the ASR (automatic speech recognition) demo with
Google Speech API (English) and iFlyTek MSC service (simplified Chinese)

Related

Showing Volume Details using python openstacksdk, python novaclient, python cinderclient

Hello guys and I hope you're having a great day. I have a question about using Openstack API in Python.
I'm using python-novaclient for getting server details and flavor details. And I want to get the volume details too but I don't know how to do it, I've tried to collect volume details but it failed somehow and I need to ask you guys if you have any idea.
This information is what I want to get:
volume_id, attached to (w/c volume), name, status and volume_type (CEPH or LVM)
I used python-cinderclient, but I only got the volume_id.
Here's the code:
volumes = cinder.volumes.list()
Can someone help me to get the other data? Other than running Openstack command-line in the server, I just need some Python module to get these data.
Thanks in advance.
I've finally figured it out, and I'm going to answer this for anyone who is interested in Openstack SDK or other Python API for Openstack.
First, for authentication you need to use Keystone API, the documentation is all over the internet so no need to worry, you could just oversee in your Openstack for credentials needed. And for my question, I use the function get_volume from Connection class. Please see the documentation
for this. You can read other documentation as well on the internet.
So, here is the example of how to get volumes details:
vol = conn.get_volume(volume_id)
print(vol)

How get device location using action builder

i'm writing to you to ask a little support about an action that we are currently developing using Action Builder and webhook library #assistant/conversation for Nodejs.
In particular, we would invoke our webhook's logic using the device location.
We have understand that we must ask the user permission to access on device location using something like this:
https://developers.google.com/assistant/actionssdk/reference/rest/Shared.Types/PermissionValueSpec
but in all Github examples provided by Google nothing is specified.
Furthermore, we tried to integrate the PermissionValueSpec in a slot using the notification actions.type.Notifications, but the returned value of that slot is
PermissionLocation --> ALREADY_GRANTED without any other information about the device coordinates.
We've read a lot of documentation and also looked for some example to support our develop but nothing was found.
How we can get the current device location?
Thank you in advance!

topbeat to monitor specific java process

I am newbie to the beats. I am using topbeat to monitor the system health.
Up to this point everything is fine.
Now I need to monitor the resource utilization of a java process, so I configured topbeat.yml as: procs: ["java"]
In my linux box there are 4 java processes are running but I am interested in only one java process. So,
Is there any way to monitor specific java process using regex?
Is there any way to differentiate the processes by name [not with pid]?
If you wish to view certain processes then you can use sample topbeat dashboards and in that dashboard there is one search which is for proc stats. From there select proc.name from the available fields and further filter it to select your relevant proc.name
Suggestion from elastic forum: https://discuss.elastic.co/t/topbeat-monitor-specific-java-process/65594/2 Try MetricBeat and see if it helps.

nodemcu Lua sqr function

-I want to buy nodemcu board and apply the Pythagora's Theorem but I dont know if sqr function exists on nodemcu lua interpreter ?
I googled on web and I found few doc with sqr() but on official Faq math funtions are omitted:
-The debug and math libraries have also been omitted to reduce the runtime footprint.-
(https://nodemcu.readthedocs.io/en/dev/en/lua-developer-faq/.)
Does it exist?
Thanks so much
I dont know if sqr function exists on nodemcu lua interpreter ?
Not it is not available. You may want to subscribe to https://github.com/nodemcu/nodemcu-firmware/issues/1280.
If you're going to use the wifi capabilities, you could also use a RESTful service to let an external server do your SQRT() calculations and then use the result you receive . You can search for the "math" tag on Programmableweb, but i have linked you the wolfram Alpha API , which can do more than just math.
http://www.programmableweb.com/api/wolfram-alpha

Connecting MSP430 CC3000 to Xively

I am looking to connect my TI MSP430+CC3000 eval kit to Xively for evaluation. There is a Xively C library that I would like to use. However, i wondering if anyone else has already done it who could share with me? As I saw there is already Xively feed with MSP430+CC3000 on-line.
Thanks!
The TI wiki has had a "CosmCloudApp" page for some time, but recently it's been deleted. The link here is to a previous revison of that page. Since there are quite a few public feeds when you search for "CC3000" it may be the case that TI have shipped this example at one point, but I was unable to find the source code or binary on TI website and according to the TI E2E forum it's nowhere to be found for quite a while.
After having a quick look at the SimpleLink API Reference Manual (download zip), I can see that it provides BSD-style socket API. Therefore it should be relatively easy to port Xively C library to CC3000 API using provided POSIX communiction layer.

Resources