IRPyro API unit test console
Functions for single and multiple sensor configurations in a Unit test format
|
The IRPyro API Unit test demonstration firmware shows in a simplified manner how to:
test01(); 01 Initialize a single device for INTERRUPT CONFIGURATION
test02(); 02 Initialize a single device for POLLED CONFIGURATION
test03(); 03 Initialize a single device for DAISY CHAIN CONFIGURATION
test07(); 07 READ DATA FROM A SINGLE SENSOR and detect frames missing with the sensor CONFIGURED FOR INTERRUPT. <<-------— single sensor performance test
test08(); 08 READ DATA FROM A SINGLE SENSOR and detect frames missing with the sensor CONFIGURED FOR POLLED
test09(); 09 READ DATA FROM A SINGLE SENSOR and detect frames missing with the sensor CONFIGURED FOR DAISY CHAIN
test14(); 14 Change sensor POWER CONFIGURATION
test15(); 15 Configure sensor WAKE UP EVENT, SEND TO SLEEP, DETECT WAKE UP
test16(); 16 Change PARAMETERS on the fly
Multiple Sensor Test
test04(); 04 Initialize multiple devices for INTERRUPT CONFIGURATION
test05(); 05 Initialize multiple devices for POLLED CONFIGURATION
test06(); 06 Initialize multiple devices for DAISY CHAIN CONFIGURATION
test10(); 10 READ DATA FROM MULTIPLE SENSORS and detect frames missing with the sensors CONFIGURED FOR INTERRUPT. <<-------— multiple sensor performance test
test11(); 11 READ DATA FROM MULTIPLE SENSORS and detect frames missing with the sensors CONFIGURED FOR POLLED
test12(); 12 READ DATA FROM MULTIPLE SENSORS and detect frames missing with the sensors CONFIGURED FOR DAISY CHAIN
Copyright (c) 2018, _KEMET, Ltd All rights reserved. THIS SOFTWARE IS PROVIDED BY _KEMET, Ltd ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL _KEMET, Ltd BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.