The data stored in the float array are missing

MirkoZhou:
Thank you for your explanation.

So is it correct that I should increase the size of receivedChars[] array so that all the data are stored within the declared boundary?

Yes, or ensure that the array index never exceeds the present bounds.