Menu

Expand
Rate this page:

Programmable Wireless: Cellular Network Configuration for IoT Devices

To configure your wireless IoT device to use a Programmable Wireless SIM requires only a few small configuration settings. You need to set the Programmable Wireless Access Point Name (APN) and you need to use the Twilio Commands phone number.

Depending on the device you are using, you may also be required to enter TCP and UDP network timer settings.

If you’d like to try our your SIM in a mobile phone before using it in your IoT device, please see Cellular Network Configuration for Phones.

Configure the Programmable Wireless APN

Broadband IoT

The APN for the Programmable Wireless SIM is:

wireless.twilio.com

No authentication is required for this APN — please leave any username and password entries blank.

Narrowband IoT

The APN for the Narrowband SIM, provided in partnership with T-Mobile USA, is:

iot.nb

No authentication is required for the NB-IoT APN — leave any username and password entries blank.

Configure the Twilio Commands Phone Number

Commands sent from Twilio to your SIM will arrive from the reserved phone number 2936

Commands sent from your SIM to Twilio must be sent to the same number.

For more information about using the Programmable Wireless API’s Command resource, please see the API documentation.

TCP and UDP network timers

When configuring your device, you may be asked to enter any or all of the following timeout settings. Please use the recommended values.

Timer Name Recommended Value
Description
Firewall TCP Timer 1800 seconds For mobile-originated communications, this is the amount of time before the network firewalls terminate Transmission Control Protocol (TCP) connections due to inactivity.
Firewall UDP Timer 30 seconds For mobile-originated communications, this is the amount of time before network firewalls terminate User Datagram Protocol (UDP) connections due to inactivity.
Firewall ICMP Timer 10 seconds This is the amount of time before network firewalls terminate Internet Control Message Protocol (ICMP) due to inactivity.
NAT TCP Timer 300 seconds This is the amount of time before the Network Address Translation (NAT) router releases the address translation for TCP packets due to inactivity.
NAT UDP Timer 60 seconds The amount of time before the NAT router releases the address translation for UDP packets due to inactivity.
Rate this page:

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the Twilio tag on Stack Overflow.

Thank you for your feedback!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

Sending your feedback...
🎉 Thank you for your feedback!
Something went wrong. Please try again.

Thanks for your feedback!

Refer us and get $10 in 3 simple steps!

Step 1

Get link

Get a free personal referral link here

Step 2

Give $10

Your user signs up and upgrade using link

Step 3

Get $10

1,250 free SMSes
OR 1,000 free voice mins
OR 12,000 chats
OR more