11111
Fork of WIZnetInterface by
Diff: arch/ext/W5500.cpp
- Revision:
- 30:6feeaebad180
- Parent:
- 28:200e63e513a8
--- 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;
}
