initial commit
This commit is contained in:
25
hal/hal_wifi/atbm6441/hal_interface_wifi_atbm6441.c
Executable file
25
hal/hal_wifi/atbm6441/hal_interface_wifi_atbm6441.c
Executable file
@@ -0,0 +1,25 @@
|
||||
/*************************************************
|
||||
File name : hal_interface_wifi_atbm6441.c
|
||||
Module : hal wifi library interface
|
||||
Author : amir
|
||||
Version :
|
||||
Created on : 2020-10-20
|
||||
Description :
|
||||
Data structure and function definitions required by
|
||||
the wifi interface
|
||||
|
||||
Modify History:
|
||||
1. Date: Author: Modification:
|
||||
*************************************************/
|
||||
#include "hal.h"
|
||||
#include "hal_interface_wifi.h"
|
||||
#define TAG "TAG_HAL_WIFI"
|
||||
#include "hlog.h"
|
||||
int32_t hal_wifi_init(){
|
||||
hlogd("%s", __func__);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int32_t hal_wifi_deinit(){
|
||||
return 0;
|
||||
}
|
||||
8
hal/hal_wifi/config.mk
Executable file
8
hal/hal_wifi/config.mk
Executable file
@@ -0,0 +1,8 @@
|
||||
HEADERS += $(HAL_DIR)/hal_wifi/*.h
|
||||
SRCDIRS += $(HAL_DIR)/hal_wifi
|
||||
|
||||
ifdef MOD_WIFI
|
||||
SRCDIRS += += $(HAL_DIR)/hal_wifi/$(MOD_WIFI)
|
||||
else
|
||||
$(warning warning you sure no hal_wifi?)
|
||||
endif
|
||||
31
hal/hal_wifi/hal_interface_wifi.h
Executable file
31
hal/hal_wifi/hal_interface_wifi.h
Executable file
@@ -0,0 +1,31 @@
|
||||
#ifndef __WIFI_H__
|
||||
#define __WIFI_H__
|
||||
|
||||
int32_t hal_wifi_init();
|
||||
int32_t hal_wifi_deinit();
|
||||
int32_t hal_wifi_init();
|
||||
int32_t hal_wifi_deinit();
|
||||
int32_t hal_wifi_scan();
|
||||
int32_t hal_wifi_join_network();
|
||||
int32_t hal_wifi_disconnect_network();
|
||||
int32_t hal_wifi_reconnect_network();
|
||||
int32_t hal_wifi_get_status();
|
||||
int32_t hal_wifi_get_current_ssid();
|
||||
int32_t hal_wifi_is_connected();
|
||||
int32_t hal_wifi_enter_sleep_mode();
|
||||
int32_t hal_wifi_register_callbacks();
|
||||
int32_t hal_wifi_set_keepalive_config();
|
||||
int32_t hal_wifi_factory_test();
|
||||
int32_t hal_wifi_clean_network();
|
||||
int32_t hal_wifi_get_interface_name();
|
||||
int32_t hal_wifi_get_rssi();
|
||||
int32_t hal_wifi_get_country_code();
|
||||
int32_t hal_wifi_set_country_code();
|
||||
int32_t hal_wifi_set_beacon_listen_interval();
|
||||
int32_t hal_wifi_set_p2p_license_info();
|
||||
int32_t hal_wifi_get_p2p_connection_info();
|
||||
int32_t hal_wifi_set_hostname();
|
||||
int32_t hal_wifi_set_static_ip();
|
||||
int32_t hal_wifi_set_region();
|
||||
int32_t hal_wifi_customer_cmd();
|
||||
#endif
|
||||
Reference in New Issue
Block a user