TI Sensortag CC2560 ([login to view URL])
A simple app to connect with Sensortag cc2560 that executes the following tasks:
1) The app connects automatically to the nearest sensor when it is opened.
a. If there is three active sensortag near the cellphone, the app will connect to the device with higher signal strength;
b. the app shows a QRcode representing the MAC address of the device that the app is connected (if the app is connected to one)
2) The app will show the x acceleration read from the sensor and present the value as a text.
3) The app will present two buttons (1 and 2).
a. If the user presses the button 1, the app will change the connection frequency with the sensor and update the acceleration data (item 2) at each 1 second.
b. If the user presses button 2, the app will change the connection frequency with the sensor and update the acceleration data (item 2) at every 100 milliseconds.
c. I need the code to change the communication frequency. So, it is not useful if you set the sample period to 100 ms and just change the update frequency of the acceleration data on the screen.
The app shall be created in Xamarin (c#). I will transport the code to another application.
So, the most important form me is the code to be easy to understand and transport to other application.
There is a screen draft in annex.