Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Huawei Exam H14-231_V1.0 Topic 6 Question 36 Discussion

Actual exam question for Huawei's H14-231_V1.0 exam
Question #: 36
Topic #: 6
[All H14-231_V1.0 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: A, B

Contribute your Thoughts:

Salome
3 months ago
Wait, is this a trick question? I feel like I'm missing something obvious here. *scratches head*
upvoted 0 times
Adria
30 days ago
D) To implement function 1, you need to use the discoverDevices() interface, and you need to request the ohos.permission.SET WIFI INFO permission
upvoted 0 times
...
Maricela
1 months ago
C) In order to implement feature 3, connect() needs to be used, and ohos.permission.SET_WIFI_INFO permission needs to be requested
upvoted 0 times
...
Andra
1 months ago
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.
upvoted 0 times
...
Edgar
2 months ago
A) To implement function 2, you need to use the createGroup() and removeGroup() interfaces, and you need to ohos.permission.GET_WIFI_INFO permissions
upvoted 0 times
...
...
Lashon
3 months ago
Hmm, I'm not sure about Option D. Discovering devices doesn't seem to need the SET_WIFI_INFO permission.
upvoted 0 times
King
2 months ago
C) In order to implement feature 3, connect() needs to be used, and ohos.permission.SET_WIFI_INFO permission needs to be requested
upvoted 0 times
...
Kati
2 months ago
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.
upvoted 0 times
...
Glenn
2 months ago
A) To implement function 2, you need to use the createGroup() and removeGroup() interfaces, and you need to ohos.permission.GET_WIFI_INFO permissions
upvoted 0 times
...
...
King
3 months ago
Hmm, that makes sense. I see your point about the permissions required in function B.
upvoted 0 times
...
Elin
3 months ago
I disagree, I believe function B is correct because it mentions initializing the P2P messenger through the init() interface.
upvoted 0 times
...
King
3 months ago
I think the correct function is A, because it mentions createGroup() and removeGroup() interfaces.
upvoted 0 times
...
Annamaria
4 months ago
Option C seems like the way to go. Initiating a connection to a peer device requires the SET_WIFI_INFO permission.
upvoted 0 times
Gianna
2 months ago
Exactly. And for that, you would need the GET_WIFI_INFO permission.
upvoted 0 times
...
Rochell
2 months ago
So, for creating and removing groups, we would use createGroup() and removeGroup() interfaces, right?
upvoted 0 times
...
Trevor
3 months ago
Yes, that's correct. Connect() is used for initiating a connection and SET_WIFI_INFO permission is needed.
upvoted 0 times
...
Dorcas
3 months ago
Option C seems like the way to go. Initiating a connection to a peer device requires the SET_WIFI_INFO permission.
upvoted 0 times
...
...
Ettie
4 months ago
I think Option B is the correct answer. You need to initialize the P2P messenger and request both GET_WIFI_INFO and SET_WIFI_INFO permissions.
upvoted 0 times
Shannon
3 months ago
Yes, initializing the P2P messenger and requesting both permissions is necessary for those functions.
upvoted 0 times
...
Shannon
3 months ago
I agree, Option B is the correct answer.
upvoted 0 times
...
...
Phillip
4 months ago
Option A looks good to me. Creating and removing groups definitely requires the GET_WIFI_INFO permission.
upvoted 0 times
...

Save Cancel