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.

I need detailed information about BLE api

Other Parts Discussed in Thread: CC2540

Hi,

For example,when i invoke GATT_WriteNoRsp() instead of GATT_WriteCharValue(),i must change attWriteReq_t.cmd to 1 instead of 0,or it return error!

I do not know why i should do this.I have taken a look at <Texas Instrucments CC2540 Bluetooth Low Energy API Guide>,there's nothing about this point,and i do not know what attWriteReq_t.cmd means.So i think whether i need a more detailed meterail.Or i should read <Texas Instrucments CC2540 Bluetooth Low Energy API Guide> more times?

  • Hello,

    I must admit that you are right that this is a bit hard to understand from the documentation. 

    If you read in the TI BLE Vendor Specific HCI Reference Guide you will see the following statement: "The ATT Write Command is used for this sub-procedure." Which refers to the  ATT_WriteReq command. In this command this is documented as:

    "The command field is set for the Write Command. The signature and command fields are set for the
    Signed Write Command."

  • What does "Signed Write Command" mean?Or i will know after i finish the <TI BLE Vendor Specific HCI Reference Guide>?