Skip to content

Protocole testing Modbus / bacnet #1477

Open

Description

@ptorrent

You're changing device address 10.10.10.14 -> 10.10.10.13 -> 10.10.10.14 every 30 secondes and performing a protocole test at the same time, does it make sense?

Activity

  1. changed the title [-]Protocole testing[/-] [+]Protocole testing Modbus / bacnet[/+] on Mar 16, 2026
  2. hitnik commented on Mar 16, 2026

    @hitnik
    Collaborator

    You're changing device address 10.10.10.14 -> 10.10.10.13 -> 10.10.10.14 every 30 secondes and performing a protocole test at the same time, does it make sense?

    Are you sure this is about the protocol module? These types of tests are performed in the connection module.

  3. ptorrent commented on Mar 16, 2026

    @ptorrent
    Author

    yes during the protocol testing, my device is changing his IP address (from DHCP). When a IP address change on the listening interface, we're restarting our driver (bacnet and modbus) to correclty listen again on the right address...

    Anyway I don't know how the test can work as our gateway is never able to join the test machine.... THe only think working is the DHCP

  4. hitnik commented on Mar 16, 2026

    @hitnik
    Collaborator

    yes during the protocol testing, my device is changing his IP address (from DHCP). When a IP address change on the listening interface, we're restarting our driver (bacnet and modbus) to correclty listen again on the right address...

    Anyway I don't know how the test can work as our gateway is never able to join the test machine.... THe only think working is the DHCP

    What gateway are we talking about? The DUT should be connected directly to the Testrun laptop. If you mean a BACnet gateway, those aren't supported.

  5. ptorrent commented on Mar 16, 2026

    @ptorrent
    Author

    Result of bacnet is a bit random:

    Sometime it's ok:

    Image

    Sometime not:

    Image

    every time our service is running fine on the device... Why the result of this test seems to be random ?

  6. ptorrent commented on Mar 16, 2026

    @ptorrent
    Author

    In parralel I've tested with Yabe on the same network (DUT + VM) and Yabe was able to read values from the DUT... Sometime even the Modbus seems to print "Feature not detected"

  7. hitnik commented on Mar 16, 2026

    @hitnik
    Collaborator

    In parralel I've tested with Yabe on the same network (DUT + VM) and Yabe was able to read values from the DUT... Sometime even the Modbus seems to print "Feature not detected"

    I suspect the VM-to-DUT virtual bridge settings are the cause.

  8. ptorrent commented on Mar 16, 2026

    @ptorrent
    Author

    I'm using an usb adaptator now, results are better but looks like a bit random...

    As current test say :

    Image

    hweth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 10.10.10.30 netmask 255.255.255.0 broadcast 10.10.10.255
    inet6 fd10:77be:4186:0:6fb:369:17f7:134a prefixlen 64 scopeid 0x0
    inet6 fe80::fb40:da1d:7278:e275 prefixlen 64 scopeid 0x20
    ether 70:b3:d5:96:c0:00 txqueuelen 1000 (Ethernet)
    RX packets 2699 bytes 234115 (228.6 KiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 2102 bytes 283469 (276.8 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    device interrupt 154

  9. duncangreene commented on Mar 16, 2026

    @duncangreene

    Why the result of this test seems to be random ?

    See potentially related issue #1290.

  10. added
    test
    framework
    BE
    on Oct 11, 2026
  11. added theissue type on Oct 11, 2026
  12. removed
    test
    framework
    on Oct 11, 2026
  13. 5 remaining items

  14. added
    framework
    BE
    test
    and removed
    test
    BE
    framework
    on Oct 12, 2026
  15. added
    framework
    BE
    on Oct 28, 2026
  16. hitnik commented on Oct 28, 2026

    @hitnik
    Collaborator

    The ticket 578828381 has been reported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BEframework

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions