Type too many arguments to function 'wifi_prov_mgr_start_provisioning'

arkayabt
Posts: 17
Joined: Fri Dec 06, 2019 6:14 am

Type too many arguments to function 'wifi_prov_mgr_start_provisioning'

Postby arkayabt » Mon May 01, 2023 9:31 am

I am using esp32 for home automation project. I am getting error
C:/Espressif/frameworks/esp-idf-v4.4.4/workspace/IR_Blaster_24sep2022/main/app_prov.c:429:25: error: too many arguments to function 'wifi_prov_mgr_start_provisioning'
even if i am passing that variable as Boolean and value false.Kindly assist me in this. File of code attached here with. Thanks.
Attachments
app_prov.h
(1.06 KiB) Downloaded 159 times
app_prov.c
(17.13 KiB) Downloaded 155 times

EfogDev
Posts: 2
Joined: Mon May 01, 2023 7:33 am

Re: Type too many arguments to function 'wifi_prov_mgr_start_provisioning'

Postby EfogDev » Mon May 01, 2023 10:21 am

You literally have too many arguments. It requires 4.

https://docs.espressif.com/projects/esp ... tPKvPKcPKc

arkayabt
Posts: 17
Joined: Fri Dec 06, 2019 6:14 am

Re: Type too many arguments to function 'wifi_prov_mgr_start_provisioning'

Postby arkayabt » Wed May 03, 2023 10:46 am

Hi EfogDev,
Is it ok to remove last argument because it is Boolean and also false. Is it affect program if i remove this? I checked that after removing that 5th argument i am not getting any error.

Who is online

Users browsing this forum: MicroController and 92 guests