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.

CC2540 SimpleBLEPeripheral工程中的simpleProfilechar5UUID写的时候,出现XdataStack' is filled to 100%的警告



char5原来是只读的

我把他改成了static uint8 simpleProfileChar5Props = GATT_PROP_READ | GATT_PROP_WRITE;  ////可读可写

同时

      // Characteristic Value 5
      {
        { ATT_BT_UUID_SIZE, simpleProfilechar5UUID },
        GATT_PERMIT_AUTHEN_READ | GATT_PERMIT_AUTHEN_WRITE,     /////认证后可读可写
        0,
        simpleProfileChar5
      },

然后我在simpleProfile_WriteAttrCB函数里面打了一个断点,每当我写char5的时候,断点停下的时候会有如下的打印

The stack 'XdataStack' is filled to 100% (640 bytes used out of 640). The warning threshold is set to 90.%

这是怎么回事啊,但如果不管它,貌似char5写进去的值也生效了

但如果我把GATT_PERMIT_AUTHEN_READ | GATT_PERMIT_AUTHEN_WRITE 改成GATT_PERMIT_READ | GATT_PERMIT_WRITE就没这个问题了

好奇怪