#include <Arduino.h>
#include "ProtobufMsgInterface.h"
#include "MCU_rev15_defs.h"
Go to the source code of this file.
◆ init_ethernet_device()
| void init_ethernet_device |
( |
| ) |
|
Definition at line 12 of file main_ethernet_test.cpp.
13{
17}
EthernetUDP protobuf_send_socket
EthernetUDP protobuf_recv_socket
const uint16_t default_protobuf_send_port
uint8_t default_MCU_MAC_address[6]
const uint16_t default_protobuf_recv_port
const IPAddress default_MCU_ip(192, 168, 1, 30)
◆ loop()
◆ setup()
◆ test_ethernet()
Definition at line 19 of file main_ethernet_test.cpp.
20{
21
23 if(
params.params_need_sending())
24 {
25 auto config =
params.get_config();
27 }
28 params.reset_params_need_sending();
29 }
30
31}
void handle_ethernet_socket_receive(const SysTick_s &tick, qindesign::network::EthernetUDP *socket, std::function< void(unsigned long, const uint8_t *, size_t, eth_interface &, const pb_msgdesc_t *)> recv_function, eth_interface &interface, const pb_msgdesc_t *desc_pointer)
bool handle_ethernet_socket_send_pb(IPAddress addr, uint16_t port, qindesign::network::EthernetUDP *socket, const pb_struct &msg, const pb_msgdesc_t *msg_desc)
ParameterInterface params
ETHInterfaces ethernet_interfaces
◆ ethernet_interfaces
◆ params
| ParameterInterface params = ParameterInterface() |
◆ protobuf_recv_socket
| EthernetUDP protobuf_recv_socket |
◆ protobuf_send_socket
| EthernetUDP protobuf_send_socket |