openlcb / OpenLCB_Java

A git-managed copy of the SVN-based Java prototype implementation of OpenLCB. This implementation operates inside JMRI.
6 stars 9 forks source link

JMRI/PanelPro ignores MTI_PROTOCOL_SUPPORT_INQUIRY #167

Closed atanisoft closed 1 year ago

atanisoft commented 4 years ago

JMRI 4.19.8+Rbab3d0f33 appears to ignore MTI_PROTOCOL_SUPPORT_INQUIRY when sent as addressed message to the JMRI node:

[mDNS] Advertising _http._tcp:80.
[Uplink] Connected to hub, configuring GridConnect port.
Allocating new alias F7A for node 050101013fff
[Node: 5.01.01.01.3f.00] not in cache, requesting protocol support
[Node: 2.01.12.fe.4f.bb] not in cache, requesting protocol support
[PIP: 5.01.01.01.3f.00] DATAGRAM
[PIP: 5.01.01.01.3f.00] MEMORY_CONFIGURATION
[PIP: 5.01.01.01.3f.00] EVENT_EXCHANGE
[PIP: 5.01.01.01.3f.00] ABBREVIATED_DEFAULT_CDI
[PIP: 5.01.01.01.3f.00] SIMPLE_NODE_INFORMATION
[PIP: 5.01.01.01.3f.00] CDI
[PIP: 5.01.01.01.3f.00] Requesting SNIP data
[SNIP: 5.01.01.01.3f.00] mfr:github.com/atanisoft (Mike Dunston), model:ESP32 Command Station, hw ver:ESP32-v1, sw ver:1.5.0, name:ESP32 Command Station, desc:
[PIP: 2.01.12.fe.4f.bb] node did not respond to PIP request

JMRI traffic:

S: 02.01.12.FE.4F.BB                     Verify Node ID Number: all nodes
R: 05.01.01.01.3F.FF                     Verified Node ID Number
R: 05.01.01.01.3F.00                     Verified Node ID Number
R: Alias 0xF7A AME frame for node 05.01.01.01.3F.00
S: 02.01.12.FE.4F.BB                     Verified Node ID Number
R: Alias 0xB9 AMD frame for node 05.01.01.01.3F.00
R: 05.01.01.01.3F.FF - 05.01.01.01.3F.00 ProtocolSupportInquiry with no payload
R: Alias 0xF7A AME frame for node 02.01.12.FE.4F.BB
R: 05.01.01.01.3F.00 - 05.01.01.01.3F.FF ProtocolSupportReply with payload 54 58 00 00 00 00
R: 05.01.01.01.3F.FF                     Verify Node ID Number: 02.01.12.FE.4F.BB only
S: 02.01.12.FE.4F.BB                     Verified Node ID Number
R: 05.01.01.01.3F.FF - 02.01.12.FE.4F.BB ProtocolSupportInquiry with no payload
R: 05.01.01.01.3F.FF - 05.01.01.01.3F.00 SimpleNodeIdentInfoRequest with no payload
R: SNIP Reply 1st frame
R: SNIP Reply middle frame
R: SNIP Reply middle frame
R: SNIP Reply middle frame
R: SNIP Reply middle frame
R: SNIP Reply middle frame
R: SNIP Reply middle frame
R: SNIP Reply middle frame
R: SNIP Reply middle frame
R: SNIP Reply middle frame
R: SNIP Reply middle frame
R: SNIP Reply middle frame
R: SNIP Reply middle frame
R: SNIP Reply middle frame
R: SNIP Reply middle frame
R: SNIP Reply middle frame
R: SNIP Reply middle frame
R: SNIP Reply middle frame
R: SNIP Reply middle frame
R: SNIP Reply middle frame
R: SNIP Reply middle frame
R: SNIP Reply middle frame
R: SNIP Reply middle frame
R: SNIP Reply middle frame
R: SNIP Reply middle frame
R: SNIP Reply middle frame
R: SNIP Reply middle frame
R: 05.01.01.01.3F.00 - 05.01.01.01.3F.FF Simple Node Ident Info with content '4,github.com/atanisoft (Mike Dunston),ESP32 Command Station,ESP32-v1,1.5.0,2,ESP32 Command Station,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,'
atanisoft commented 1 year ago

Confirmed as working with JMRI 5.3.8+R3118d386b3 (or later):

[Node:02.01.12.fe.17.e2] Requesting PIP
[Node:02.01.12.fe.17.e2] PIP response received
[Node:02.01.12.fe.17.e2] Requesting SNIP
[Node:02.01.12.fe.17.e2] SNIP response received