Page 1 of 1

Type too many arguments to function 'wifi_prov_mgr_start_provisioning'

Posted: Mon May 01, 2023 9:31 am
by arkayabt
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.

Re: Type too many arguments to function 'wifi_prov_mgr_start_provisioning'

Posted: Mon May 01, 2023 10:21 am
by EfogDev
You literally have too many arguments. It requires 4.

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

Re: Type too many arguments to function 'wifi_prov_mgr_start_provisioning'

Posted: Wed May 03, 2023 10:46 am
by arkayabt
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.