Connecting MSP430 CC3000 to Xively - msp430

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.

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)

Persona U are U 4500 Web API

I am new to biometrics. I bought a new Persona U are U 4500 Device and SDK from a vendor. The SDK has some samples (as expected). All of the samples run smoothly except the WebSample. it do not detects my device in addition it gives an error in the console.
Can anyone please help me how to fix this issue and guide me as why am i facing this problem? is it something related to my wss://localhost?
Update
By further diving into the program i found the specified url https://127.0.0.1:52181/get_connection in websdk.client.bundle.min.js when i opened the link it says
{
"code": -2147024894,
"message": "The system cannot find the file specified."
}
Am i missing some file?
I don't have it in front of me now, because I switched back to the U.are.U 2.2.3 SDK, which does not have this feature.
But it sounds like you possibly have not installed the Digital Persona Lite client component. This runs a separate WebSocket service on port 9001 (IIRC) through which the JavaScript client then communicates.
It is described here: https://hidglobal.github.io/digitalpersona-devices/tutorial.html
After installation, you will need to restart.
The call to https://127.0.0.1:52181/get_connection should then respond with details of the WebSocket service, to which the JavaScript client will connect.
NOTE: The WebSkd library requires DigitalPersona Agent running on a
client machine. This agent provides a secure communication channel
between a browser and a fingerprint or card device driver. The
DigitalPersona Agent is a part of a HID DigitalPersona Workstation. It
can be also installed with a DigitalPersona Lite Client. If you expect
your users do not use HID DigitalPersona Workstation, you may need to
provide your users with a link to the Lite Client download, which you
should show on a reader communication error:
A link is provided there to download the Lite client from here: https://www.crossmatch.com/AltusFiles/AltusLite/digitalPersonaClient.Setup64.exe
you just add a script call of the following code "crossorigin = '' ". "crossorigin=''". It will look like this:
<script src="scripts/websdk.client.bundle.min.js" crossorigin="*"></script>
<script src="scripts/fingerprint.sdk.min.js" crossorigin="*"></script>

Does bluenrg-1 supports the voice over control?

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)

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!

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

Resources