-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
working integration with param webserver on TCU
- Loading branch information
Showing
4 changed files
with
34 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,24 @@ | ||
#ifndef INTERFACEPARAMS | ||
#define INTERFACEPARAMS | ||
#include "NativeEthernet.h" | ||
// #include "NativeEthernet.h" | ||
#include <QNEthernet.h> | ||
|
||
namespace EthParams | ||
{ | ||
using namespace qindesign::network; | ||
|
||
uint8_t default_MCU_MAC_address[6] = | ||
{0x04, 0xe9, 0xe5, 0x10, 0x1f, 0x22}; | ||
|
||
const IPAddress default_MCU_ip(192, 168, 1, 30); | ||
const IPAddress default_TCU_ip(192, 168, 1, 68); | ||
const IPAddress default_TCU_ip(192, 168, 1, 69); | ||
|
||
const uint16_t default_protobuf_send_port = 2001; | ||
const uint16_t default_protobuf_recv_port = 2000; | ||
const uint16_t default_protobuf_send_port = 20001; | ||
const uint16_t default_protobuf_recv_port = 20000; | ||
|
||
const IPAddress default_netmask(255, 255, 255, 0); | ||
const IPAddress default_gateway(192, 168, 0, 1); | ||
|
||
const uint16_t default_buffer_size = 512; | ||
const uint16_t default_buffer_size = 1024; | ||
} | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters