Skip to content

Commit

Permalink
fixed wrong expression in ams mspec
Browse files Browse the repository at this point in the history
  • Loading branch information
sruehl committed Dec 11, 2019
1 parent 408054c commit 2921627
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
// This array contains the length of the data packet.
// It consists of the AMS-Header and the enclosed ADS data. The unit is bytes.
// TODO: rename me to length
[simple uint 32 'tcpLength' '0x0000' ]
[simple uint 32 'tcpLength']
]

////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -119,7 +119,7 @@

[type 'AmsPacket'
[simple AmsHeader 'amsHeader' ]
[simple ADSData 'data' ['header.commandId', 'header.state.response'] ]
[simple ADSData 'data' ['amsHeader.commandId', 'amsHeader.state.response'] ]
]

// AMS Header 32 bytes The AMS/TCP-Header contains the addresses of the transmitter and receiver. In addition the AMS error code , the ADS command Id and some other information.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
[type 'AmsPacket'
[simple AmsHeader 'amsHeader' ]
[simple ADSData 'data' ['header.commandId', 'header.state.response'] ]
[simple ADSData 'data' ['amsHeader.commandId', 'amsHeader.state.response'] ]
]
// AMS Header 32 bytes The AMS/TCP-Header contains the addresses of the transmitter and receiver. In addition the AMS error code , the ADS command Id and some other information.
Expand Down

0 comments on commit 2921627

Please sign in to comment.