Problems with transmit request API

Im using a USB to RS232 cable and it maps to ttyUSB0. must admit i didnt try com1.

Im planning on seeing my tutor today so hopefully between us we can figure out whats causing it.

Thanks for all your help.

just sent the same packet using XCTU and it works and i get an ack!!!

is getBytes or toString to blame for the transmission ?

Done it!!! YAY!

turns out getBytes wasn’t working as i suspected it should. instead I’m sending data char by char:

for (int i = 0; i