# How to make WP8548 enter Airplane mode?

**URL:** <https://forum.legato.io/t/how-to-make-wp8548-enter-airplane-mode/4030>\
**Category:** Legato Application Framework\
**Created:** [January 17, 2019, 6:58pm UTC](https://forum.legato.io/t/how-to-make-wp8548-enter-airplane-mode/4030 "2019-01-17T18:58:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrm06c](https://avatars.discourse-cdn.com/v4/letter/j/c5a1d2/32.png) [@jrm06c](https://forum.legato.io/u/jrm06c)\
**Post date:** [January 17, 2019, 6:58pm UTC](https://forum.legato.io/t/how-to-make-wp8548-enter-airplane-mode/4030/1 "2019-01-17T18:58:42Z")

</div>

How does a legato application put the WP8548 in airplane mode (turn off the radios)? I’m using Legato 16.10.x because it’s the latest supported with the FX30.

I see the WP8548 supports “Airplane: USB-SS” mode according to figure 3.3 on page 40 of the “AirPrime\_WP75XX-WP8548\_Product\_Technical\_Specification\_Rev\_14.pdf” document available here:  
[https://source.sierrawireless.com/resources/airprime/hardware\_specs\_user\_guides/airprime\_wp75xx\_wp8548\_product\_technical\_specification/](https://source.sierrawireless.com/resources/airprime/hardware_specs_user_guides/airprime_wp75xx_wp8548_product_technical_specification/)

I figured out from this post that the WP8548 goes into USB-SS mode automatically as long as nothing is keeping it awake:

> [@Enable USB-SS mode](https://forum.legato.io/t/enable-usb-ss-mode/3803):
>
> Hiya, How do I put the WP into USB-SS mode from within Legato? ciao, Dave

I still haven’t found anything in the spec docs, forums, or legato power API documentation that tells me how to put the WP8548 into (and out of) airplane mode from a legato application. Anyone know how to do this?

---

<div class="post-metadata">

**Author:** ![davidc](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@davidc](https://forum.legato.io/u/davidc)\
**Post date:** [January 17, 2019, 10:28pm UTC](https://forum.legato.io/t/how-to-make-wp8548-enter-airplane-mode/4030/2 "2019-01-17T22:28:36Z")

</div>

Hiya,

Turning the radio on and off (Cellular ‘airplane’ mode) is actually a lot easier than dealing with the power management stuff.

From the command line: simply use `cm radio off` to turn the cellular radio off, and `cm radio on` to turn it back on again.

From Legato, look at the [Modem Radio Control](https://docs.legato.io/latest/c_mrc.html) API.

Notes:

1. this only shuts down the MODEM core, not the legato application core.
2. this does not apply to the WiFi/BT module that’s on the mangOH Red board. I haven’t had to play with that yet.
3. You might also want to look at the [GNSS](https://docs.legato.io/latest/c_gnss.html) API for notes on shutting down the GNSS engine as well.

Hope this helps.

ciao, Dave

---

<div class="post-metadata">

**Author:** ![jrm06c](https://avatars.discourse-cdn.com/v4/letter/j/c5a1d2/32.png) [@jrm06c](https://forum.legato.io/u/jrm06c)\
**Post date:** [January 18, 2019, 1:03pm UTC](https://forum.legato.io/t/how-to-make-wp8548-enter-airplane-mode/4030/3 "2019-01-18T13:03:07Z")

</div>

Exactly what i was looking for, thank you.
