diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-06-14 11:44:18 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-06-14 11:44:18 -0400 |
commit | 2b5e4c8468af993a1baae5afca651b611e9f4b19 (patch) | |
tree | d1a262178c5d97dbe423752f1617b4eb7fcc9cf0 /gpspacket.c | |
parent | b00faa08f92280c4c859951ea45d5c3c72ed9b1f (diff) | |
download | gpsd-2b5e4c8468af993a1baae5afca651b611e9f4b19.tar.gz |
Add some missing packet types to the JSON interface.
Diffstat (limited to 'gpspacket.c')
-rw-r--r-- | gpspacket.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gpspacket.c b/gpspacket.c index 43878bc4..39c620b1 100644 --- a/gpspacket.c +++ b/gpspacket.c @@ -258,6 +258,8 @@ initpacket(void) PyModule_AddIntConstant(m, "BAD_PACKET", BAD_PACKET); PyModule_AddIntConstant(m, "COMMENT_PACKET", COMMENT_PACKET); PyModule_AddIntConstant(m, "NMEA_PACKET", NMEA_PACKET); + PyModule_AddIntConstant(m, "AIVDM_PACKET", AIVDM_PACKET); + PyModule_AddIntConstant(m, "GARMINTXT_PACKET", GARMINTXT_PACKET); PyModule_AddIntConstant(m, "SIRF_PACKET", SIRF_PACKET); PyModule_AddIntConstant(m, "ZODIAC_PACKET", ZODIAC_PACKET); PyModule_AddIntConstant(m, "TSIP_PACKET", TSIP_PACKET); @@ -265,10 +267,12 @@ initpacket(void) PyModule_AddIntConstant(m, "ITALK_PACKET", ITALK_PACKET); PyModule_AddIntConstant(m, "GARMIN_PACKET", GARMIN_PACKET); PyModule_AddIntConstant(m, "NAVCOM_PACKET", NAVCOM_PACKET); + PyModule_AddIntConstant(m, "UBX_PACKET", UBX_PACKET); + PyModule_AddIntConstant(m, "SUPERSTAR_PACKET", SUPERSTAR_PACKET); + PyModule_AddIntConstant(m, "ONCORE_PACKET", ONCORE_PACKET); + PyModule_AddIntConstant(m, "GEOSTAR_PACKET", GEOSTAR_PACKET); PyModule_AddIntConstant(m, "RTCM2_PACKET", RTCM2_PACKET); PyModule_AddIntConstant(m, "RTCM3_PACKET", RTCM3_PACKET); - PyModule_AddIntConstant(m, "UBX_PACKET", UBX_PACKET); - PyModule_AddIntConstant(m, "GARMINTXT_PACKET", GARMINTXT_PACKET); PyModule_AddIntConstant(m, "LOG_IO", LOG_IO); } |