136a137,138 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 186a189,190 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 262a267,268 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 326a333,334 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 384a393,394 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 452a463,464 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 494a507,508 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 540a555,556 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 587a604,605 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 633a652,653 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 683a704,705 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 748a771,772 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 802a827,828 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 852a879,880 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 898a927,928 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 975a1006,1007 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 1007a1040,1041 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 1063a1098,1099 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 1110a1147,1148 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 1157a1196,1197 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 1213a1254,1255 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 1265a1308,1309 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 1323a1368,1369 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 1378a1425,1426 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 1434a1483,1484 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 1464a1515,1516 > // shephpj - disable setting date - use GPS > return true; 1482a1535,1536 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 1512a1567,1568 > // shephpj - disable setting time - use GPS > return true; 1530a1587,1588 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 1560a1619,1620 > // shephpj - disable setting DST - use GPS > return true; 1581a1642,1643 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 1611a1674,1675 > // shephpj - disable utc offset - use GPS > return true; 1637a1702,1703 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 1698a1765,1766 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 1756a1825,1826 > // shephpj - flush data received but not read > tcflush(fd, TCIFLUSH); 1778c1848,1849 < char utc_str[4], yy_str[2], mm_str[2], dd_str[2], hh_str[2], minute_str[2], ss_str[2]; --- > // added dst_str[1] - for returned DST flag > char utc_str[4], dst_str[1], yy_str[2], mm_str[2], dd_str[2], hh_str[2], minute_str[2], ss_str[2]; 1781,1786c1852,1860 < strncpy(yy_str, response+4, 2); < strncpy(mm_str, response+6, 2); < strncpy(dd_str, response+8, 2); < strncpy(hh_str, response+10, 2); < strncpy(minute_str, response+12, 2); < strncpy(ss_str, response+14, 2); --- > // shephpj - DST flag here - 0=No DST, 1=DST > strncpy(dst_str, response+4, 1); > // shephpj - shift rest along by 1 character > strncpy(yy_str, response+5, 2); > strncpy(mm_str, response+7, 2); > strncpy(dd_str, response+9, 2); > strncpy(hh_str, response+11, 2); > strncpy(minute_str, response+13, 2); > strncpy(ss_str, response+15, 2);