LwIP v2 support
This commit is contained in:
		
							parent
							
								
									1cfded6389
								
							
						
					
					
						commit
						cd23acaa4a
					
				
					 39 changed files with 1357 additions and 664 deletions
				
			
		|  | @ -44,9 +44,9 @@ enum { | |||
| }; | ||||
| 
 | ||||
| struct ip_info { | ||||
|     struct ip_addr ip; | ||||
|     struct ip_addr netmask; | ||||
|     struct ip_addr gw; | ||||
|     struct ip4_addr ip; | ||||
|     struct ip4_addr netmask; | ||||
|     struct ip4_addr gw; | ||||
| }; | ||||
| 
 | ||||
| bool sdk_wifi_get_ip_info(uint8_t if_index, struct ip_info *info); | ||||
|  |  | |||
|  | @ -20,7 +20,7 @@ | |||
| extern "C" { | ||||
| #endif | ||||
| 
 | ||||
| struct ip_addr; | ||||
| struct ip4_addr; | ||||
| 
 | ||||
| /*********************************************
 | ||||
| * Defined in libmain.a | ||||
|  | @ -43,17 +43,6 @@ int sdk_uart_rx_one_char(char *buf); | |||
|  */ | ||||
| void sdk_os_putc(char c); | ||||
| 
 | ||||
| /* Called when an IP gets set on the "station" (client) interface.
 | ||||
|  */ | ||||
| void sdk_system_station_got_ip_set(struct ip_addr *ip_addr, struct ip_addr *sn_mask, struct ip_addr *gw_addr); | ||||
| 
 | ||||
| /* This is a no-op wrapper around ppRecycleRxPkt, which is defined in libpp.a
 | ||||
| 
 | ||||
|    It's called when a pbuf is freed, and allows pp to reuse the 'eb' pointer to ESP-specific | ||||
|    pbuf data. (See esp-lwip pbuf.h) | ||||
|  */ | ||||
| void sdk_system_pp_recycle_rx_pkt(void *eb); | ||||
| 
 | ||||
| #ifdef	__cplusplus | ||||
| } | ||||
| #endif | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue