# How to Use the RTL8720DN Station and Access Point Mode at the Same Time

**URL:** <https://forum.amebaiot.com/t/how-to-use-the-rtl8720dn-station-and-access-point-mode-at-the-same-time/1998>\
**Category:** WiFi\
**Created:** [June 18, 2023, 8:00am UTC](https://forum.amebaiot.com/t/how-to-use-the-rtl8720dn-station-and-access-point-mode-at-the-same-time/1998 "2023-06-18T08:00:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dallim30](https://avatars.discourse-cdn.com/v4/letter/d/8491ac/32.png) [@dallim30](https://forum.amebaiot.com/u/dallim30)\
**Post date:** [June 18, 2023, 8:00am UTC](https://forum.amebaiot.com/t/how-to-use-the-rtl8720dn-station-and-access-point-mode-at-the-same-time/1998/1 "2023-06-18T08:00:35Z")

</div>

Hello!

let me know the example that use station and ap mode at the same time on RTL8720DN Arudion

Thanks

---

<div class="post-metadata">

**Author:** ![dakamaster](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/dakamaster/32/1744_2.png) [@dakamaster](https://forum.amebaiot.com/u/dakamaster)\
**Post date:** [June 18, 2023, 8:39am UTC](https://forum.amebaiot.com/t/how-to-use-the-rtl8720dn-station-and-access-point-mode-at-the-same-time/1998/2 "2023-06-18T08:39:50Z")

</div>

Hi @dallim30 ,

Welcome to AmebaIoT Forum and thanks for choosing Ameba IoT Products.

Please refer to the example source code on our GitHub: [ambd\_arduino/Arduino\_package/hardware/libraries/WiFi/examples/ConcurrentMode/ConcurrentMode.ino at dev · ambiot/ambd\_arduino · GitHub](https://github.com/ambiot/ambd_arduino/blob/dev/Arduino_package/hardware/libraries/WiFi/examples/ConcurrentMode/ConcurrentMode.ino)

Example guide was provided on our official website as well: [Ameba Arduino: WiFi – Concurrent Mode – Realtek IoT/Wi-Fi MCU Solutions](https://www.amebaiot.com/en/amebad-arduino-concurrent/)

Thank you.

---

<div class="post-metadata">

**Author:** ![dallim30](https://avatars.discourse-cdn.com/v4/letter/d/8491ac/32.png) [@dallim30](https://forum.amebaiot.com/u/dallim30)\
**Post date:** [June 18, 2023, 1:38pm UTC](https://forum.amebaiot.com/t/how-to-use-the-rtl8720dn-station-and-access-point-mode-at-the-same-time/1998/3 "2023-06-18T13:38:29Z")

</div>

Hi dakamaster

Thank you for your quick response,  
I couldn’t have figured this out without your help!

Best regards,

sjkim

---

<div class="post-metadata">

**Author:** ![dallim30](https://avatars.discourse-cdn.com/v4/letter/d/8491ac/32.png) [@dallim30](https://forum.amebaiot.com/u/dallim30)\
**Post date:** [June 18, 2023, 2:07pm UTC](https://forum.amebaiot.com/t/how-to-use-the-rtl8720dn-station-and-access-point-mode-at-the-same-time/1998/4 "2023-06-18T14:07:23Z")

</div>

Hi dakamaster

I have one more question.  
Could you tellm me how to disconnect station and AP mode respectively

Best regards,

sjkim
