EC600U_esp32_iap_uart/HiLinkSDK/adapter/hilink_open_softap_adapter.c

37 lines
759 B
C
Raw Normal View History

2024-02-05 17:39:56 +08:00
/*
* Copyright (c) Huawei Technologies Co., Ltd. 2019-2021. All rights reserved.
* Description: SoftAP<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD><EFBFBD> (<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD><EFBFBD>)
*/
#include "hilink_open_softap_adapter.h"
/*
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ΪAPģʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>SoftAP<EFBFBD>ȵ<EFBFBD>
* ssid <EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><EFBFBD><EFBFBD>SoftAP<EFBFBD><EFBFBD>ssid
* ssidLen<EFBFBD><EFBFBD>ʾssid<EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡֵ64
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD>0<EFBFBD><EFBFBD>ʾ<EFBFBD>ɹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-1<EFBFBD><EFBFBD>ʾʧ<EFBFBD><EFBFBD>
*/
int HILINK_StartSoftAp(const char *ssid, unsigned int ssidLen)
{
return 0;
}
/*
* <EFBFBD><EFBFBD>ȡ<EFBFBD>IP
* broadcastIp<EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>IP<EFBFBD>Ļ<EFBFBD><EFBFBD><EFBFBD>
* len<EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>IP<EFBFBD>Ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD>0<EFBFBD><EFBFBD>ʾ<EFBFBD>ɹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-1<EFBFBD><EFBFBD>ʾʧ<EFBFBD><EFBFBD>
* ע<EFBFBD><EFBFBD>: broadcastIpΪ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʮ<EFBFBD><EFBFBD><EFBFBD>Ƹ<EFBFBD>ʽ
*/
int HILINK_GetBroadcastIp(char *broadcastIp, unsigned char len)
{
return 0;
}
/*
* <EFBFBD>ر<EFBFBD>SoftAP<EFBFBD>ȵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>л<EFBFBD>stationģʽ
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD>0<EFBFBD><EFBFBD>ʾ<EFBFBD>ɹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-1<EFBFBD><EFBFBD>ʾʧ<EFBFBD><EFBFBD>
*/
int HILINK_StopSoftAp(void)
{
return 0;
}