TI sensortag CC2650 kura example issue [message #1756229] |
Tue, 14 March 2017 06:17  |
Eclipse User |
|
|
|
Hi. I have problem, and I think that problem is with Kura example.
I am using Raspberry Pi 3 with TI sensortag CC2650. (connected via bluetooth).
When I enable all sensors , and I want to read values from them, I got only Temperature and accelerometer values. Looks like that sensortag resets after that and then starts from beggining.
I used BlueZ tool also, and I can read values from any sensor.
I can read with Kura also, but I cann't read them all together. I tried with mobile app to read from sensortag, and it reads good.
I am using Kura 2.1.
Does anybody have idea what could go wrong? ( Collegue of mine is getting all values good, with same hardware and software setup. I tried his deployment package, but I had same result.)
Could it be something with Raspberry Pi bluetooth module?
I am using org.eclipse.kura.example.ble.tisensortag example.
I am sending you few printscreens also, from kura panel and terminal log, in the attachment.

|
|
|
|
|
|
|
|
|
|
|
Re: TI sensortag CC2650 kura example issue [message #1758668 is a reply to message #1758664] |
Fri, 31 March 2017 09:29  |
Eclipse User |
|
|
|
I'll give you an example.
The pressure sensor GATT service has UUID f000aa40-0451-4000-b000-000000000000, while the UUID for the sampling period of the sensor is f000aa44-0451-4000-b000-000000000000.
The handle corresponding to this UUID is 0x0039 according to your screenshot: "handle: 0x0038, char properties: 0x0a, char value handle: 0x039, uuid: f000aa44-0451-4000-b000-000000000000"
But in TiSensorTagGatt.java the same handle is set to 0x0036. So, I suspect that in the new firmware the handles were changed.
To understand the relationship between the UUID and the handles, find the UUIDs in TiSensorTagGatt.java (i.e. UUID_PRE_SENSOR_VALUE = f000aa41-0451-4000-b000-000000000000 is the one for the pressure value) and check in the output of the characteristics which "char value handle" is reported to the corresponding UUID.
I hope this can help you.
|
|
|
Powered by
FUDForum. Page generated in 0.29667 seconds