Hi Gerardo,
Thanks for your response.
I am testing reliable write functionality of ble server role using test tool which generate the prepare write request but getting error response as shown below.
************************ Prepare write request ***********************************
Send Event: ATT!ATT_PREPARE_WRITE_REQ{
lcid=0x0040,
attributeHandle=0x003A,
valueOffset=0x0000,
length=0x000D,
{
partAttributeValue=0x616E69684320676E696A696542
}
}
*********************** Prepare write response ****************************************
Receive Event: ATT?ATT_PREPARE_WRITE_CFM{
lcid=0x0040,
attributeHandle=0x0000,
valueOffset=0x0000,
length=0x0000,
result=0x0006
}
ATT Prepare Write returned an error.
*******************************************************************************************
As you said above This response from ble stack internally and we need not to do anything in application firmware.
Could you please describe that how i can avoid this error or successful write operation on it?
Below is the setting for above characteristic, which gives error.
Characteristic properties : gGattCharPropRead_c | gGattCharPropExtendedProperties_c | gGattCharPropWrite_c
Characteristic size is 128 bytes
Descriptor for gBleSig_CharExtndPrprtsDescriptor_d and reliable write is enabled.
Could you please provide details for how server will get the long characteristic write event in application? or it would be better if is there any working example is available for it ?
Please let me know if you want more information on it.
Thanks...
Ashish