Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ros_lib_kinetic
Diff: HLComms.cpp
- Revision:
- 11:7029367a1840
- Parent:
- 9:cd3607ba5643
- Child:
- 12:595ed862e52f
diff -r 1b6daba32452 -r 7029367a1840 HLComms.cpp
--- a/HLComms.cpp Tue Aug 07 15:31:59 2018 +0000
+++ b/HLComms.cpp Fri Aug 10 10:40:18 2018 +0000
@@ -13,9 +13,9 @@
int error_code;
printf("Starting TCP server...\n\r");
if( !IS_DHCP ) {
- const char* ip = "10.101.79.135"; //"10.101.81.125"; // Get first 3 parts from "ifconfig" on PC
+ const char* ip = "10.101.81.135"; //"10.101.79.125"; // Get first 3 parts from "ifconfig" on PC
const char* mask = "255.255.255.0"; // Get from "ifconfig" on PC
- const char* gateway = "10.101.79.1"; //"10.101.81.1"; // Get from "route -n" on PC
+ const char* gateway = "10.101.81.1"; //"10.101.79.1"; // Get from "route -n" on PC
error_code = interfaces.eth.set_network(ip, mask, gateway); // Dont use DHCP
if( error_code < 0 ) {
printf("Error %i. Could not network interface to use a static IP address. "