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.

关于simpleProfile中,属性表SimpleProfileAttrTbl的问题



截取simpleProfileAttrTbl[]数组的一部分,Characteristic 4,这里的handle值为0

{ 
      { ATT_BT_UUID_SIZE, characterUUID },//0x2803
      GATT_PERMIT_READ, //只可读
      0,//handle
      &simpleProfileChar4Props //可notify
    },


      // Characteristic Value 4
      { 
        { ATT_BT_UUID_SIZE, simpleProfilechar4UUID },//FFF4
        0
        0, 
        &simpleProfileChar4 //4
      },


      // Characteristic 4 configuration
      { 
        { ATT_BT_UUID_SIZE, clientCharCfgUUID },
        GATT_PERMIT_READ | GATT_PERMIT_WRITE, 
        0, 
        (uint8 *)simpleProfileChar4Confi
      },
      
      // Characteristic 4 User Description
      { 
        { ATT_BT_UUID_SIZE, charUserDescUUID },
        GATT_PERMIT_READ, 
        0, 
        simpleProfileChar4UserDesp //字符串“Characteristic 4”
      },

对应的应该是TI_BLE_Software_Developer's_Guide的一下这幅图,这里的handle值为0x002E

这两者之间为什么不一致?

当使用GATT_notification的时候需要获取attHandleValueNoti_t.handle,这个handle应该如何获取?