What do you want to do with the records once read? There are probably other device-specific commands to erase records (e.g.). Shouldn’t be hard to write a state machine to read the records out of the device using. The content of each STX frame are probably: FN - frame number The end of text and and end of transmission character signal the end of the messages from the device. The Arduino would send an character (0x05) to the meter which would respond with a character (0x01) followed by as many characters in the header are required, terminated by a character (0x0A).Ī start of text (STX) character (0x02) is followed by as many records as are stored in the device’s memory, each separated by a character. Sifting through the log it looks like the meat of the interface is 9600,N,8,1 and: TX: Set timeouts: ReadInterval=-1, ReadTotalTimeoutMultiplier=-1, ReadTotalTimeoutConstant=2000, WriteTotalTimeoutMultiplier=0, WriteTotalTimeoutConstant=0 Set timeouts: ReadInterval=-1, ReadTotalTimeoutMultiplier=-1, ReadTotalTimeoutConstant=-2, WriteTotalTimeoutMultiplier=0, WriteTotalTimeoutConstant=0 Handflow: ControlHandShake=(), FlowReplace=(), XonLimit=1024, XoffLimit=1024 SERIAL PROTOCOL STX ETX HOW TOBut i dont know how to do it? i tried some serial sniffing software to sniff the communication between the software and the device… i got lots of information… Now can any one please help me to programe my arduino to grab data from the device? I was trying to get data from a blood glucose meter to my pc… But this glucose meter has its own software which communicates with the device and grab data from… But now i want to grab data from my glucose meter with my arduino mega.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |