Agora
1.2.0
Agora project
|
Go to the documentation of this file.
5 #ifndef MAC_RECEIVER_H_
6 #define MAC_RECEIVER_H_
15 std::string phy_server_address,
size_t phy_port,
16 size_t rx_thread_num = 1,
size_t core_offset = 1);
19 std::string phy_server_address,
size_t phy_port,
20 std::string fwd_data_udp_address,
size_t fwd_port,
21 size_t rx_thread_num = 1,
size_t core_offset = 1);
42 #endif // MAC_RECEIVER_H_
const size_t phy_port_
Definition: mac_receiver.h:31
byte
Definition: core.h:388
void Running(bool value)
Definition: config.h:33
const size_t core_id_
Definition: mac_receiver.h:38
void PinToCoreWithOffset(ThreadType thread_type, size_t core_offset, size_t thread_id, bool allow_reuse, bool verbose)
Definition: utils.cc:157
Config *const cfg_
Definition: mac_receiver.h:39
static bool GotExitSignal()
Definition: signal_handler.cc:23
Declaration file for the simple mac receiver class.
Provides the UDPServer functions from the UDPComm class. Receiver only support.
const std::string phy_address_
Definition: mac_receiver.h:30
Definition: mac_receiver.h:12
std::vector< std::thread > StartRecv()
Definition: mac_receiver.cc:46
const bool enable_udp_output_
Definition: mac_receiver.h:33
static const bool kDebugMacReceiver
Definition: mac_receiver.cc:14
for i
Definition: generate_data.m:107
const size_t data_bytes_
Definition: mac_receiver.h:29
Plot Rx waveform for u
Definition: inspect_single_frame.m:108
static const std::string kMacTxAddress
Definition: mac_receiver.cc:16
static constexpr uint16_t kMacTxPort
Definition: mac_receiver.cc:17
MacReceiver(Config *const cfg, size_t num_frame_data_bytes, std::string phy_server_address, size_t phy_port, size_t rx_thread_num=1, size_t core_offset=1)
Definition: mac_receiver.cc:19
#define AGORA_LOG_INFO(...)
Definition: logger.h:62
Definition: json.hpp:5213
Declaration file for the configuration class which importants json configuration values into class va...
void * LoopRecv(size_t tid)
Definition: mac_receiver.cc:58
const std::string udp_dest_address_
Definition: mac_receiver.h:35
const size_t rx_thread_num_
Definition: mac_receiver.h:37
const size_t udp_dest_port_
Definition: mac_receiver.h:34
static constexpr size_t kSockBufSize
Definition: channel_sim.cc:26
static const std::string kMacRxAddress
Definition: mac_receiver.cc:15