IRPyro messaging application
Communications program between IRPyro and IRPyro evaluation tool
message_generator.h
Go to the documentation of this file.
1
/**
2
******************************************************************************
3
* @file message_generator.h
4
* @author _KEMET, Ltd
5
* @date March 2018
6
* @version Release 1.0.6
7
* @copyright (c) 2018 _KEMET, Ltd
8
* @brief Prepares configuration and sampling data from the sensor to be send to the GUI
9
* @verbatim
10
===============================================================================
11
##### Description #####
12
===============================================================================
13
[..]
14
Prototype of the message generator 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_TO_GUI
39
#define MESSAGE_TO_GUI
40
#include <stdint.h>
41
#include <string.h>
42
#endif
43
44
#ifndef MESSAGE_PACK
45
#include "
message_pack.h
"
46
#endif
47
48
#ifndef IRPyro_API_multi_device_layer
49
#include "IRPyro_API_multi_device_layer.h"
50
#endif
51
52
#ifndef MESSAGE_INTERFACE_COMMON
53
#include "
message_interface_common.h
"
54
#endif
55
56
#include "
externals.h
"
57
void
message_generator
(uint8_t cmd_to_gui, uint8_t destination);
58
void
message_prepack_data_sort
(
void
);
59
/* ********** Copyright (c) 2018 _KEMET, Ltd. **********END OF FILE************/
message_generator
void message_generator(uint8_t cmd_to_gui, uint8_t destination)
prepares packet to GUI
Definition:
message_generator.c:617
message_prepack_data_sort
void message_prepack_data_sort(void)
Sorts sampling data from configured sensors.
Definition:
message_generator.c:548
message_interface_common.h
externals.h
Interface variables: main, message_to_sensor and message_to_GUI.
message_pack.h
Packs a message from the sensor to the GUI into the right packet.
source
IRPyro_API_messaging_application
inc
message_generator.h
Generated on Thu Jul 2 2020 16:22:16 for IRPyro messaging application by
1.8.18