How can I send the azimuth data to Arduino via Bluetooth?

Hi, I'm very new to Mit inventor. I'm trying to get the azimuth data and then send it to esp32 via Bluetooth. The problem is that the azimuth data is being sent per character. How can I make it sends the data as a whole instead of per character? Or maybe it's the esp reading code that needs some change. Sorry for my bad English. Thank you

IMG-20240512-WA0005