+
+ printf("\n\n");
+ printf("the above error might be due to the jump!\n");
+ printf("\n\n");
+
+ printf("sleeping for 5 seconds ...\n\n");
+ sleep(5);
+
+ printf("continue listening on the serial port. ctrl+c to quit!\n\n");
+
+ /* testing */
+
+ ret=1;
+ while(ret) {
+ ret=read(lpc.sfd,buf,BUFSIZE);
+ printf("\rread %d bytes: ",ret);
+ for(i=0;i<ret;i++)
+ printf("%02x ",buf[i]);
+ }