mirror of
https://github.com/sengeiou/realtek_ameba_mp_sdk.git
synced 2026-07-07 03:55:42 +00:00
ameba micropython sdk first commit
This commit is contained in:
commit
8508ee6139
5619 changed files with 1874619 additions and 0 deletions
21
sdk/component/common/test/wlan/wlan_socket_test.h
Normal file
21
sdk/component/common/test/wlan/wlan_socket_test.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
//----------------------------------------------------------------------------//
|
||||
#ifndef __WLAN_SOCKET_TEST_H
|
||||
#define __WLAN_SOCKET_TEST_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Exported test functions ------------------------------------------------------- */
|
||||
void reset_socket_test_cb();
|
||||
void do_socket_test(int task_num, int rw_num, int non_stop);
|
||||
void reset_socket_test_status();
|
||||
void do_socket_test(int task_num, int rw_num, int non_stop);
|
||||
void do_socket_connect(void);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // __WLAN_SOCKET_TEST_H
|
||||
|
||||
//----------------------------------------------------------------------------//
|
||||
23
sdk/component/common/test/wlan/wlan_test_inc.h
Normal file
23
sdk/component/common/test/wlan/wlan_test_inc.h
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
//----------------------------------------------------------------------------//
|
||||
#ifndef __MAIN_TEST_H
|
||||
#define __MAIN_TEST_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Exported test functions ------------------------------------------------------- */
|
||||
void do_ping_test(char *ip, int size, int count, int interval);
|
||||
void do_ping_call(char *ip, int loop, int count);
|
||||
void do_deinit_test(int mode, int ap_started);
|
||||
void interactive_question(char *question, char *choice, char *buf, int buf_size);
|
||||
void start_interactive_mode(void);
|
||||
void post_init(unsigned int config_start_ap);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // __MAIN_TEST_H
|
||||
|
||||
//----------------------------------------------------------------------------//
|
||||
Loading…
Add table
Add a link
Reference in a new issue