# How to debug when STA is not connecting to AP

**URL:** https://community.morsemicro.com/t/how-to-debug-when-sta-is-not-connecting-to-ap/1366
**Category:** Embedded
**Created:** [February 6, 2026, 7:29am UTC](https://community.morsemicro.com/t/how-to-debug-when-sta-is-not-connecting-to-ap/1366 "2026-02-06T07:29:42Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![arun.v.emqos](https://avatars.discourse-cdn.com/v4/letter/a/6a8cbe/32.png) [@arun.v.emqos](https://community.morsemicro.com/u/arun.v.emqos)
#### Post date: [February 6, 2026, 7:29am UTC](https://community.morsemicro.com/t/how-to-debug-when-sta-is-not-connecting-to-ap/1366/1 "2026-02-06T07:29:42Z")

</div>

Yesterday, after sometime the ping application was no longer connecting to softAP.

In order to debug that I put both the board with ping application and I tried connecting to ASIARF gateway which we purchased. Only one of the board was connecting to ASIARF gateway.  
Today morning both the boards are not connecting to ASIARF gateway.

How do i debug this? Is it possible to get some logs from Firmware. Is it possible to get the list of frequency it is scanning?

---

<div class="post-metadata">

### Author: ![arun.v.emqos](https://avatars.discourse-cdn.com/v4/letter/a/6a8cbe/32.png) [@arun.v.emqos](https://community.morsemicro.com/u/arun.v.emqos)
#### Post date: [February 6, 2026, 8:29am UTC](https://community.morsemicro.com/t/how-to-debug-when-sta-is-not-connecting-to-ap/1366/2 "2026-02-06T08:29:13Z")

</div>

Can you please share API reference manual for 2.9.2 SDK

---

<div class="post-metadata">

### Author: ![ajudge](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@ajudge](https://community.morsemicro.com/u/ajudge)
#### Post date: [February 6, 2026, 8:51am UTC](https://community.morsemicro.com/t/how-to-debug-when-sta-is-not-connecting-to-ap/1366/3 "2026-02-06T08:51:22Z")

</div>

There is an API reference manual in PDF form available here: [https://github.com/MorseMicro/mm-iot-sdk/releases/download/2.9.7/Morse\_Micro\_IoT\_SDK\_2.9.7\_API\_Reference\_Manual.pdf](https://github.com/MorseMicro/mm-iot-sdk/releases/download/2.9.7/Morse_Micro_IoT_SDK_2.9.7_API_Reference_Manual.pdf)

It is also available by simply opening `documentation.html` with your web browser inside the extracted mm-iot-sdk

---

<div class="post-metadata">

### Author: ![arun.v.emqos](https://avatars.discourse-cdn.com/v4/letter/a/6a8cbe/32.png) [@arun.v.emqos](https://community.morsemicro.com/u/arun.v.emqos)
#### Post date: [February 9, 2026, 5:21am UTC](https://community.morsemicro.com/t/how-to-debug-when-sta-is-not-connecting-to-ap/1366/4 "2026-02-09T05:21:29Z")

</div>

I am finding that the ping application made from 2.9.7 is no longer connecting to Access point. The old ping application(made with older build) is working. How can i further understand why it is not working

---

<div class="post-metadata">

### Author: ![arun.v.emqos](https://avatars.discourse-cdn.com/v4/letter/a/6a8cbe/32.png) [@arun.v.emqos](https://community.morsemicro.com/u/arun.v.emqos)
#### Post date: [February 9, 2026, 8:15am UTC](https://community.morsemicro.com/t/how-to-debug-when-sta-is-not-connecting-to-ap/1366/5 "2026-02-09T08:15:53Z")

</div>

Is there a way by which i can check at the FW level, which frequency it is trying to connect etc…

---

<div class="post-metadata">

### Author: ![ajudge](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@ajudge](https://community.morsemicro.com/u/ajudge)
#### Post date: [February 10, 2026, 7:19am UTC](https://community.morsemicro.com/t/how-to-debug-when-sta-is-not-connecting-to-ap/1366/6 "2026-02-10T07:19:59Z")

</div>

The frequency list it is scanning is dictated by the regdb component in the 2.9.7 SDK.  
There aren’t any easily accessible logs out of firmware to show what is scanning, and unfortunately until libmorse is open source, in the interest of keeping code size down there are only error level logs compiled into libmorse.

Your best chance at debugging this is to use a third linux device and get a sniffer capture. [https://www.morsemicro.com/resources/appnotes/MM\_APPNOTE-36\_How\_to\_do\_a\_Sniffer\_Capture.pdf](https://www.morsemicro.com/resources/appnotes/MM_APPNOTE-36_How_to_do_a_Sniffer_Capture.pdf)

Common problems for MM-IoT-SDK based projects not finding APs on a scan and not connecting usually boil down to incorrect region settings. For the embedded platform, the configured region _must_ match the region configured on the AP, even if there is channel overlap. ie, an AU configured device will not see a US configured AP.
