New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Huawei H14-231_V1.0 Exam - 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:

0/2000 characters
Coleen
2 months ago
Function 1 is all about discoverDevices(), no doubt there!
upvoted 0 times
...
Dominic
2 months ago
Function 3 should use connect(), right? Sounds right to me!
upvoted 0 times
...
Dorothy
2 months ago
Function 2 definitely needs createGroup() and removeGroup()!
upvoted 0 times
...
Donte
3 months ago
Wait, do we really need SET_WIFI_INFO for that? Seems odd.
upvoted 0 times
...
Lasandra
3 months ago
I agree, but isn't ohos.permission.GET_WIFI_INFO a bit overkill?
upvoted 0 times
...
Shaunna
3 months ago
I feel like function 1 was about discovering devices, but I can't remember if discoverDevices() was the exact method mentioned in our practice questions.
upvoted 0 times
...
Man
3 months ago
For function 3, I recall that connect() is definitely involved, but I'm a bit confused about whether ohos.permission.SET_WIFI_INFO is the only permission needed.
upvoted 0 times
...
Chara
4 months ago
I think I saw a similar question about initializing the P2P messenger, and it mentioned using the init() interface. I wonder if that's what option B is referring to.
upvoted 0 times
...
Lashanda
4 months ago
I remember studying the permissions needed for WLAN P2P, but I'm not completely sure if ohos.permission.GET_WIFI_INFO is the right one for creating groups.
upvoted 0 times
...
Maryrose
4 months ago
This is a good test of our understanding of the WLAN P2P functions. I'll make sure to review the relevant documentation before submitting my answer.
upvoted 0 times
...
Omer
4 months ago
Based on the information given, I think option A is the correct answer. The descriptions match up with the functions mentioned.
upvoted 0 times
...
Lenna
4 months ago
I'm a bit confused by the wording of the question. I'll need to re-read it carefully to make sure I don't miss any important nuances.
upvoted 0 times
...
Shantay
5 months ago
Okay, let me think this through step-by-step. I believe the key is identifying which functions correspond to the descriptions provided.
upvoted 0 times
...
Shenika
5 months ago
This question seems straightforward, but I want to make sure I understand the details correctly before answering.
upvoted 0 times
...
Salome
9 months ago
Wait, is this a trick question? I feel like I'm missing something obvious here. *scratches head*
upvoted 0 times
Adria
8 months 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
8 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
8 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
9 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
10 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
8 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
9 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
9 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
10 months ago
Hmm, that makes sense. I see your point about the permissions required in function B.
upvoted 0 times
...
Elin
10 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
10 months ago
I think the correct function is A, because it mentions createGroup() and removeGroup() interfaces.
upvoted 0 times
...
Annamaria
10 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
9 months ago
Exactly. And for that, you would need the GET_WIFI_INFO permission.
upvoted 0 times
...
Rochell
9 months ago
So, for creating and removing groups, we would use createGroup() and removeGroup() interfaces, right?
upvoted 0 times
...
Trevor
10 months ago
Yes, that's correct. Connect() is used for initiating a connection and SET_WIFI_INFO permission is needed.
upvoted 0 times
...
Dorcas
10 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
10 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
10 months ago
Yes, initializing the P2P messenger and requesting both permissions is necessary for those functions.
upvoted 0 times
...
Shannon
10 months ago
I agree, Option B is the correct answer.
upvoted 0 times
...
...
Phillip
11 months ago
Option A looks good to me. Creating and removing groups definitely requires the GET_WIFI_INFO permission.
upvoted 0 times
...

Save Cancel