Menu

Rate this page:

Thanks for rating this page!

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

Programmable Wireless: Cellular Network Configuration

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

Configure the Twilio APN for IoT and NB-IoT

IoT APN

The APN for the Twilio Programmable Wireless SIM is:

wireless.twilio.com

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

Narrowband IoT

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

iot.nb

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

For more information about APNs, please see Twilio APN Configuration.

Configure the Twilio Commands Phone Number


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

2936

Similarly, Commands sent from your SIM to the Twilio cloud must be sent to the same number:

2936

For more information about using the REST API Command resource, please see the API documentation.

TCP and UDP Network Timers

You may be asked to apply any or all of the following timeout settings. Please use the recommended values.

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

1800 seconds for TCP ports 443 and 8080.

300 seconds for all other TCP ports

NAT UDP Timer The amount of time before the NAT router releases the address translation for UDP packets due to inactivity. 60 seconds
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.