onewire_network: Add more test-cases.
[sigrok-test.git] / decoder / test / onewire_network / test.conf
index 0b5dd63bba8b5cb7ab5d2cc615c7dcaf0956df9e..8859163964f7f308677b09e8438dc47aa016a8e6 100644 (file)
@@ -6,6 +6,30 @@ test ds28ea00
        output onewire_network annotation match ds28ea00.output
        output onewire_network python match ds28ea00.python
 
+test ds18b20
+       protocol-decoder onewire_link channel owr=0
+       protocol-decoder onewire_network
+       stack onewire_link onewire_network
+       input onewire/owfs/ds18b20.sr
+       output onewire_network annotation match ds18b20.output
+       output onewire_network python match ds18b20.python
+
+test owdir
+       protocol-decoder onewire_link channel owr=0
+       protocol-decoder onewire_network
+       stack onewire_link onewire_network
+       input onewire/owfs/owdir.sr
+       output onewire_network annotation match owdir.output
+       output onewire_network python match owdir.python
+
+test sockit_owm_onewire
+       protocol-decoder onewire_link channel owr=0
+       protocol-decoder onewire_network
+       stack onewire_link onewire_network
+       input onewire/sockit_owm/onewire.sr
+       output onewire_network annotation match sockit_owm_onewire.output
+       output onewire_network python match sockit_owm_onewire.python
+
 test ds1985_bitmap_of_used_pages_for_file_structure
        protocol-decoder onewire_link channel owr=0
        protocol-decoder onewire_network
@@ -53,3 +77,11 @@ test ds1985_write_protect_redirection
        input onewire/ibutton/ds1985/ds1985_write_protect_redirection.sr
        output onewire_network annotation match ds1985_write_protect_redirection.output
        output onewire_network python match ds1985_write_protect_redirection.python
+
+test 2xds18b20
+       protocol-decoder onewire_link channel owr=0
+       protocol-decoder onewire_network
+       stack onewire_link onewire_network
+       input onewire/ds18b20/2xds18b20.sr
+       output onewire_network annotation match 2xds18b20.output
+       output onewire_network python match 2xds18b20.python