IoT SDK 2.9.7 softap example with mrf61(mm6108)

Hello

I’m currently trying to run the soft AP example on the following environment:

Board: Nucleo U575ZI
Interface: SDIO
HaLow module: MegaChips MRF61 (MM6108)

When I try to run the soft AP example, the AP fails to start. Is there a solution?

>>Failed to start Soft AP (status 1)

Other porting assistant examples and scan examples work fine.

I’d appreciate any help.

Also, is the IoT SDK 2.9.7 on GitHub the latest version?

I’m curious because the IoT SDK 2.9.7 source code isn’t available on the customer portal.

HI @matsunaga

Yes, 2.9.7 is the latest public release version.

This may be to do with configuration. There are additional parameters which need to be set in the configuration store to bring up an access point. These are wlan.op_class, wlan.s1g_chan_num, wlan.pri_bw_mhz and wlan.pri_1mhz_chan_idx. The defaults for these are US/AU options (25, 44, 0, 0) which would likely fail on your hardware due to the implied 8MHz bandwidth set by the 25 op class.

Take a look at mm-iot-sdk/examples/softap/src/mm_app_regdb.c at main · MorseMicro/mm-iot-sdk · GitHub, for Japan you might want to use 12, 38, 0, 0 for the respective settings which would set you to 925.5kHz, 4MHz.

Hi ajudge

Thank you for your reply.

I added/changed the following configuration:
“wlan.op_class”: “12”
“wlan.s1g_chan_num”: “38”
“wlan.pri_bw_mhz”: “0”
“wlan.pri_1mhz_chan_idx”: “0”

As a result, mmwlan_softap_enable fails, resulting in the error “Failed to start Soft AP (status 1).”

Is there a way to find out more details about error status 1?