Skip to content

Commit

Permalink
chore(build): Fixed some issues with PLC4X after some changes in the …
Browse files Browse the repository at this point in the history
…s7.mspec
  • Loading branch information
chrisdutz committed Apr 28, 2023
1 parent 5590c5d commit b37a300
Show file tree
Hide file tree
Showing 48 changed files with 4,971 additions and 818 deletions.
1 change: 1 addition & 0 deletions plc4go/assets/testing/protocols/ads/DriverTestsuite.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<steps>
<api-request name="Receive Read Request from application">
<TestReadRequest>
®
<tags isList="true">
<tag className="org.apache.plc4x.test.driver.internal.api.TestTag">
<name>hurz</name>
Expand Down
4 changes: 2 additions & 2 deletions plc4go/internal/ads/MessageCodec.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,11 @@ func (m *MessageCodec) Receive() (spi.Message, error) {
if num < packetSize {
if err := transportInstance.FillBuffer(
func(pos uint, currentByte byte, reader *bufio.Reader) bool {
numBytesAvailalbe, err := transportInstance.GetNumBytesAvailableInBuffer()
numBytesAvailable, err := transportInstance.GetNumBytesAvailableInBuffer()
if err != nil {
return false
}
return numBytesAvailalbe < packetSize
return numBytesAvailable < packetSize
}); err != nil {
log.Warn().Err(err).Msg("error filling buffer")
}
Expand Down
92 changes: 52 additions & 40 deletions plc4go/protocols/s7/readwrite/ParserHelper.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

101 changes: 57 additions & 44 deletions plc4go/protocols/s7/readwrite/XmlParserHelper.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b37a300

Please sign in to comment.