IRPyro messaging application
Communications program between IRPyro and IRPyro evaluation tool

Packs a message to the GUI with the adequate frame. More...

Collaboration diagram for Message Pack:

Functions

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. More...
 
static void message_pack_block_send (uint8_t const *data, uint16_t size)
 Puts a byte array into a designated message queue. More...
 
void message_pack_status_send (void)
 Packs firmware status for the GUI: Streaming and power mode. More...
 
void message_pack_stream_send (void)
 

Variables

int32_t ConfiguredSensorsSamplingDataToGUI [8]
 Packs collected data for the active channels into the firmware. More...
 

Detailed Description

Packs a message to the GUI with the adequate frame.

*
* 
Note

Function Documentation

◆ 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 at line 160 of file message_pack.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ message_pack_block_send()

static void message_pack_block_send ( uint8_t const *  data,
uint16_t  size 
)
static

Puts a byte array into a designated message queue.

Definition at line 58 of file message_pack.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ message_pack_status_send()

void message_pack_status_send ( void  )

Packs firmware status for the GUI: Streaming and power mode.

Definition at line 127 of file message_pack.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ message_pack_stream_send()

void message_pack_stream_send ( void  )

Definition at line 73 of file message_pack.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ ConfiguredSensorsSamplingDataToGUI

int32_t ConfiguredSensorsSamplingDataToGUI[8]

Packs collected data for the active channels into the firmware.

Packs collected data for the active channels into the firmware.

Parameters
scopeGUI scope ID

Definition at line 524 of file message_generator.c.