Dialog Semiconductor customer support - Write long characteristic https://support.dialog-semiconductor.com/resource-keywords/write-long-characteristic en Writes to long characteristic value https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/writes-long-characteristic-value

Reading the "Training_02_custom_profile_example_v1.1" it states that the long characteristic in user_custs1_def.h "Demonstrate writes to long characteristic value". It is defined as being 50 bytes long. But I do not see code handling the writes to this characteristic.
Form
https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bl...
It seems that the stack should be able to handle characteristic of up to 512 bytes in size.
I can of cause R/W 20 bytes but not more. I am using the user_catch_rest_hndl() function of the example and catching SVC1_IDX_CONTROL_POINT_VAL. In the example this calls an empty function. The signal contains only the first 20 bytes.
To test I have ben using Bluegiga GUI tool to send the data 50bytes, that seems happy writing 50 bytes but not 51 bytes which is OK as the size is 50. Reading using read or read long yields only 20 bytes.
Where do you hide the code "demonstrating writes to long characteristic value"?

Best Regards

Device: 
星期一,2018年12月03 13:55:31 + 0000 jarirenejensen 260086 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/writes-long-characteristic-value#comments