# Legato Api not working

**URL:** <https://forum.legato.io/t/legato-api-not-working/5191>\
**Category:** Legato Application Framework\
**Created:** [May 14, 2020, 4:54am UTC](https://forum.legato.io/t/legato-api-not-working/5191 "2020-05-14T04:54:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![karthikR](https://avatars.discourse-cdn.com/v4/letter/k/eada6e/32.png) [@karthikR](https://forum.legato.io/u/karthikR)\
**Post date:** [May 14, 2020, 4:54am UTC](https://forum.legato.io/t/legato-api-not-working/5191/1 "2020-05-14T04:54:41Z")

</div>

Hi,  
le\_ulpm\_ShutDown()  
Above mentioned api return LE\_OK but the module not turning off .And sometimes the api works it let into module turn off condition .

Device: WP7608  
Legato Version:18.06.3\_72bae80dcf4e2d36453435468a5ceaa3\_modified  
Firmware Version: SWI9X07Y\_02.16.02.00 000000 jenkins 2018/04/19 19:59:02  
Bootloader Version: SWI9X07Y\_02.16.02.00 000000 jenkins 2018/04/19 19:59:02  
MCU Version: 002.009

Thanks in advance

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [May 14, 2020, 10:03am UTC](https://forum.legato.io/t/legato-api-not-working/5191/2 "2020-05-14T10:03:24Z")

</div>

how about using AT!POWERMODE command?  
Also is this occuring in R13.3?

---

<div class="post-metadata">

**Author:** ![karthikR](https://avatars.discourse-cdn.com/v4/letter/k/eada6e/32.png) [@karthikR](https://forum.legato.io/u/karthikR)\
**Post date:** [July 31, 2020, 9:42am UTC](https://forum.legato.io/t/legato-api-not-working/5191/3 "2020-07-31T09:42:56Z")

</div>

Now we are working with R16 latest version stills the issue reproduces.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [July 31, 2020, 10:01am UTC](https://forum.legato.io/t/legato-api-not-working/5191/4 "2020-07-31T10:01:18Z")

</div>

how about using AT!POWERMODE command?

---

<div class="post-metadata">

**Author:** ![karthikR](https://avatars.discourse-cdn.com/v4/letter/k/eada6e/32.png) [@karthikR](https://forum.legato.io/u/karthikR)\
**Post date:** [July 31, 2020, 10:38am UTC](https://forum.legato.io/t/legato-api-not-working/5191/5 "2020-07-31T10:38:08Z")

</div>

Not tried AT!POWERMODE still now …

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [July 31, 2020, 11:06am UTC](https://forum.legato.io/t/legato-api-not-working/5191/6 "2020-07-31T11:06:30Z")

</div>

This can isolate if legato app makes the problem

---

<div class="post-metadata">

**Author:** ![karthikR](https://avatars.discourse-cdn.com/v4/letter/k/eada6e/32.png) [@karthikR](https://forum.legato.io/u/karthikR)\
**Post date:** [July 31, 2020, 11:08am UTC](https://forum.legato.io/t/legato-api-not-working/5191/7 "2020-07-31T11:08:05Z")

</div>

Okay thanks for your response .I will try AT!POWERMODE command…
