1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-13 13:01:55 +03:00

lwip2: fix static address management (#4677)

+ interactive example (for debugging)
This commit is contained in:
david gauchard
2018-05-02 01:20:55 +02:00
committed by GitHub
parent 758b0bd124
commit 76a14b1f63
9 changed files with 131 additions and 6 deletions

View File

@ -2,6 +2,7 @@
#ifndef __GLUE_DEBUG_H
#define __GLUE_DEBUG_H
// this file is commonly included by both sides of the glue
/////////////////////////////////////////////////////////////////////////////
// user-definable
@ -27,6 +28,15 @@
#define LWIP_DBG_TYPES_ON (LWIP_DBG_ON)
#endif
/////////////////////////////////////////////////////////////////////////////
// packet capture callback from esp side
#include <stdlib.h>
#ifdef __cplusplus
extern "C"
#endif
void (*phy_capture) (int netif_idx, const char* data, size_t len, int out, int success);
/////////////////////////////////////////////////////////////////////////////
#if UDEBUG && UDEBUGSTORE