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.
Fork of WIZnetInterface by
Diff: arch/ext/W5500.cpp
- Revision:
- 30:6feeaebad180
- Parent:
- 28:200e63e513a8
- Child:
- 31:f6a5f6d1978b
diff -r c91884bd2713 -r 6feeaebad180 arch/ext/W5500.cpp
--- a/arch/ext/W5500.cpp Tue Nov 17 06:35:55 2015 +0000
+++ b/arch/ext/W5500.cpp Fri Nov 04 02:28:28 2016 +0000
@@ -24,7 +24,7 @@
#include "mbed_debug.h"
#include "DNSClient.h"
-
+Serial pc(PA_13,PA_14);
//Debug is disabled by default
#if 0
#define DBG(...) do{debug("%p %d %s ", this,__LINE__,__PRETTY_FUNCTION__); debug(__VA_ARGS__); } while(0);
@@ -139,6 +139,9 @@
bool WIZnet_Chip::is_connected(int socket)
{
+ Serial pc3(PA_13,PA_14);
+ pc3.baud(115200);
+ pc3.printf("in is_connected(fd)\r\n");
/*
if (sreg<uint8_t>(socket, Sn_SR) == SOCK_ESTABLISHED) {
return true;
@@ -182,6 +185,7 @@
bool WIZnet_Chip::close(int socket)
{
+ pc.printf("------------------------------------------------------------------------***\r\n");
if (socket < 0) {
return false;
}
