No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
[code=c] char SerialGetc(HANDLE *hCom) { char rxchar; BOOL bReadRC; static DWORD iBytesRead; bReadRC = ReadFile(*hCom, &rxchar, 1, &iBytesRead, NULL); if (iBytesRead) return rxchar; else return 0; // return 0 if no character read }[/code] this is my code to receive data iam having doubt that in what format it can … |
|
iam having doubt on receiving data in serial port .from chipcon board iam receiving link quality packet to pc through serial port. i want to look the link quality value which i received from serial port in decimal (integer) value .i dont know how to see the received and sending … |
|
i am receiving and sending data between pc-chipcon board through serial port .the incomming data is link quality packet.i want to check the value of link quality and by observing the value i should send another signal to increase power in the chipcon board . iam having problem with the … |