[package] add btrfs-progs, patch from Benjamin Cama
[openwrt/svn-archive/archive.git] / net / gpsd / patches / 101-trimble.patch
1 --- a/drivers.c
2 +++ b/drivers.c
3 @@ -202,9 +202,13 @@
4 /* probe for the FV-18 -- expect $PFEC,GPint followed by data */
5 (void)nmea_send(session->gpsdata.gps_fd, "$PFEC,GPint");
6 break;
7 + case 3:
8 + /* probe for the Trimble Copernicus */
9 + (void)nmea_send(session->gpsdata.gps_fd, "$PTNLSNM,0139,01");
10 + break;
11 #endif /* NMEA_ENABLE */
12 #ifdef EVERMORE_ENABLE
13 - case 3:
14 + case 4:
15 /* Enable checksum and GGA(1s), GLL(0s), GSA(1s), GSV(1s), RMC(1s), VTG(0s), PEMT101(1s) */
16 /* EverMore will reply with: \x10\x02\x04\x38\x8E\xC6\x10\x03 */
17 (void)gpsd_write(session,
18 @@ -212,19 +216,19 @@
19 break;
20 #endif /* EVERMORE_ENABLE */
21 #ifdef ITRAX_ENABLE
22 - case 4:
23 + case 5:
24 /* probe for iTrax, looking for "$PFST,OK" */
25 (void)nmea_send(session->gpsdata.gps_fd, "$PFST");
26 break;
27 #endif /* ITRAX_ENABLE */
28 #ifdef GPSCLOCK_ENABLE
29 - case 5:
30 + case 6:
31 /* probe for Furuno Electric GH-79L4-N (GPSClock) */
32 (void)nmea_send(session->gpsdata.gps_fd, "$PFEC,GPsrq");
33 break;
34 #endif /* GPSCLOCK_ENABLE */
35 #ifdef ASHTECH_ENABLE
36 - case 6:
37 + case 7:
38 /* probe for Ashtech -- expect $PASHR */
39 (void)nmea_send(session->gpsdata.gps_fd, "$PASHQ,RID");
40 break;