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.

simpleBLEPeripheral的char5,想改成可读写的,始终都是只读

      // Characteristic Value 5
      { 
        { ATT_BT_UUID_SIZE, simpleProfilechar5UUID },
        GATT_PERMIT_AUTHEN_READ | GATT_PERMIT_AUTHEN_WRITE, 
        0, 
        simpleProfileChar5 
      },

修改文件文件simpleGATTprofile.c,

其中GATT_PERMIT_AUTHEN_READ改成了GATT_PERMIT_AUTHEN_READ | GATT_PERMIT_AUTHEN_WRITE,但是手机端的调试工具始终显示是只读,而不是可读写,完全重新编译,然后烧录了也一样.

难道除了改这里,还要改其他地方?

x 出现错误。请重试或与管理员联系。