nmea_plus 1.0.16 → 1.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/nmea_plus/message/ais/vdm.rb +1 -0
- data/lib/nmea_plus/message/ais/vdm_payload/vdm_msg10.rb +15 -0
- data/lib/nmea_plus/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e70e97e74e7f165b5009a4ecf770c7ed98a0dd9
|
4
|
+
data.tar.gz: 7661c27f641556f2bf18766f8fd2d21fbccb52ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94d5d256d78f0658e47d7337e6764877054030b809902373cb05cc65e35206c8571b259e9a191597fd2b796beae651fa3cc4662dd8322892c75cc9ca2e6bd1f6
|
7
|
+
data.tar.gz: cea08c301a05ade507d5bb8fe102255cb2cf174da7cca23e6bebb1548cfd6bdb3b2dfb7379e6f27b81a46422c09b67f7f55a3b1ce66f151618f81ed5df1f5881
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/nmea_plus.svg)](https://rubygems.org/gems/nmea_plus)
|
4
4
|
[![Build Status](https://travis-ci.org/ifreecarve/nmea_plus.svg)](https://travis-ci.org/ifreecarve/nmea_plus)
|
5
|
-
[![Documentation](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://www.rubydoc.info/gems/nmea_plus/1.0.
|
5
|
+
[![Documentation](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://www.rubydoc.info/gems/nmea_plus/1.0.17)
|
6
6
|
|
7
7
|
[NMEA Plus](https://github.com/ifreecarve/nmea_plus) is a Ruby gem for parsing and decoding "GPS" messages: NMEA, AIS, and any other similar formats of short messaging typically used by marine equipment. It provides convenient access (by name) to the fields of each message type, and a stream reader designed for use with Ruby Blocks.
|
8
8
|
|
@@ -106,7 +106,7 @@ https://www.itu.int/dms_pubrec/itu-r/rec/m/R-REC-M.1371-4-201004-S!!PDF-E.pdf
|
|
106
106
|
|
107
107
|
The AIS payload can be found in the payload field of a `VDM` message (aka `!AIVDM`, `!ABVDM`, `!SAVDM`). Currently, the following AIS message types are supported:
|
108
108
|
|
109
|
-
> 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 24, 27
|
109
|
+
> 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 24, 27
|
110
110
|
|
111
111
|
> Type 6 subtypes for DAC/FID: 1/0, 1/2, 1/3, 1/4, 1/5, 235/10, 1022/61
|
112
112
|
|
@@ -26,6 +26,7 @@ require_relative "vdm_payload/vdm_msg6"
|
|
26
26
|
require_relative "vdm_payload/vdm_msg7"
|
27
27
|
require_relative "vdm_payload/vdm_msg8"
|
28
28
|
require_relative "vdm_payload/vdm_msg9"
|
29
|
+
require_relative "vdm_payload/vdm_msg10"
|
29
30
|
require_relative "vdm_payload/vdm_msg11"
|
30
31
|
require_relative "vdm_payload/vdm_msg12"
|
31
32
|
require_relative "vdm_payload/vdm_msg13"
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require_relative 'vdm_msg'
|
2
|
+
|
3
|
+
module NMEAPlus
|
4
|
+
module Message
|
5
|
+
module AIS
|
6
|
+
module VDMPayload
|
7
|
+
# AIS Type 10: UTC/Date Inquiry
|
8
|
+
class VDMMsg10 < NMEAPlus::Message::AIS::VDMPayload::VDMMsg
|
9
|
+
|
10
|
+
payload_reader :destination_mmsi, 40, 30, :_u
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
data/lib/nmea_plus/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nmea_plus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ian Katz
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: racc
|
@@ -200,6 +200,7 @@ files:
|
|
200
200
|
- lib/nmea_plus/message/ais/vdm_payload/sub_area.rb
|
201
201
|
- lib/nmea_plus/message/ais/vdm_payload/vdm_msg.rb
|
202
202
|
- lib/nmea_plus/message/ais/vdm_payload/vdm_msg1.rb
|
203
|
+
- lib/nmea_plus/message/ais/vdm_payload/vdm_msg10.rb
|
203
204
|
- lib/nmea_plus/message/ais/vdm_payload/vdm_msg11.rb
|
204
205
|
- lib/nmea_plus/message/ais/vdm_payload/vdm_msg12.rb
|
205
206
|
- lib/nmea_plus/message/ais/vdm_payload/vdm_msg13.rb
|