I guess the Arduino Nano when connected to a PC shows up as a Virtual COM Port on the PC this is probably USB CDC isn't it.
My question is if I send a packet of size 30 bytes from a PC app over this virtual COM Port am I guaranteed to receive those 30bytes as a single chunk on the ARduino ... or is it a possibility that the underlying PC layer might split that up and send it in smaller chunks...
If I do receive it as a single packet will it also work for a bigger packet of say 100bytes.
What about the other way around? I mean if I right 30 bytes from the Arduino and want to receive it on the PC side.
I am asking this because then based on the answers the software running on the PC or the ARduino may have to assemble chunks to form a bigger packet or if I am going to receive a packet as a single chunk then I do not need to do this extra bit of code..