当前位置:网站首页>Lesson 2 WiFi experiment of hi3861 -api-3
Lesson 2 WiFi experiment of hi3861 -api-3
2022-07-21 07:53:00 【Dandelion, let it be】
Continuation of the previous article 《 The first 2 speak Hi3861 Of WiFi experiment -API-2》
One 、Wifiservice
1.2 Wifiservice Of API( To continue )
1.2.14 function :AddDeviceConfig
In the header file wifi_device.h
Statement ; In the source file wifi_device.c
In the definition of . documentation :
https://device.harmonyos.com/cn/docs/documentation/apiref/wifiservice-0000001055195054
1、 function
stay Station In mode , Call this function to WiFi The device adds a connectable WiFi Hot information , And generate a unique network number , Used to refer to this WiFi The Internet . The function of this function is similar to that of our mobile phone WiFi In the setup ” Add network “.
2、 Prototype
WifiErrorCode AddDeviceConfig (const WifiDeviceConfig * config, int * result)
3、 Parameters
config
: Point to WifiDeviceConfig
Pointer to structure . Before calling this function , First define a WifiDeviceConfig
Structure , take WiFi One to which the device can be connected WiFi Hot
边栏推荐
- [summer daily question] Luogu P8400 [ccc2022 j1] Cupcake party
- 【C语言进阶】自定义类型——结构体的位段&&枚举&&联合体
- 放弃免费Inoreader 自建RSS阅读器—Tiny Tiny RSS和FreshRSS
- Ultra light fast generic face detector 1MB custom dataset training | multi classification modification Guide (1)
- R语言epiDisplay包的idr.display函数获取泊松回归poisson模型的汇总统计信息(初始事件密度比IDR值、调整事件密度比IDR值及其置信区间、Wald检验的p值和似然比检验的p值
- 性能分析方法-《性能之巅》笔记
- Redis Learning notes (1) - Power Node of Station B
- R language ggplot2 visualization: use the ggviolin function of ggpubr package to visualize the violin diagram, set the add parameter, add the mean standard deviation line inside the violin, and set er
- Uva11627 (website cannot be accessed, not submitted)
- 2020 Huawei cloud community annual technology collection, 700 pages + free download| Yunxiang library No.01 recommendation (with free download)
猜你喜欢
随机推荐
新建第一个HBuilder项目
KusionStack 开源|Kusion 模型库和工具链的探索实践
What is the difference between dall-e2 and imgen? Reddit hot post inventory effect difference
初识MySQL
【Web漏洞探索】外部实体注入漏洞
[security bulletin] Apache spark shell command injection vulnerability (cve-2022-33891) risk notification
Ocr/str data training | fine tune FAQ summary of paddleocr (3)
【暑期每日一题】洛谷 P8400 [CCC2022 J1] Cupcake Party
云原生平台,让边缘应用玩出花!
how to deal with " no such file error or diretory" error for a new programmer in QT creator
自动推理的逻辑05--谓词演算
【C语言进阶】自定义类型——结构体的位段&&枚举&&联合体
音视频学习(九)——RTCP协议
ovirt:api接口+keystone接口+neutron接口示例
fc能一直运行后台脚本程序吗?例如不停的去数据库拿数据处理写到另一个数据库
R语言ggplot2可视化:可视化散点图并为散点图中的数据点添加文本标签、使用ggrepel包的geom_text_repel函数避免数据点之间的标签互相重叠(设置不同大小数据点的标签互相不重叠、分离
开源demo| ARCall 小程序开源示例发布
OCR/STR生僻字数据训练 | PaddleOCR的垂类Fine-tune(2)
UIScrollView 和 UIPageControl 实现启动滑动图[通俗易懂]
第2讲 Hi3861的WiFi实验-API-2