Tests: Add XML files for hexdumps of error frames.
This commit is contained in:
8
test/error-frames/application_busy.xml
Normal file
8
test/error-frames/application_busy.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<MBusData>
|
||||
|
||||
<SlaveInformation>
|
||||
<Error>Application busy</Error>
|
||||
</SlaveInformation>
|
||||
|
||||
</MBusData>
|
8
test/error-frames/buffer_too_long.xml
Normal file
8
test/error-frames/buffer_too_long.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<MBusData>
|
||||
|
||||
<SlaveInformation>
|
||||
<Error>Buffer too long, truncated</Error>
|
||||
</SlaveInformation>
|
||||
|
||||
</MBusData>
|
8
test/error-frames/error.xml
Normal file
8
test/error-frames/error.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<MBusData>
|
||||
|
||||
<SlaveInformation>
|
||||
<Error>Unspecified error</Error>
|
||||
</SlaveInformation>
|
||||
|
||||
</MBusData>
|
8
test/error-frames/premature_end_of_record.xml
Normal file
8
test/error-frames/premature_end_of_record.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<MBusData>
|
||||
|
||||
<SlaveInformation>
|
||||
<Error>Premature end of record</Error>
|
||||
</SlaveInformation>
|
||||
|
||||
</MBusData>
|
8
test/error-frames/too_many_difes.xml
Normal file
8
test/error-frames/too_many_difes.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<MBusData>
|
||||
|
||||
<SlaveInformation>
|
||||
<Error>More than 10 DIFE´s</Error>
|
||||
</SlaveInformation>
|
||||
|
||||
</MBusData>
|
8
test/error-frames/too_many_readouts.xml
Normal file
8
test/error-frames/too_many_readouts.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<MBusData>
|
||||
|
||||
<SlaveInformation>
|
||||
<Error>Too many readouts</Error>
|
||||
</SlaveInformation>
|
||||
|
||||
</MBusData>
|
8
test/error-frames/too_many_records.xml
Normal file
8
test/error-frames/too_many_records.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<MBusData>
|
||||
|
||||
<SlaveInformation>
|
||||
<Error>Too many records</Error>
|
||||
</SlaveInformation>
|
||||
|
||||
</MBusData>
|
8
test/error-frames/too_many_vifes.xml
Normal file
8
test/error-frames/too_many_vifes.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<MBusData>
|
||||
|
||||
<SlaveInformation>
|
||||
<Error>More than 10 VIFE´s</Error>
|
||||
</SlaveInformation>
|
||||
|
||||
</MBusData>
|
8
test/error-frames/unimplemented_ci.xml
Normal file
8
test/error-frames/unimplemented_ci.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<MBusData>
|
||||
|
||||
<SlaveInformation>
|
||||
<Error>Unimplemented CI-Field</Error>
|
||||
</SlaveInformation>
|
||||
|
||||
</MBusData>
|
8
test/error-frames/unspecified_error.xml
Normal file
8
test/error-frames/unspecified_error.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<MBusData>
|
||||
|
||||
<SlaveInformation>
|
||||
<Error>Unspecified error</Error>
|
||||
</SlaveInformation>
|
||||
|
||||
</MBusData>
|
Reference in New Issue
Block a user