Recieving string variable

Hi,

I wanted to ask if there is a way to recieve a string variable using serial. I want to send it through bluetooth and i have no problem sending and recieving single characters.

Does anyone have any ideas ?

Hello future_martian,

Serial port is a character device, this means it is sending characters one by one. If you want to receive string, just store incoming characters in array until you have full string.

Regards,
Ɓukasz