Skip to content

Commit

Permalink
fix: nested defaults should now be unwrapped
Browse files Browse the repository at this point in the history
  • Loading branch information
sruehl committed Feb 14, 2024
1 parent fd53a59 commit ccd8bd2
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion plc4j/drivers/all/src/site/generated/firmata.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Typical values are:
- 1
- 2
(The theoretical 1.5 stop-bits setting is not supported)
|`serial.parity` |STRUCT |NO_PARITY| |Number of bits used to calculate data parity.
|`serial.parity` |STRING |NO_PARITY| |Number of bits used to calculate data parity.
This is used to detect errors in transmission.
Allowed values are:
- NO_PARITY
Expand Down
2 changes: 1 addition & 1 deletion plc4j/drivers/all/src/site/generated/modbus-ascii.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Typical values are:
- 1
- 2
(The theoretical 1.5 stop-bits setting is not supported)
|`serial.parity` |STRUCT |NO_PARITY| |Number of bits used to calculate data parity.
|`serial.parity` |STRING |NO_PARITY| |Number of bits used to calculate data parity.
This is used to detect errors in transmission.
Allowed values are:
- NO_PARITY
Expand Down
2 changes: 1 addition & 1 deletion plc4j/drivers/all/src/site/generated/modbus-rtu.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Typical values are:
- 1
- 2
(The theoretical 1.5 stop-bits setting is not supported)
|`serial.parity` |STRUCT |NO_PARITY| |Number of bits used to calculate data parity.
|`serial.parity` |STRING |NO_PARITY| |Number of bits used to calculate data parity.
This is used to detect errors in transmission.
Allowed values are:
- NO_PARITY
Expand Down
5 changes: 4 additions & 1 deletion plc4j/drivers/all/src/site/generated/opcua.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ Possible values are between others `jks`, `pkcs11`, `dks`, `jceks`.
|`session-timeout` |LONG |120000| |Expiry time for opened secure session, value in milliseconds. Defaults to 2 minutes.
|`negotiation-timeout` |LONG |60000| |Timeout for all negotiation steps prior acceptance of application level operations - this timeout applies to open secure channel, create session and close calls. Defaults to 60 seconds.
|`request-timeout` |LONG |30000| |Timeout for read/write/subscribe calls. Value in milliseconds.
|`encoding` |STRUCT | | |TCP encoding options
|`encoding.receive-buffer-size` |INT |65535| |Maximum size of received TCP transport message chunk value in bytes.
|`encoding.send-buffer-size` |INT |65535| |Maximum size of sent transport message chunk.
|`encoding.max-message-size` |INT |2097152| |Maximum size of complete message.
|`encoding.max-chunk-count` |INT |64| |Maximum number of chunks for both sent and received messages.
5+|Transport config options:
5+| - `tcp`
|`tcp.keep-alive` |BOOLEAN |false| |Should keep-alive packets be sent?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ private List<DefaultOption> optionsForField(Field field) {
option.getType(),
option.getDescription(),
option.isRequired(),
option.getDefaultValue()
option.getDefaultValue().orElse(null)
))
.collect(Collectors.toList());
}
Expand Down

0 comments on commit ccd8bd2

Please sign in to comment.