iCub-main
Functions | Variables
diagnostics_buttons.cpp File Reference
#include "template_buttons.hpp"
#include "OPCprotocolManager.h"
#include "OPCprotocolManager_Cfg.h"
#include "EoDiagnostics.h"
+ Include dependency graph for diagnostics_buttons.cpp:

Go to the source code of this file.

Functions

static uint32_t s_getAddressFromUser (void)
 
static void enaDisaDiagnostic (uint8_t *payload_ptr, uint32_t payload_size, ACE_INET_Addr *addr)
 
void commands (void)
 
int32_t callback_button_x (uint8_t *payload_ptr, uint32_t payload_size, ACE_INET_Addr *addr, int16_t id)
 
uint32_t callback_button_0 (uint8_t *payload_ptr, uint32_t payload_size, ACE_INET_Addr *addr)
 
uint32_t callback_button_1 (uint8_t *payload_ptr, uint32_t payload_size, ACE_INET_Addr *addr)
 
uint32_t callback_button_2 (uint8_t *payload_ptr, uint32_t payload_size, ACE_INET_Addr *addr)
 
uint32_t callback_button_3 (uint8_t *payload_ptr, uint32_t payload_size, ACE_INET_Addr *addr)
 
uint32_t callback_button_4 (uint8_t *payload_ptr, uint32_t payload_size, ACE_INET_Addr *addr)
 
uint32_t callback_button_5 (uint8_t *payload_ptr, uint32_t payload_size, ACE_INET_Addr *addr)
 
uint32_t callback_button_6 (uint8_t *payload_ptr, uint32_t payload_size, ACE_INET_Addr *addr)
 
uint32_t callback_button_7 (uint8_t *payload_ptr, uint32_t payload_size, ACE_INET_Addr *addr)
 
uint32_t callback_button_8 (uint8_t *payload_ptr, uint32_t payload_size, ACE_INET_Addr *addr)
 
uint32_t callback_button_9 (uint8_t *payload_ptr, uint32_t payload_size, ACE_INET_Addr *addr)
 
uint32_t callback_button_10 (uint8_t *payload_ptr, uint32_t payload_size, ACE_INET_Addr *addr)
 

Variables

OPCprotocolManager * opcMan_ptr
 
ACE_SOCK_Dgram * ACE_socket
 
eOdgn_commands_t dgnCommands ={0}
 
uint32_t cmdena_rxsetPointCheck = 0
 

Function Documentation

◆ callback_button_0()

uint32_t callback_button_0 ( uint8_t *  payload_ptr,
uint32_t  payload_size,
ACE_INET_Addr *  addr 
)

Definition at line 141 of file diagnostics_buttons.cpp.

◆ callback_button_1()

uint32_t callback_button_1 ( uint8_t *  payload_ptr,
uint32_t  payload_size,
ACE_INET_Addr *  addr 
)

Definition at line 209 of file diagnostics_buttons.cpp.

◆ callback_button_10()

uint32_t callback_button_10 ( uint8_t *  payload_ptr,
uint32_t  payload_size,
ACE_INET_Addr *  addr 
)

Definition at line 345 of file diagnostics_buttons.cpp.

◆ callback_button_2()

uint32_t callback_button_2 ( uint8_t *  payload_ptr,
uint32_t  payload_size,
ACE_INET_Addr *  addr 
)

Definition at line 234 of file diagnostics_buttons.cpp.

◆ callback_button_3()

uint32_t callback_button_3 ( uint8_t *  payload_ptr,
uint32_t  payload_size,
ACE_INET_Addr *  addr 
)

Definition at line 258 of file diagnostics_buttons.cpp.

◆ callback_button_4()

uint32_t callback_button_4 ( uint8_t *  payload_ptr,
uint32_t  payload_size,
ACE_INET_Addr *  addr 
)

Definition at line 304 of file diagnostics_buttons.cpp.

◆ callback_button_5()

uint32_t callback_button_5 ( uint8_t *  payload_ptr,
uint32_t  payload_size,
ACE_INET_Addr *  addr 
)

Definition at line 319 of file diagnostics_buttons.cpp.

◆ callback_button_6()

uint32_t callback_button_6 ( uint8_t *  payload_ptr,
uint32_t  payload_size,
ACE_INET_Addr *  addr 
)

Definition at line 324 of file diagnostics_buttons.cpp.

◆ callback_button_7()

uint32_t callback_button_7 ( uint8_t *  payload_ptr,
uint32_t  payload_size,
ACE_INET_Addr *  addr 
)

Definition at line 329 of file diagnostics_buttons.cpp.

◆ callback_button_8()

uint32_t callback_button_8 ( uint8_t *  payload_ptr,
uint32_t  payload_size,
ACE_INET_Addr *  addr 
)

Definition at line 334 of file diagnostics_buttons.cpp.

◆ callback_button_9()

uint32_t callback_button_9 ( uint8_t *  payload_ptr,
uint32_t  payload_size,
ACE_INET_Addr *  addr 
)

Definition at line 339 of file diagnostics_buttons.cpp.

◆ callback_button_x()

int32_t callback_button_x ( uint8_t *  payload_ptr,
uint32_t  payload_size,
ACE_INET_Addr *  addr,
int16_t  id 
)

Definition at line 112 of file diagnostics_buttons.cpp.

◆ commands()

void commands ( void  )

Definition at line 85 of file diagnostics_buttons.cpp.

◆ enaDisaDiagnostic()

static void enaDisaDiagnostic ( uint8_t *  payload_ptr,
uint32_t  payload_size,
ACE_INET_Addr *  addr 
)
static

Definition at line 352 of file diagnostics_buttons.cpp.

◆ s_getAddressFromUser()

static uint32_t s_getAddressFromUser ( void  )
static

Definition at line 97 of file diagnostics_buttons.cpp.

Variable Documentation

◆ ACE_socket

ACE_SOCK_Dgram* ACE_socket

Definition at line 121 of file main.cpp.

◆ cmdena_rxsetPointCheck

uint32_t cmdena_rxsetPointCheck = 0

Definition at line 63 of file diagnostics_buttons.cpp.

◆ dgnCommands

eOdgn_commands_t dgnCommands ={0}

Definition at line 62 of file diagnostics_buttons.cpp.

◆ opcMan_ptr

OPCprotocolManager* opcMan_ptr

Definition at line 88 of file main.cpp.