Related questions
Question 468 - H14-231_V1.0 discussion
When developing an application, a developer uses the WLAN P2P function to realize point-to-point data transmission between devices. Function 2, Create and remove groups, Function 3, Initiate a connection to the peer device.Which of the above functions is correct in the following descriptions?
A.
To implement function 2, you need to use the createGroup() and removeGroup() interfaces, and you need to ohos.permission.GET_WIFI_INFO permissions
B.
In order to achieve the above functions, you need to initialize the P2P messenger through the init(), interface, and need to request ohos.permssion.GET_WIFI_INFO and ohos.premission.SET_WIFI_INFO permissions.
C.
In order to implement feature 3, connect() needs to be used, and ohos.permission.SET_WIFI_INFO permission needs to be requested
D.
To implement function 1, you need to use the discoverDevices() interface, and you need to request the ohos.permission.SET WIFI INFO permission
Your answer:
0 comments
Sorted by
Leave a comment first