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.

请教特征值字节数问题



各位TI技术支持及坛友:

我在一个服务中定义一组特征值如下:

static uint8 UartDataValue[19];//当改成长度为20时就发生读写错误

//UART Declaration
{
{ ATT_BT_UUID_SIZE, characterUUID },
GATT_PERMIT_READ,
0,
&UartDataProps
},
//UART Value
{
{ ATT_BT_UUID_SIZE, Uart_Data_UUID },
GATT_PERMIT_READ | GATT_PERMIT_WRITE,
0,
UartDataValue
},
//UART Description
{
{ ATT_BT_UUID_SIZE, charUserDescUUID },
GATT_PERMIT_READ,
0,
UartDataDesp
}

问题1:服务中的特征值是否有字节长度限制?最大多少字节?

问题2:服务中的许多UUID如0x2800、0x2803这些都是系统的UUID,请问我该在哪里可以找到这些知识点(较详细)的说明?毕竟用户要定义的特征值UUID总不能随便来吧。。。

谢谢!