IRPyro messaging application
Communications program between IRPyro and IRPyro evaluation tool
|
The IRPyro messaging application is a communications firmware supported by the IRPyro API. The main function of this firmware is to establish communication with the IRPyro evaluation tool and respond to configuration commands sent using this GUI, like:
- Type of board detection. - Enumerate sensors present on the board. - Configure IRPyro sensors with defaults. - Wait for command from gui. - Execute command: + begin streaming + change sensor/s parameter/s + control emitter ON/OFF, timings - Send periodic status update
main() calls eevt() which is a simple state machine.
The current implementation is customized for the STM32F303K8T6 processors using the STM standard peripheral library for the low level functions, and C99 option enabled for macros support.
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.