BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - 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

Posted by Ricki on Apr 07, 2025 at 04:40 PM

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?

Suggested Answer: A, B

Get Premium H14-231_V1.0 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
35 comments · newest first
CO
Coleen 11 months ago
Function 1 is all about discoverDevices(), no doubt there!
DO
Dominic 11 months ago
Function 3 should use connect(), right? Sounds right to me!
DO
Dorothy 11 months ago
Function 2 definitely needs createGroup() and removeGroup()!
DO
Donte 12 months ago
Wait, do we really need SET_WIFI_INFO for that? Seems odd.
LA
Lasandra 12 months ago
I agree, but isn't ohos.permission.GET_WIFI_INFO a bit overkill?
SH
Shaunna 1 year 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.
MA
Man 1 year 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.
CH
Chara 1 year 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.
LA
Lashanda 1 year 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.
MA
Maryrose 1 year 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.
OM
Omer 1 year ago
Based on the information given, I think option A is the correct answer. The descriptions match up with the functions mentioned.
LE
Lenna 1 year 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.
SH
Shantay 1 year ago
Okay, let me think this through step-by-step. I believe the key is identifying which functions correspond to the descriptions provided.
SH
Shenika 1 year ago
This question seems straightforward, but I want to make sure I understand the details correctly before answering.
SA
Salome 2 years ago
Wait, is this a trick question? I feel like I'm missing something obvious here. *scratches head*
AD
Adria 1 year ago
↳ replying to Salome
D) To implement function 1, you need to use the discoverDevices() interface, and you need to request the ohos.permission.SET WIFI INFO permission
MA
Maricela 1 year ago
↳ replying to Salome
C) In order to implement feature 3, connect() needs to be used, and ohos.permission.SET_WIFI_INFO permission needs to be requested
AN
Andra 1 year ago
↳ replying to Salome
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.
ED
Edgar 1 year ago
↳ replying to Salome
A) To implement function 2, you need to use the createGroup() and removeGroup() interfaces, and you need to ohos.permission.GET_WIFI_INFO permissions
LA
Lashon 2 years ago
Hmm, I'm not sure about Option D. Discovering devices doesn't seem to need the SET_WIFI_INFO permission.
KI
King 1 year ago
↳ replying to Lashon
C) In order to implement feature 3, connect() needs to be used, and ohos.permission.SET_WIFI_INFO permission needs to be requested
KA
Kati 1 year ago
↳ replying to Lashon
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.
GL
Glenn 1 year ago
↳ replying to Lashon
A) To implement function 2, you need to use the createGroup() and removeGroup() interfaces, and you need to ohos.permission.GET_WIFI_INFO permissions
KI
King 2 years ago
Hmm, that makes sense. I see your point about the permissions required in function B.
EL
Elin 2 years ago
I disagree, I believe function B is correct because it mentions initializing the P2P messenger through the init() interface.
KI
King 2 years ago
I think the correct function is A, because it mentions createGroup() and removeGroup() interfaces.
AN
Annamaria 2 years ago
Option C seems like the way to go. Initiating a connection to a peer device requires the SET_WIFI_INFO permission.
GI
Gianna 1 year ago
↳ replying to Annamaria
Exactly. And for that, you would need the GET_WIFI_INFO permission.
RO
Rochell 1 year ago
↳ replying to Annamaria
So, for creating and removing groups, we would use createGroup() and removeGroup() interfaces, right?
TR
Trevor 2 years ago
↳ replying to Annamaria
Yes, that's correct. Connect() is used for initiating a connection and SET_WIFI_INFO permission is needed.
DO
Dorcas 2 years ago
↳ replying to Annamaria
Option C seems like the way to go. Initiating a connection to a peer device requires the SET_WIFI_INFO permission.
ET
Ettie 2 years 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.
SH
Shannon 2 years ago
↳ replying to Ettie
Yes, initializing the P2P messenger and requesting both permissions is necessary for those functions.
SH
Shannon 2 years ago
↳ replying to Ettie
I agree, Option B is the correct answer.
PH
Phillip 2 years ago
Option A looks good to me. Creating and removing groups definitely requires the GET_WIFI_INFO permission.
0/2000 characters

Save Cancel