i am receiving poll via MScomm the poll will be a frame of hex data
like (0x01 0x10 0x01 0x20 0x02 0xF0 0x04 0x02 0x23 0x10 0x63 0x02 0x03 0xFA 0x33 0x04. when i receive the poll i want to put it back to this hex state, then calculate the checksum and extract certain bytes on position 11 and 12 and position 2-6 which are are addresses of where i should return my response to.
i don't know how i handle input from the MS onComm , should i set my Rthreshehold to 0,17 or 1
and how do i i pick particular bytes and make meaning with each byte i receive.
thanks in advance