IRPyro messaging application
Communications program between IRPyro and IRPyro evaluation tool
message_interpreter.h
Go to the documentation of this file.
1
/**
2
******************************************************************************
3
* @file message_interpreter.h
4
* @author _KEMET, Ltd
5
* @date March 2018
6
* @version Release 1.0.6
7
* @copyright (c) 2018 _KEMET, Ltd
8
* @brief GUI flag and data structure directed to the sensor
9
* @verbatim
10
===============================================================================
11
##### Description #####
12
===============================================================================
13
[..]
14
Prototype of the message interpreter function
15
[..]
16
@endverbatim
17
******************************************************************************
18
@attention <h2><center>© COPYRIGHT 2018 _KEMET, Ltd</center></h2>
19
@verbatim
20
Copyright (c) 2018, _KEMET, Ltd
21
All rights reserved.
22
23
THIS SOFTWARE IS PROVIDED BY _KEMET, Ltd ''AS IS'' AND ANY
24
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26
DISCLAIMED. IN NO EVENT SHALL _KEMET, Ltd BE LIABLE FOR ANY
27
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33
@endverbatim
34
35
******************************************************************************
36
*/
37
/* Includes ------------------------------------------------------------------*/
38
#ifndef MESSAGE_UNPACK
39
#include "
message_unpack.h
"
40
#endif
41
42
#ifndef IRPyro_API_multi_device_layer
43
#include "IRPyro_API_multi_device_layer.h"
44
#endif
45
46
#ifndef MESSAGE_TO_SENSOR
47
#define MESSAGE_TO_SENSOR
48
#include <stdint.h>
49
#endif
50
51
#ifndef MESSAGE_INTERFACE_COMMON
52
#include "
message_interface_common.h
"
53
#endif
54
55
56
#include "
externals.h
"
57
58
typedef
enum
59
{
60
execute_apply_parameters
,
61
execute_contact_gui
62
}
63
execute_next_state_type
;
64
execute_next_state_type
message_interpreter
(uint8_t *cmd_code, uint8_t *destination);
65
/* ********** Copyright (c) 2018 _KEMET, Ltd. **********END OF FILE************/
66
execute_apply_parameters
@ execute_apply_parameters
Definition:
message_interpreter.h:60
message_unpack.h
Decodes a byte stream from the GUI into a data structure applicable to the sensor.
message_interpreter
execute_next_state_type message_interpreter(uint8_t *cmd_code, uint8_t *destination)
Recovers the next message from the GUI to the sensor If the message is valid, is passed to the corres...
Definition:
message_interpreter.c:422
execute_contact_gui
@ execute_contact_gui
Definition:
message_interpreter.h:61
message_interface_common.h
externals.h
Interface variables: main, message_to_sensor and message_to_GUI.
execute_next_state_type
execute_next_state_type
Definition:
message_interpreter.h:59
source
IRPyro_API_messaging_application
inc
message_interpreter.h
Generated on Thu Jul 2 2020 16:22:16 for IRPyro messaging application by
1.8.18