kenta-shimizu / secs4java8

This library is SEMI-SECS-communicate implementation on Java8.
Apache License 2.0
109 stars 54 forks source link

how to support hsms mutiple session? #5

Closed shyding closed 2 years ago

shyding commented 2 years ago

now only support hsms single session? but how to support hsms mutiple session?

shyding commented 2 years ago

it means how to support HSMS-GS?

kenta-shimizu commented 2 years ago

I can't answer how to do because I don't know HSMS-GS. I want anyone to teach me.

kenta-shimizu commented 2 years ago

Today, I read HSMS-GS standard. I git branch "to4.0" and make directory "hsmsgs".

shyding commented 2 years ago

the standard is e37.2

shyding commented 2 years ago

Mutiple HSMS connection : 1, A host may connect to serveal units of equpiment. 2 , a equipment may be connected by serveal hosts

kenta-shimizu commented 2 years ago

Pre-release, HSMS-GS support.

shyding commented 2 years ago

thank you for your HSMS-GS support . But one case the current HSMS-GS can't support. The case is that the passive side does't know which active side will connect, so that the passive side does't know all sessionIds . But the current HSMS-GS must know all sessionIds before open socket.

kenta-shimizu commented 2 years ago

Hi, If use HSMS, User must know all TCP/IP-address and SESSION-ID perfectly. If SESSION-ID not registered, SELECT.RSP status is 0x4.