当前位置:网站首页>Meiker Studio - Huawei 14 day Hongmeng equipment development practical notes 6
Meiker Studio - Huawei 14 day Hongmeng equipment development practical notes 6
2022-07-23 20:05:00 【keoubaou~】
One .OpenHarmony Wireless networking development ——WiFi AP hotspot
1.AP hotspot API Introduce
wifi_hotspot.h Interface profile :
This wifi_hotspot.h Contains a declaration AP Hotspot related interface functions .
The interface name | Function description |
EnableHotspot | Enable AP Hot mode |
DisableHotspot | Ban AP Hot mode |
SetHotspotConfig | Sets the specified hotspot configuration |
GetHotspotConfig | Get a special hotspot configuration |
IsHotspotActive | Check AP Whether hotspot mode is enabled |
GetStationList | Get a list of connected to the hotspot STA |
GetSignalLEvel | Obtain the received signal strength and frequency |
2.AP Hotspot creation code interpretation
open "D1_iot_wifi_ap" engineering wifi_ap.c file , You can view the implementation creation in the code Wifi Hot code


Two .OpenHarmony Wireless networking development ——WiFi STA Connected to the Internet
1.STA Networking related API
wifi_device.h Interface profile :
This wifi_device.h Contains a declaration AP Hotspot related interface functions .
The interface name | Function description |
EnableWiFi | Enable WiFi STA Pattern |
DisableHotspot | Ban WiFi STA Pattern |
IsWifiActive | Check WiFi STA Whether the mode is enabled |
Scan | Scan hotspot information |
GetScanlnfoList | Get a list of all scanned hotspots |
AddDeviceConfig | Configure connection to hotspot information |
GetDeviceConfigs | Get configuration connection to hotspot information |
RemoveDevice | Delete the specified hotspot configuration information |
ConnectTo | Connect to the specified hotspot |
Disconnect | To break off Wifi Connect |
GetLinkedlnfo | Get hotspot connection information |
GetDeviceMacAddress | Acquiring equipment MAC Address |
2.AP Hotspot creation code interpretation
open "D2_iot_wifi_sta_connect" engineering wifi_sta_connect.c file , You can view the implementation connection in the code Wifi Hot business code .


边栏推荐
- 2022/7/22 训练日志
- Lecture 9 of project practice -- operation import and export tool
- 深入浅出边缘云 | 1. 概述
- Relevant interfaces of [asp.net core] option mode
- Energy principle and variational method note 16: solution of virtual displacement principle
- Debian | Can’t locate Debian/Debhelper/Sequence/germinate.pm in @INC
- JDK安装包和Mysql安装包整理
- Ggarrange function of R language ggpubr package combines and annotates multiple images_ Figure add annotation, annotation, annotation information to the combined image, and add annotation information
- Cannot read properties of null (reading ‘pickAlgorithm‘)
- R language uses the ggarrange function of ggpubr package to combine multiple images, and uses the ggexport function to save the visual images in BMP format (width parameter specifies width, height par
猜你喜欢

next数值型数据类型()出现输入错误后,下次依然能正常输入

White paper on adaptive robot interaction
![Codeforces round 809 (Div. 2) [VP record]](/img/1d/17a28f3c77aa419e63a955a8445e7a.png)
Codeforces round 809 (Div. 2) [VP record]

Leetcode 152. 乘积最大子数组(暴力破解居然可以通过!)

Osgearth2.8 compiling silvering cloud effect

Mysql主从复制

C language leak detection and filling (1)

Introduction to web security SSH testing and defense

搭建自己的目标检测环境,模型配置,数据配置 MMdetection

AtCoder——Subtree K-th Max
随机推荐
[激光器原理与应用-8]: 激光器电路的电磁兼容性EMC设计
R language uses the gather function of tidyr package to convert a wide table to a long table (wide table to long table), the first parameter specifies the name of the new data column generated from th
【ASP.NET Core】选项模式的相关接口
Leetcode 238. 除自身以外数组的乘积
Adobe Acrobat two powerful plug-ins
Meiker Studio - Huawei 14 day Hongmeng equipment development practical notes 4
干货!神经网络中的隐性稀疏正则效应
能量原理与变分法笔记14:总结+问题的求解
How important is 5g dual card and dual access?
Uncover the working principle of solid state disk
BM14 链表的奇偶重排
Robot decision-making system based on self-learning (daki technology, Zhao kaiyong)
Paddle implementation, multidimensional time series data enhancement, mixup (using beta distribution to make continuous random numbers)
[interview: concurrent Article 22 multithreading: reentrantlock]
AtCoder——Subtree K-th Max
2022上半年中国十大收缩行业
MySQL 数据恢复 —— 使用 data 目录
osgearth2.8编译siverlining云效果
Powercli management VMware vCenter batch deployment export import
Edge cloud | 1. overview