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:
@ -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
|
||||
|
Reference in New Issue
Block a user