Hi everyone,
I am new to the Bluetooth word and I am trying to develop a BLE application using the TI BLE stack and the CC1350.
Starting from the dual image concept example, I am using the sub1packet custom service to send some data, and now I added a new service with 2 characteristics. Everything it's working quite good.
Now, my characteristic has several value fields, under a unique UUID (I am trying to follow the GATT specification by Bluetooth site).
How can I define more values for a single characteristic?
This is my actual service declaration:
static gattAttribute_t sub1packetServiceAttrTbl[] = { // sub1packetService Service Declaration { { ATT_BT_UUID_SIZE, primaryServiceUUID }, GATT_PERMIT_READ, 0, (uint8_t *)&sub1packetServiceDecl }, // Sub1packet Characteristic Declaration { { ATT_BT_UUID_SIZE, characterUUID }, GATT_PERMIT_READ, 0, &sub1packetService_Sub1packetProps }, // Sub1packet Characteristic Value { { ATT_BT_UUID_SIZE, sub1packetService_Sub1packetUUID }, GATT_PERMIT_READ,// | GATT_PERMIT_WRITE, 0, sub1packet }, // Sub1packet User Description { { ATT_BT_UUID_SIZE, charUserDescUUID }, GATT_PERMIT_READ, 0, sub1packetService_UserDesc }, };