Files
pycom-documentation/content/pybytes/api/enable_lte.md
2020-01-17 17:41:26 +01:00

947 B

title, aliases
title aliases
Enable LTE
pybytes/api/enable_lte

Enable LTE connection

Method

pybytes.enable_lte(carrier, cid, band, apn, type, reset, fallback)

Parameters

name Description is Required Default value
carrier Carrier No None
cid Cid No None
band Band No None
apn APN No None
type Type No None
reset Reset No None
fallback If True extends network preferences with the given LTE information No False

Example

pybytes.enable_lte('standard', 1, 8, 'soracom.io', 'IP', False)

Success Response

>> Pybytes configuration written to /flash/pybytes_config.json
>> Watchdog timeout has been increased to 2147483647 ms
>> Initialized watchdog for WiFi and LTE connection with timeout 1260000 ms