# STA\_Connect example timeout issue

**URL:** <https://community.morsemicro.com/t/sta-connect-example-timeout-issue/1924>\
**Category:** General\
**Created:** [August 9, 2026, 5:24pm UTC](https://community.morsemicro.com/t/sta-connect-example-timeout-issue/1924 "2026-08-09T17:24:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![omumbare](https://avatars.discourse-cdn.com/v4/letter/o/96bed5/32.png) [@omumbare](https://community.morsemicro.com/u/omumbare)\
**Post date:** [August 9, 2026, 5:24pm UTC](https://community.morsemicro.com/t/sta-connect-example-timeout-issue/1924/1 "2026-08-09T17:24:26Z")

</div>

hi, I have 2 esp 32 p4 wifi 6 devkits, connected to FGH100MAAMD M.2 boards (soldered using thin wires less than 6cm in lenght) however, when i run softAP example on one esp hoping to connect to it using STA\_Connect example, it simply time outs and never connects

 ![image](https://us1.discourse-cdn.com/flex001/uploads/morsemicro/original/1X/780cc003f3d939d96fc2f0a7187be33f81714d28.png)

 ![image](https://us1.discourse-cdn.com/flex001/uploads/morsemicro/original/1X/09418e189aef72bfd395635d38fdb339ff6ef60b.png)

Can this be due to some thread starvation? there is nothing else connected to my esp, just the halow (powered using 3.3v line of esp )  
All tests of porting assistant passed for both boards.

---

<div class="post-metadata">

**Author:** ![ldennis](https://avatars.discourse-cdn.com/v4/letter/l/3ab097/32.png) [@ldennis](https://community.morsemicro.com/u/ldennis)\
**Post date:** [August 16, 2026, 12:00pm UTC](https://community.morsemicro.com/t/sta-connect-example-timeout-issue/1924/2 "2026-08-16T12:00:21Z")

</div>

@omumbare FYI currently AP mode is not officially supported in EU, GB, IN country codes. We’re looking at adding it in the 2.14 release (public end of Oct).

To investigate further, I’d recommend adding a callback for scan events to log the scan results received, to see if your STA is seeing the AP at all

> <https://github.com/MorseMicro/mm-iot-sdk/blob/main/framework/morselib/include/mmwlan.h#L1136-L1137>
