Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions SampleCommunicator/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ java {
dependencies {

// SGr dependencies
implementation group: 'com.smartgridready', name: 'sgr-commhandler', version: '2.4.2'
runtimeOnly group: 'com.smartgridready', name: 'sgr-driver-j2mod', version: '1.0.0'
runtimeOnly group: 'com.smartgridready', name: 'sgr-driver-apachehttp', version: '2.1.1'
runtimeOnly group: 'com.smartgridready', name: 'sgr-driver-hivemq', version: '2.0.1'
implementation group: 'com.smartgridready', name: 'sgr-commhandler', version: '2.5.0'
runtimeOnly group: 'com.smartgridready', name: 'sgr-driver-j2mod', version: '1.1.0'
runtimeOnly group: 'com.smartgridready', name: 'sgr-driver-apachehttp', version: '2.2.0'
runtimeOnly group: 'com.smartgridready', name: 'sgr-driver-hivemq', version: '2.1.0'

// Logging
implementation group: 'org.slf4j', name: 'slf4j-api', version: '2.0.17'
Expand All @@ -61,7 +61,7 @@ dependencies {
implementation group: 'org.mockito', name: 'mockito-junit-jupiter', version: '5.18.0'
implementation group: 'org.mockito', name: 'mockito-inline', version: '5.2.0'

implementation group: 'org.awaitility', name: 'awaitility', version: '4.2.2'
implementation group: 'org.awaitility', name: 'awaitility', version: '4.3.0'
}

test {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,18 @@ public GenDriverAPI4Modbus createTcpTransport(String ipAddress, int port)
return new GenDriverAPI4ModbusMock(returnInteger);
}

@Override
public GenDriverAPI4Modbus createTcpTransport(String ipAddress, int port, int timeout)
{
return new GenDriverAPI4ModbusMock(returnInteger);
}

@Override
public GenDriverAPI4Modbus createTcpTransport(String ipAddress, int port, int timeout, boolean rtuOverTcp)
{
return new GenDriverAPI4ModbusMock(returnInteger);
}

@Override
public GenDriverAPI4Modbus createUdpTransport(String ipAddress)
{
Expand Down