BTstack on MSP430F5438A + CC2564 bluetooth module - msp430

First, is there any good documentation for the btstack API's. I am trying to learn how to fully use btstack , send and receive data, look for devices within range and initiate connection.I am implementing this for MSP-430F5438A + CC2564 Bluetooth module.
http://code.google.com/p/btstack/wiki/MSP430GettingStarted
This website has some examples, but I am still confused, I need someone to break it down for me.Is there a template that I can start of. Anything would be helpful. If there is a step by step reference on how to connect to a device and exchange packets, it would be really great. Thanks is advance

In the regular "GettingStarted" page is a little explanation on what goes on in the packet handler, which is the main part of where you basically put all of your new code.

Related

How to choose right design solution for application?

Currently i am creating a design for a new enterprise application. Right now we have a lot of different proprietary solution and we wanna create a new one to switch from them all.
Briefly it is a kind of data destribution system. We have a lot of clients who needs a lot of different data.
What do i want:
1) Common REST API service
2) Some synchronoyu(async?) enviroment to send task and get data back. On image below you could see i think to use spring kafka request/reply template. It helps to scale my application in future.
3) Different typec of calculators for every kind of data
I search a lot how to do the second point the best way but didn't find any ready solutions or advices. Is it good to use kafka here? Maybe some one could give me advice about best practice in such situations.
Plz, send me links for articles or something else, because it will be a big application and i wanna start to create it rightly from the beginning.

How to implement own dissector to dissect payload of AMQP?

right now I am struggling with implementing a functionality to dissect my own protocol within the payload of AMQP.
There is no problem dissecting it if it's only send via TCP.. But if AMQP is on top of it, there seems to be some problems.
Right now I have only those links which aren't very much helpful :(
Wireshark: display filters vs nested dissectors
In the moment my code is very much like in the example link, but I don't know how to reference my own dissector.
I can provide code - but it looks very much as the example but without the JSON part.
I appreciate every help! Thank you!

Control PTZ of an IP Camera

I am building a project using the IP Camera Intelbras 5220 SD IR Datasheet.
In this project, I am using a website through which I can access the camera, but also need to control the movement of this camera, i.e. I need to control its PTZ. I have no idea how to start, but I would like to control the camera using HTTP because I think it is easier. I searched for some keywords like Onvif and SOAP, but I found nothing that could really help me.
Does anyone have any idea what can I do?
I found the answer by myself and it is not too difficult. All I need to do is search more about Onvif. As my python is 3 this link was very helpful:
If my python is 2 I would use this one.
There are some examples there that help me a lot. For more details about Onvif I also used this one.
Now my camera is working very well.

How to used NetworkBehavior in Unity3D

Check the Picture- Image Here
I made a c# script then change the MonoBehavior to NetworkBehavior
then pud the script in the Main Camera.
I have problem using NetworkBehavior I dont know how to execute it, I want to try the SyncVar and other attributes that can help about server-client data networking.
thanks.
It is difficult to tell what is going on from you picture, and it would be helpful if you could tell us exactly what you are looking for, but as far as SyncVar working, it is important to note that it only works from the server side. That is, you can't sync an attribute from a remote player to the server, but the server can sync a player's attribute to everyone else. another thing to note about sync var is that it only works on basic types and unity math types (quaternion, vector3, etc.) if I recall correctly. If you need more help please try to be more specific.

How to analyze the network traffic with Javafx

I'm trying to intercept the http calls which are generated during page loading. In other words, I would to realize a network traffic analyzer like the Firefox Firebug Net Panel.
Is it possible in Javafx?
Thanks.
Call URL.setURLStreamHandlerFactory
Read A new era for Java Protocol Handlers to understand the background for this.
Answer assumes you are using the standard WebView implementation or the java.net.URL class for networking and not some custom method.
A code sample for this would take me some time. The recommended approach is to follow the instructions provided in my answer. I'll put together a code sample in a few days if I have time and the question asker or nobody else has provided a sample.

Resources