Skip to content

Commit

Permalink
test 200
Browse files Browse the repository at this point in the history
  • Loading branch information
sshwsfc authored Dec 21, 2019
1 parent 929a865 commit 46dc1b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tcpclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,10 @@ func (mb *tcpTransporter) connect() error {
func (mb *tcpTransporter) isoConnect() error {
msg := make([]byte, len(isoConnectionRequestTelegram))
copy(msg, isoConnectionRequestTelegram)
msg[16] = mb.localTSAPHigh
msg[17] = mb.localTSAPLow
msg[20] = mb.remoteTSAPHigh
msg[21] = mb.remoteTSAPLow
msg[16] = 0x4d
msg[17] = 0x57
msg[20] = 0x4d
msg[21] = 0x57

// Sends the connection request telegram
response, err := mb.Send(msg)
Expand Down

0 comments on commit 46dc1b3

Please sign in to comment.