# Reset modem API function

**URL:** <https://forum.legato.io/t/reset-modem-api-function/3233>\
**Category:** Legato Application Framework\
**Created:** [April 25, 2018, 10:09pm UTC](https://forum.legato.io/t/reset-modem-api-function/3233 "2018-04-25T22:09:18Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [April 27, 2018, 1:29am UTC](https://forum.legato.io/t/reset-modem-api-function/3233/5 "2018-04-27T01:29:45Z")

</div>

I just tried with WP8548 with faultAction in adef file.

* * *

processes:  
{  
envVars:  
{  
LE\_LOG\_LEVEL = DEBUG  
}

```
run:
{
	( hello )
}

maxCoreDumpFileBytes: 512K
maxFileBytes: 512K

faultAction: reboot

```

}

* * *

Once in the code, you have exit(1), the system will reboot.

---

_[View the full topic](https://forum.legato.io/t/reset-modem-api-function/3233)._
