Here it is
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <termios.h>
#include <stdio.h>
#include <stdlib.h>
...
Type: Posts; User: eminempark
Here it is
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <termios.h>
#include <stdio.h>
#include <stdlib.h>
...
Hi Salem,
I'm using serial port.
Thank you
Currently I'm doing a project which send data:
7E 45 00 FF FF FF FF 0A 00 0B 00 65 00 00 00 01 00 00 04 D2 F0 87 7E
It is hexadecimal number and the 16th byte always increases. For example: 01 ->...
I have a send.c.
I send: "7E 40 09 00 BE EF 05 7D 5D 06 01 02 03 04 05 7E".
But at the read.c, I want "Proto = 40" as the output.
Currently in my program, the output is:
"Proto 40 09 00 BE EF 05...