Skip to content

Simple Pub/Sub not transferring data #4

@OracleE3

Description

@OracleE3

I'm trying to run the SimplePublish and SimpleSubscribe samples from the main branch. They connect to each other, but don't seem to be transferring any measurement data. Is this expected? I thought they would transfer measurement data as part of the demonstration. I've tried debugging the two examples and I've confirmed that measurement data is never transferred. Here is the output I get:

./SimplePublish 7165                              

Listening on port: 7165...

Loaded 14 measurement metadata records for publication.

>> New Client Connected:
   Subscriber ID: ff8eba1a-bb53-4f38-9792-9ed0a369e882
   Connection ID: 127.0.0.1 (127.0.0.1:40586)

STTP v2 client connection accepted: requested operational modes applied.

Successfully decoded 272 character connection string from 272 bytes...

Reported STTP v2 client subscription info: STTP C++ Library version 1.1.2 updated on 2023-03-24

Client subscribed using TSSC compression over TCP with 0 signals.

Received confirmation of signal index cache update for subscriber "127.0.0.1 (127.0.0.1:40586)". Transitioning to cache index 0 with 0 records...
./SimpleSubscribe localhost 7165                  

Connecting to localhost:7165...

Define operational modes result status: Accepted -- Connection Validated
Connected! Subscribing to data...

Received success code in response to server command DefineOperationalModes: STTP v2 client connection accepted: requested operational modes applied.

Received success code in response to server command Subscribe: Client subscribed using TSSC compression over TCP with 0 signals.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions