18
18
* CONSTANTS
19
19
**************************************************************************************/
20
20
21
- static uint8_t const T1S_PLCA_NODE_ID = 1 ;
22
- static bool const MAC_PROMISCUOUS_MODE = false ;
23
- static bool const MAC_TX_CUT_THROUGH = false ;
24
- static bool const MAC_RX_CUT_THROUGH = false ;
21
+ static uint8_t const T1S_PLCA_NODE_ID = 1 ;
25
22
26
23
static IPAddress const ip_addr {192 , 168 , 42 , 100 + T1S_PLCA_NODE_ID};
27
24
static IPAddress const network_mask{255 , 255 , 255 , 0 };
28
25
static IPAddress const gateway {192 , 168 , 42 , 100 };
29
26
30
27
static T1SPlcaSettings const t1s_plca_settings{T1S_PLCA_NODE_ID};
31
- static T1SMacSettings const t1s_mac_settings{MAC_PROMISCUOUS_MODE, MAC_TX_CUT_THROUGH, MAC_RX_CUT_THROUGH} ;
28
+ static T1SMacSettings const t1s_default_mac_settings ;
32
29
33
30
static uint16_t const UDP_SERVER_LOCAL_PORT = 8888 ;
34
31
static uint8_t * udp_rx_msg_buf[256 ] = {0 };
@@ -90,7 +87,7 @@ void setup()
90
87
, gateway
91
88
, mac_addr
92
89
, t1s_plca_settings
93
- , t1s_mac_settings ))
90
+ , t1s_default_mac_settings ))
94
91
{
95
92
Serial.println (" 'TC6::begin(...)' failed." );
96
93
for (;;) { }
@@ -100,7 +97,7 @@ void setup()
100
97
Serial.println (ip_addr);
101
98
Serial.println (mac_addr);
102
99
Serial.println (t1s_plca_settings);
103
- Serial.println (t1s_mac_settings );
100
+ Serial.println (t1s_default_mac_settings );
104
101
105
102
// If Power Provider, turn on LOCAL_ENABLE and turn on T1S_DISABLE
106
103
// tc6_inst->digitalWrite(1,1,0);
0 commit comments