CC2541 从机 UUID 最大字节数
芯片:CC2541F256
模式:从机+监听
具体问题:
从机模式下,一个UUID的数据数组,实际最多能有多少个字节?(如下代码中的SMARTLIGHT_NETDATA_LEN)
/* Smart Light Network Data Properties */
static uint8 SmartLightNetdataProps = GATT_PROP_READ;
/* Smart Light Network Data */
static uint8 smartlightnetdata[SMARTLIGHT_NETDATA_LEN] = { 0 };
/* Smart Light Network Data User Description */
static uint8 SmartLightNetdataUserDesp[] = "network data";
我实际测得的是只读的话,最多22个字节,想在论坛里确认一下!谢谢
dongle niu,
从CC2541 software developer's guide来看的话,“CC254x and the 1.4.1 stack only support an effective MTU size of 23, set by L2CAP_MTU_SIZE in l2cap.h. This define cannot be modified without breaking the stack.”
最多我试过20 Bytes.,再多就没有试过了。对应串口透传方案里也是20Bytes.
http://processors.wiki.ti.com/index.php/SerialBLEbridge_V_1.4.1