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.

读到的数据怎样知道是ATT table中哪个handle的数据?



我分别用GATT_ReadCharValue()读取ATT table中几个handle的数据,再通过ATT_READ_RSP得到数据如何区分是哪个handle的数据呢?

例如:

       先设置 req,handle = 3; GATT_ReadCharValue();// 读取DeviceName

       后又设置req,handle = 37; GATT_ReadCharValue();// 读取Character1

       然后都通过ATT_READ_RSP得到读取的数据,但我不知道得到的数据是handle 3的数据还是handle 37的数据?

望指教,

tks