Create functions in wifi.c and wifi.h: - an wifi accesspoint can be created - connect to an existing wifi anf disconnect Add code for testing to main.cpp: repeatedly connects, disconnects and switches between AP and connecting to BKA-network every run New functions //init components (run in main function once) void wifi_initNvs_initNetif(); //function to start an access point void wifi_init_ap(void); //function to disable/deinit access point void wifi_deinit_ap(void); //function to connect to existing wifi network void wifi_init_client(void); //function to disable/deinit client void wifi_deinit_client(void);
611 B
611 B