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
16 days ago
Wait, is this a trick question? I feel like I'm missing something obvious here. *scratches head*
upvoted 0 times
...
Lashon
21 days ago
Hmm, I'm not sure about Option D. Discovering devices doesn't seem to need the SET_WIFI_INFO permission.
upvoted 0 times
Glenn
10 hours 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
1 months ago
Hmm, that makes sense. I see your point about the permissions required in function B.
upvoted 0 times
...
Elin
1 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
1 months ago
I think the correct function is A, because it mentions createGroup() and removeGroup() interfaces.
upvoted 0 times
...
Annamaria
1 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
Trevor
23 days ago
Yes, that's correct. Connect() is used for initiating a connection and SET_WIFI_INFO permission is needed.
upvoted 0 times
...
Dorcas
26 days 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
2 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
1 months ago
Yes, initializing the P2P messenger and requesting both permissions is necessary for those functions.
upvoted 0 times
...
Shannon
1 months ago
I agree, Option B is the correct answer.
upvoted 0 times
...
...
Phillip
2 months ago
Option A looks good to me. Creating and removing groups definitely requires the GET_WIFI_INFO permission.
upvoted 0 times
...

Save Cancel