IRPyro messaging application
Communications program between IRPyro and IRPyro evaluation tool
message_pack.h
Go to the documentation of this file.
1
/**
2
******************************************************************************
3
* @file message_pack.h
4
* @author _KEMET, Ltd
5
* @date March 2018
6
* @version Release 1.0.6
7
* @copyright (c) 2018 _KEMET, Ltd
8
* @brief Packs a message from the sensor to the GUI into the right packet
9
******************************************************************************
10
@attention <h2><center>© COPYRIGHT 2018 _KEMET, Ltd</center></h2>
11
@verbatim
12
Copyright (c) 2018, _KEMET, Ltd
13
All rights reserved.
14
15
THIS SOFTWARE IS PROVIDED BY _KEMET, Ltd ''AS IS'' AND ANY
16
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18
DISCLAIMED. IN NO EVENT SHALL _KEMET, Ltd BE LIABLE FOR ANY
19
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25
@endverbatim
26
******************************************************************************
27
*/
28
/* Includes ------------------------------------------------------------------*/
29
#ifndef MESSAGE_PACK
30
#define MESSAGE_PACK
31
#include <stdint.h>
32
#include "
queue_handle.h
"
33
34
void
get_bytes_to_GUI
(uint8_t
packet_function
, uint8_t
const
*
bytes_to_gui
, uint16_t size);
35
void
message_pack_stream_send
(
void
);
36
void
message_pack_status_send
(
void
);
37
#endif
38
39
/* ********** Copyright (c) 2018 _KEMET, Ltd. **********END OF FILE************/
message_pack_stream_send
void message_pack_stream_send(void)
Definition:
message_pack.c:73
message_pack_status_send
void message_pack_status_send(void)
Packs firmware status for the GUI: Streaming and power mode.
Definition:
message_pack.c:127
bytes_to_gui
uint8_t bytes_to_gui[BYTES_TO_GUI_SIZE]
Definition:
message_generator.c:53
get_bytes_to_GUI
void get_bytes_to_GUI(uint8_t packet_function, uint8_t const *bytes_to_gui, uint16_t size)
selects the correct function to send data to the gui.
Definition:
message_pack.c:160
packet_function
uint8_t packet_function
Definition:
message_generator.c:51
queue_handle.h
Manages message queues from the GUI to sensor and sensor to GUI.
source
IRPyro_API_messaging_application
inc
message_pack.h
Generated on Thu Jul 2 2020 16:22:16 for IRPyro messaging application by
1.8.18