I am wondering how can i (honestly what format) i can send value to serial port.
Let's say i have following key-value pairs
['id'] => 10
['name'] => 200
['lSend'] => 0 // means Off
['pSend'] =>1 // means On
['lStartHour'] =>12
['lStartMins'] =>23
['lStopHour'] =>12
['lStopMins'] => 35 ......
I know i have to convert those values to byte but if i merge all those values and i will have very long 1 and 0eos
how come PIC card will understand which value for which key?
Also, i have read portion of this code which means
Java program will receive 1 and 0eos how can i know which data which key's because i have to write those values into DB.
Regards