# Unable to turn on Access Point IN BW16

**URL:** <https://forum.amebaiot.com/t/unable-to-turn-on-access-point-in-bw16/905>\
**Category:** SDK\
**Tags:** evb-bw16, rtl872xd\
**Created:** [November 13, 2021, 7:54pm UTC](https://forum.amebaiot.com/t/unable-to-turn-on-access-point-in-bw16/905 "2021-11-13T19:54:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sonu\_kushwh](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/sonu_kushwh/32/711_2.png) [@sonu\_kushwh](https://forum.amebaiot.com/u/sonu_kushwh)\
**Post date:** [November 13, 2021, 7:54pm UTC](https://forum.amebaiot.com/t/unable-to-turn-on-access-point-in-bw16/905/1 "2021-11-13T19:54:49Z")

</div>

Hello I am new to this board I am able to program and run properly able to connect with the wifi, I am using the Arduino but when I try to make the Access Point I am running example I got this error.  
===========================Error==============  
Starting AP …  
#calibration\_ok:[2:19:11]  
interface 0 is initialized  
interface 1 is initialized  
Initializing WIFI …  
WIFI initialized  
LwIP\_DHCP: dhcp stop.  
Deinitializing WIFI …  
WIFI deinitialized  
Initializing WIFI …  
WIFI initialized

====================Error END============

I am using the accesspoint example ..Please help  
Thanks

---

<div class="post-metadata">

**Author:** ![wyy](https://avatars.discourse-cdn.com/v4/letter/w/bc8723/32.png) [@wyy](https://forum.amebaiot.com/u/wyy)\
**Post date:** [November 15, 2021, 2:46am UTC](https://forum.amebaiot.com/t/unable-to-turn-on-access-point-in-bw16/905/2 "2021-11-15T02:46:25Z")

</div>

HI @sonu_kushwh,

can you provide more information on the error?  
I have tried the `WiFIAPMode` example on the BW16 board, using board package 3.1.0, and was able to start the access point normally.

```auto
#calibration_ok:[2:19:11] 
interface 0 is initialized
interface 1 is initialized
Initializing WIFI ...
WIFI initialized
IPv4 enabled
LwIP_DHCP: dhcp stop.
Deinitializing WIFI ...
WIFI deinitialized
Initializing WIFI ...
WIFI initialized
Starting AP ...
yourNetwork started

```

---

<div class="post-metadata">

**Author:** ![sonu\_kushwh](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/sonu_kushwh/32/711_2.png) [@sonu\_kushwh](https://forum.amebaiot.com/u/sonu_kushwh)\
**Post date:** [December 1, 2021, 7:08am UTC](https://forum.amebaiot.com/t/unable-to-turn-on-access-point-in-bw16/905/3 "2021-12-01T07:08:08Z")

</div>

Thank you for your reply,

Now I am able to create hotspots successfully,

But the problem I face with that.  
once after creating the hotspot successfully sometimes it disappears and is never discover as a hotspot again,  
After 7-8 days it starts working fine I discharge all capacitors and all now I am using the only module, not dev kit  
This is behavior I m not understand.

---

<div class="post-metadata">

**Author:** ![xidameng](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/xidameng/32/18_2.png) [@xidameng](https://forum.amebaiot.com/u/xidameng)\
**Post date:** [December 3, 2021, 8:13am UTC](https://forum.amebaiot.com/t/unable-to-turn-on-access-point-in-bw16/905/4 "2021-12-03T08:13:17Z")

</div>

AP mode uses more power, make sure your BW16 module has enough power supply to it,else there might be issues

---

<div class="post-metadata">

**Author:** ![sonu\_kushwh](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/sonu_kushwh/32/711_2.png) [@sonu\_kushwh](https://forum.amebaiot.com/u/sonu_kushwh)\
**Post date:** [December 15, 2021, 5:07am UTC](https://forum.amebaiot.com/t/unable-to-turn-on-access-point-in-bw16/905/5 "2021-12-15T05:07:23Z")

</div>

There is an  
example to restart this module like esp. restart() method

---

<div class="post-metadata">

**Author:** ![sonu\_kushwh](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/sonu_kushwh/32/711_2.png) [@sonu\_kushwh](https://forum.amebaiot.com/u/sonu_kushwh)\
**Post date:** [December 15, 2021, 5:07am UTC](https://forum.amebaiot.com/t/unable-to-turn-on-access-point-in-bw16/905/6 "2021-12-15T05:07:51Z")

</div>

There is an  
example to restart this module like esp. restart() method…

---

<div class="post-metadata">

**Author:** ![xidameng](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/xidameng/32/18_2.png) [@xidameng](https://forum.amebaiot.com/u/xidameng)\
**Post date:** [December 15, 2021, 7:24am UTC](https://forum.amebaiot.com/t/unable-to-turn-on-access-point-in-bw16/905/7 "2021-12-15T07:24:57Z")

</div>

There is a software reset function, but it’s not available under Arduino framework, there are 2 ways you can do this,

1. Using [standard SDK](https://github.com/ambiot/ambd_sdk) and call this [function](https://github.com/ambiot/ambd_sdk/blob/134fd772d7bcaac2f5679c99ae4073a7719424b3/component/common/mbed/targets/hal/rtl8721d/sys_api.c#L189) directly
2. Bring this function to Arduino and make an wrapper for it
