#
# THIS FILE IS AUTOMATICALLY GENERATED!
#
-
# Generator: sensirion-driver-generator 0.20.0
-
# Product: sfm_sf06
-
# Version: 1.0
+
# Generator: sensirion-driver-generator 0.32.0
+
# Product: sfm_sf06
+
# Model-Version: 1.3
#
"""
The signal classes specify transformations of the raw sensor signals into a meaningful units.
diff --git a/_sources/api.rst.txt b/_sources/api.rst.txt
index cd01a04..6519de9 100644
--- a/_sources/api.rst.txt
+++ b/_sources/api.rst.txt
@@ -7,6 +7,7 @@ SFM-SF06
SfmSf06Device
~~~~~~~~~~~~~
+
.. automodule:: sensirion_i2c_sfm_sf06.device
Commands
diff --git a/_sources/execute-measurements.rst.txt b/_sources/execute-measurements.rst.txt
index dfae639..8b5862e 100644
--- a/_sources/execute-measurements.rst.txt
+++ b/_sources/execute-measurements.rst.txt
@@ -16,11 +16,11 @@ execute a simple measurement.
5. Run the example script from the root of the repository.
By default the script assumes the SensorBridge is connected to :code:`COM1` serial port. If this is different on your system,
- pass the port in use with the :code:`--serial_port` parameter as outlined below.
+ pass the port in use with the :code:`--serial-port` parameter as outlined below.
.. sourcecode:: bash
- python examples/example_usage_sensorbridge_sfm_sf06.py --serial_port
+ python examples/example_usage_sensorbridge_sfm_sf06.py --serial-port
.. _Sensirion SEK-SensorBridge: https://developer.sensirion.com/sensirion-products/sek-sensorbridge/
@@ -43,11 +43,11 @@ How this can be done is shown in the following.
3. Run the example script from the root of the repository.
By default the script assumes you have the sensor connected to :code:`/dev/i2c-1`.
- If this is different on your system, pass the port in use with the :code:`--i2c_port` parameter as outlined below.
+ If this is different on your system, pass the port in use with the :code:`--i2c-port` parameter as outlined below.
.. sourcecode:: bash
- python examples/example_usage_sensorbridge_sfm_sf06.py --i2c_port
+ python examples/example_usage_linux_sfm_sf06.py --i2c-port
Example script
~~~~~~~~~~~~~~
diff --git a/_sources/run-tests.rst.txt b/_sources/run-tests.rst.txt
index 4079af2..5db8b75 100644
--- a/_sources/run-tests.rst.txt
+++ b/_sources/run-tests.rst.txt
@@ -6,16 +6,26 @@ Unit tests can be run with `pytest `_:
.. code-block:: bash
pip install -e .[test] # Install requirements
- pytest -m "not needs_device" # Run tests without hardware
- pytest # Run all tests
- pytest -m "needs_device" # Run all tests for SFM-SF06
-The tests with the marker `needs_device` have following requirements:
+We provide a mock implementation that allows you to execute the tests for SFM-SF06 without hardware.
+
+.. code-block:: bash
+
+ pytest # Run all tests for SFM-SF06 using a driver mock
+
+To use the real hardware you have to connect your SFM-SF06 sensor to a
+`SensorBridge `_ on port 1. Assuming the SensorBridge is
+attached to COM1 you can start the tests with the following command:
+
+.. code-block:: bash
+
+ pytest --serial-port=COM1 # Run all tests for SFM-SF06 on the sensor attached to COM1
+
+
+.. note::
+ The SensorBridge must have default settings (baudrate 460800, address 0)
+
+
-- The SFM-SF06 sensor must be connected to a
- `SensorBridge `_ on port 1.
-- Pass the serial port where the SensorBridge is connected with
- `--serial-port`, e.g. `pytest --serial-port=COM7`
-- The SensorBridge must have default settings (baudrate 460800, address 0)
diff --git a/_static/documentation_options.js b/_static/documentation_options.js
index 2f08d25..5a94801 100644
--- a/_static/documentation_options.js
+++ b/_static/documentation_options.js
@@ -1,6 +1,6 @@
var DOCUMENTATION_OPTIONS = {
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
- VERSION: '1.0.0',
+ VERSION: '2.0.0',
LANGUAGE: 'None',
COLLAPSE_INDEX: false,
BUILDER: 'html',
diff --git a/_static/pygments.css b/_static/pygments.css
index 691aeb8..0d49244 100644
--- a/_static/pygments.css
+++ b/_static/pygments.css
@@ -17,6 +17,7 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
.highlight .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */
.highlight .gd { color: #A00000 } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
+.highlight .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */
.highlight .gr { color: #FF0000 } /* Generic.Error */
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.highlight .gi { color: #00A000 } /* Generic.Inserted */
diff --git a/api.html b/api.html
index 85d8f2e..51d9079 100644
--- a/api.html
+++ b/api.html
@@ -4,7 +4,7 @@
- API Documentation — sensirion_i2c_sfm_sf06 1.0.0 documentation
+ API Documentation — sensirion_i2c_sfm_sf06 2.0.0 documentation
@@ -31,7 +31,7 @@
sensirion_i2c_sfm_sf06
- 1.0.0
+ 2.0.0
@@ -141,6 +146,11 @@ SFM-SF06