Add tcp client/server echo example. @EVB_LN882x
This commit is contained in:
16
examples/wifi_ln882x/tcp_client_echo.h
Normal file
16
examples/wifi_ln882x/tcp_client_echo.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef __TCP_CLIENT_ECHO_H__
|
||||
#define __TCP_CLIENT_ECHO_H__
|
||||
|
||||
#include "stdint.h"
|
||||
|
||||
typedef struct{
|
||||
uint8_t * ip;
|
||||
uint32_t port;
|
||||
}target_ser_t;
|
||||
|
||||
void tcp_client_echo_task_creat(uint8_t * ser_ip, uint32_t port);
|
||||
|
||||
|
||||
|
||||
#endif /* __TCP_CLIENT_ECHO_H__ */
|
||||
|
Reference in New Issue
Block a user