gxdn
More information from Gurux Conformace tests Gurux Conformance Tests contains following tests

Gurux Conformance Tests

  • 1. Structure tests for send and received data
    Gurux Conformance Tests can't check is content of data correct. Tool can't know is value of active or reactive energy correct, but it tests structure of data. All objects are tested that can be found from the meter.
  • 2. OBIS code validation
    All OBIS codes are validated and check that they follow the rules of the standard.
  • 3. HDLC framing maximum size
    Maximum HDLC framing size is checked. If meter proposes that max frame size is 200 bytes, it's checked that more than 200 bytes is not sent in one frame. This is not very critical when TCP/IP or serial port communication is used, but this might be fatal with RF communication.
  • 4. Max PDU size.
    It's checked that meter respects maximum PDU size that client asks and don't use bigger PDU than client asked.
  • 4. Writing
    All objects that can be write are tested by writing read value back. Wrote value is not changed. Then it's read again to verity that is's not changed.
    Write test is ignored by default. You must activate it when tests are started.
  • 5. Invalid password
    After tests are completed, connection is closed and connection with wrong password is try to made. If you want to execute this test, invalid password must set on the test settings.
  • 6. Content of Association LN
    Content of Association LN is checked that they are correct.
  • 7. Image activation
    Image activation is tested as described on Blue Book 4.4.6.4.

HDLC Conformance Tests

  • 1. Initialize test
    Tested that basic HDLC framing functionality is implemented. Send Disc, SNRM and Receiver ready to check that meter is in Normal Response Mode.
  • 2. Corrupted CRC test.
    Send SNRM and SNRM again where one byte from CRC is removed. Then check that meter is in Normal Response Mode.
  • 3. Is meter respecting inactivity timeout.
    Send SNRM and then wait to check that inactivity timeout is working. This test is skipped if IEC HDLC setup object is not found.
  • 4. Check that meter is not handle frames where opening, closing or both frames are missing.
    Send Disc and then send invalid frames and check that meter is in Normal Disconnected Mode.
  • 5. Check that meter can handle invalid data where opening, closing and CRC are correct.
    Send Disc and then send invalid frames and SNRM and wait UA.
  • 6. Send invalid SNRM frame.
    Send Disc and then send invalid SNRM frame and Disc and check that meter is in Normal Disconnected Mode.
  • 7. Check that meter is ignoring frame if frame size is too long.
    Send Disc and then send invalid SNRM frame where length is too long. Send Disc and check that meter is in Normal Disconnected Mode.
  • 8. Check that meter don't accept invalid HDLC frames.
    Send SNRM and then send Unknown command identifier.
  • 9. Check that meter don't accept invalid HDLC frames.
    Send Disc and then send illegal frame. Send Disc and check that meter is in Normal Disconnected Mode.
  • 10. Check that meter don't accept frame if CRC is wrong.
    Send Disc and then send SNRM frame where CRC is wrong. Then send Disc and check that meter is in Normal Disconnected Mode.
  • 11. Check that meter don't accept frame if it's send twice.
    This test is used to check that meter can ignore frame if it's sent twice.