Copyright © https://mongoose-os.com

Mongoose OS Forum

frame

Wifi Smartconfig with ESP8266

Hello,

I've read in the forum several times that you don't plan to support Wifi Smartconfig (ESP-Touch / Airkiss). Could you please tell me the reason?

Also I've tried to use Smartconfig API directly:

#include "smartconfig.h"
#include "user_interface.h"
...
wifi_set_opmode_current(STATION_MODE);
smartconfig_start(sc_cb);
...

Unfortunately the build process failed because of linkage error:

/home/martin/m/mos/build/objs/main.c.o:(.text.mgos_app_init+0x28): undefined reference to `smartconfig_start'

I've tried to use libsmartconfig.a from the docker image (tried both from ESP8266 with and without RTOS) and referenced it by binary_libs but then I got different linkage errors.

Could you please give me an advice how to build ii?

Thanks in advance

Best regards

Sign In or Register to comment.