> ## Documentation Index
> Fetch the complete documentation index at: https://docs.iru.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Cellular Commands

> Send cellular commands to managed iOS and iPadOS devices from Iru Endpoint. Enable or disable personal hotspot, data roaming, and voice roaming.

<Callout icon="apple" color="#B84A7A" iconType="regular">This guide applies to iOS devices and cellular-enabled iPadOS devices</Callout>

### About Cellular Commands

Iru Endpoint supports three device management commands for iPhone and iPad devices with cellular connectivity. These commands let you refresh a device's eSIM, set personal hotspot settings, and set data roaming settings remotely. These commands can be sent from the Devices page in the Iru web app and the Iru enterprise API.

### How It Works

Cellular commands are sent via MDM to devices with cellular connectivity. The commands execute when the device is online and allow you to manage cellular settings without requiring physical access to the device. Users can override some settings unless explicitly restricted by the Restrictions Library Item.

## Using Cellular Commands

<Steps>
  <Step title="Navigate to Device Record">
    Navigate to the **Devices** page in the Iru web app and select an iPhone or cellular-enabled iPad.
  </Step>

  <Step title="Open Device Action Menu">
    Select the three dots action menu in the upper right corner of the device record.
  </Step>

  <Step title="Select Cellular Commands">
    Select **Cellular commands** from the action menu.
  </Step>

  <Step title="Choose Command">
    Choose between **Refresh eSIM**, **Set data roaming**, or **Set personal hotspot**.
  </Step>
</Steps>

## Available Commands

### Refresh eSIM

The **Refresh eSIM** command instructs the device to contact a carrier eSIM server, also known as an SM-DP+ server, and download an available eSIM profile. This effectively provisions the device with a new eSIM.

<Note>
  Contact your carrier to obtain the SM-DP+ server address before using this command.
</Note>

### Set Data Roaming

The **Set data roaming** command enables or disables data roaming on the device. This setting can be overridden by the user unless explicitly restricted by the Restrictions Library Item.

### Set Personal Hotspot

The **Set personal hotspot** command enables or disables personal hotspot on the device. This setting can be overridden by the user unless explicitly restricted by the Restrictions Library Item.

## Considerations

### Command Execution

* **Single device only**: These commands can only be triggered for a single device at a time, either via the Devices page or Iru enterprise API
* **Online requirement**: Devices must be online to receive and execute cellular commands
* **User override**: Data roaming and personal hotspot settings can be overridden by users unless restricted by the Restrictions Library Item

### Restrictions Library Item

To prevent users from overriding data roaming or personal hotspot settings, configure the [Restrictions Library Item](/en/endpoint/library/library-items-profiles/configure-the-restrictions-library-item) with the appropriate restrictions. This ensures your cellular settings remain enforced.

## References

For more information about Apple's cellular management commands, see:

* [Refresh eSIM command](https://github.com/apple/device-management/blob/release/mdm/commands/device.esim.yaml) - Apple developer documentation
* [Data roaming command](https://github.com/apple/device-management/blob/f878dea98fb88293a3686e44bcfb891f8e78f98f/mdm/commands/settings.yaml#L101) - Apple developer documentation
* [Personal hotspot command](https://github.com/apple/device-management/blob/f878dea98fb88293a3686e44bcfb891f8e78f98f/mdm/commands/settings.yaml#L171) - Apple developer documentation
