This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2650: cc2650

Part Number: CC2650


in Android 

in CC2650 sensor tag

I can get all services with their UUID  but how to get their names corresponding to UUID

is there any list provided by ti for CC2650 sensor tag 

to call below method initially

@Override
public void onCharacteristicChanged(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic) {
super.onCharacteristicChanged(gatt, characteristic);

}
something to configure using UUID like AA01* for data
how to enable ?
there is a code like

BluetoothGattDescriptor descriptor = characteristic.getDescriptor(
        UUID.fromString(UUID));
descriptor.setValue(BluetoothGattDescriptor.ENABLE_NOTIFICATION_VALUE);
mBluetoothGatt.writeDescriptor(descriptor);

what will be UUID in above code ?
thank you...


  • Hi Prashant,

    All the SensorTag services are listed on this page: www.ti.com/.../tearDown.html

    Cheers,
    Fredrik
  • Fredic
    now i am able to find service name with its uuid from above link source code

    i got all available serviceid with thier uuid
    in cc2650 sensortag got 13 services and 39 characterstics and their UUID

    after getting services
    i have to configure each service to get data like temperature ,gyrometre......

    code to configure each service:

    //sending config UUId ,dataUUID and serviceUUID with gatt
    public void setCharacteristicNotification(BluetoothGatt gatt,UUID serviceUUID, UUID configUUID, UUID dataUUID) {
    BluetoothGattService temp_service = gatt.getService(serviceUUID);
    BluetoothGattCharacteristic characteristic = temp_service.getCharacteristic(configUUID);
    characteristic.setValue(new byte[] {0x01});
    gatt.writeCharacteristic(characteristic);
    boolean result = gatt.setCharacteristicNotification(temp_service.getCharacteristic(dataUUID),true);
    //getting result as true
    }
    after this all
    @override
    public void onCharacteristicChanged(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic)
    {
    }
    above function is not invoking to read of each service data
    thank you.