主题中讨论的其他器件:CC2651R3SIPA
您好!
我正在将 simple_peripheral_LP_CC2651R3SIPA_tirtos7_ticlang 用作启动项目。 在我将特征值 Length 更改成> 22个字节之前、一切都正常。
原始代码(正常工作: IMPLEPROFILE_CHAR5_LEN = 5 , 即< 22)
// Length of Characteristic 5 in bytes
#define SIMPLEPROFILE_CHAR5_LEN 5
// Simple Profile Characteristic 5 Properties
static uint8 simpleProfileChar5Props = GATT_PROP_READ;
// Characteristic 5 Value
static uint8 simpleProfileChar5[SIMPLEPROFILE_CHAR5_LEN] = { 0, 0, 0, 0, 0 };
// Simple Profile Characteristic 5 User Description
static uint8 simpleProfileChar5UserDesp[17] = "Characteristic 5";
修改后的代码(崩溃: SIMPLEPROFILE_CHAR5_LEN = 23 , 即>22)
// Length of Characteristic 5 in bytes
#define SIMPLEPROFILE_CHAR5_LEN 23
// Simple Profile Characteristic 5 Properties
static uint8 simpleProfileChar5Props = GATT_PROP_READ;
// Characteristic 5 Value
static uint8 simpleProfileChar5[SIMPLEPROFILE_CHAR5_LEN] = { 0, 0, 0, 0, 0 };
// Simple Profile Characteristic 5 User Description
static uint8 simpleProfileChar5UserDesp[17] = "Characteristic 5";
是否有过在哪里定义该限制以及如何将其增加到至少64字节的想法?
提前感谢您!

