Sdk wizard setup for wifi when client is bridge

still using sdk 2.6.6. When you go through the wizard and setup a client, if you pick bridge, I’d like it to automatically pick to enable its wifi ap if it isn’t already set. So, when the client has bridge selected on its wizard page, then you hit next, where is it in the html that I could change it to automatically set the wifi ap to enabled so the user doesn’t have to if the client has bridge selected?

Likewise, how could I have the wizard page always default the dpp setting to ‘manual config’ so I don’t have to click that when that page appears the first time?

Also, how does enabling the wifi on the ap help? If client is bridge and station is router, I can connect to client wifi and get to client and ap web pages. But I haven’t found utility in connecting to the ap wifi. How is that used or what does it do for you?

To change the defaults, the easiest way is set them in uci in the renderPages function:

In general, these wizards though are written for people to set up our EKH devices. If you have your own application, I would recommend writing something from scratch which does exactly what you want. If you want to use the wizards as the base, there are a number of improvements and bug-fixes to these in our latest release compared to 2.6.

Also, how does enabling the wifi on the ap help? If client is bridge and station is router, I can connect to client wifi and get to client and ap web pages. But I haven’t found utility in connecting to the ap wifi. How is that used or what does it do for you?

This allows non-HaLow devices (e.g. phones) to easily access the AP for configuration purposes, regardless of whether a HaLow client is connected or nearby. After all, even if the client is connected, it might be too far away!