When I display my device name using StringReceived block several times, the buffer looks like keeping end of previous string in memory.
My device is called "Hello".
I change it to "AB" with null terminate string.
I read the new name.
The new name is "AB lo"
I analyzed the BLE read response with an analyser, and the device name is AB so I think the ReceiveStringbuffer should be reset.
I tried loads of things but nothing worked.