Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting mmsi constantly via subscription with time period #1775

Open
sbender9 opened this issue Aug 15, 2024 · 4 comments
Open

getting mmsi constantly via subscription with time period #1775

sbender9 opened this issue Aug 15, 2024 · 4 comments

Comments

@sbender9
Copy link
Member

Over ws, when I use the subscription:

{ "context": "self", "subscribe": [{ "path": "*", "period":10000}] }

I get deltas with mmsi about every second. Mmsi is getting updated via AIS/N2K.

@tkurki
Copy link
Member

tkurki commented Aug 16, 2024

Can't replicate with either of the sample files.

@sbender9
Copy link
Member Author

And you would probably have to make "self" the same.

@tkurki
Copy link
Member

tkurki commented Aug 18, 2024

With config like so

      "pipeElements": [
        {
          "type": "providers/simple",
          "options": {
            "logging": false,
            "type": "FileStream",
            "subOptions": {
              "dataType": "Multiplexed",
              "filename": "/Users/tkurki/Downloads/signalk-rawdata.log.to.langford",
              "overrideTimestamp": true
            }
          }
        }
      ],

, whatever was in the settings file as self and using npm wscat2 module global install wscat 'ws://localhost:3000/signalk/v1/stream?subscribe=none' then sending the subscription above I just get a burst of deltas every ~10 seconds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants