How to set an WiFi11 Click (BW16) Access Point (AP) in security mode

Hello.

I can’t turn on the AP mode in security mode
An error occured when I am running example
(Open the WiFi AP example, “File” → “Examples” → “WiFi” → “WiFiAPMode”)

  • Platform : Arduino
  • Power : USB
  • Amebad : 3.1.6
char ssid[] = "2203KR0202-0039"; char pass[] = "xxxxxxxxxx"; char channel[] = "1"; 1. Security mode : WiFi.apbegin(ssid, pass, channel, ssid_status); <-- got the error 2. Open Mode : WiFi.apbegin(ssid, channel); <-- work well

if anyone have solution to my problem it’d be really helpful…

[2023-07-04 13:47:34.210] #calibration_ok:[2:19:11]
[2023-07-04 13:47:34.260] Attempting to start AP with SSID: 2203KR0202-0039
[2023-07-04 13:47:34.260] interface 0 is initialized
[2023-07-04 13:47:34.280] interface 1 is initialized
[2023-07-04 13:47:34.280]
[2023-07-04 13:47:34.280] Initializing WIFI …
[2023-07-04 13:47:34.430]
[2023-07-04 13:47:34.430] WIFI initialized
[2023-07-04 13:47:34.430] IPv4 enabled
[2023-07-04 13:47:34.430]
[2023-07-04 13:47:34.430] Starting AP (0x400004) …
[2023-07-04 13:47:35.160] Hard Fault Error!!!
[2023-07-04 13:47:35.160]
[2023-07-04 13:47:35.160] R0 = 0x1
[2023-07-04 13:47:35.160] R1 = 0x0
[2023-07-04 13:47:35.160] R2 = 0x0
[2023-07-04 13:47:35.160] R3 = 0x0
[2023-07-04 13:47:35.160] R12 = 0x40080124
[2023-07-04 13:47:35.160] LR = 0xc00f7c9
[2023-07-04 13:47:35.160] PC = 0xbc0b5b4
[2023-07-04 13:47:35.160] xPSR = 0x4100022a
[2023-07-04 13:47:35.160]
[2023-07-04 13:47:35.160] PriMask: 0x0
[2023-07-04 13:47:47.316]
[2023-07-04 13:47:47.316] #calibration_ok:[2:19:11]
[2023-07-04 13:47:47.386] Attempting to start AP with SSID: 2203KR0202-0039
[2023-07-04 13:47:47.386] interface 0 is initialized
[2023-07-04 13:47:47.386] interface 1 is initialized
[2023-07-04 13:47:47.386]
[2023-07-04 13:47:47.386] Initializing WIFI …
[2023-07-04 13:47:47.536]
[2023-07-04 13:47:47.536] WIFI initialized
[2023-07-04 13:47:47.536] IPv4 enabled
[2023-07-04 13:47:47.536]
[2023-07-04 13:47:47.536]
[2023-07-04 13:47:47.536]
[2023-07-04 13:47:47.536] Starting AP (0x400004) …
[2023-07-04 13:47:48.335]
[2023-07-04 13:47:48.335] 2203KR0202-0039 started
[2023-07-04 13:48:00.987]
[2023-07-04 13:48:00.987] #calibration_ok:[2:19:11]
[2023-07-04 13:48:01.050] Attempting to start AP with SSID: 2203KR0202-0039
[2023-07-04 13:48:01.050] interface 0 is initialized
[2023-07-04 13:48:01.050] interface 1 is initialized
[2023-07-04 13:48:01.050]
[2023-07-04 13:48:01.050]
[2023-07-04 13:48:01.050] Initializing WIFI …
[2023-07-04 13:48:01.200]
[2023-07-04 13:48:01.200] WIFI initialized
[2023-07-04 13:48:01.200] IPv4 enabled
[2023-07-04 13:48:01.200]
[2023-07-04 13:48:01.200]
[2023-07-04 13:48:01.200]
[2023-07-04 13:48:01.200] Starting AP (0x400004) …
[2023-07-04 13:48:02.014]
[2023-07-04 13:48:02.014] 2203KR0202-0039 started
[2023-07-04 13:48:07.363]
[2023-07-04 13:48:07.363] #calibration_ok:[2:19:11]
:
: