mirror of
https://github.com/sascha-hemi/pycom-documentation.git
synced 2026-03-21 13:06:14 +01:00
947 B
947 B
title, aliases
| title | aliases | |
|---|---|---|
| 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