mirror of
https://github.com/sascha-hemi/pycom-documentation.git
synced 2026-03-21 18:06:13 +01:00
37 lines
480 B
Markdown
37 lines
480 B
Markdown
---
|
|
title: "Connect Device"
|
|
aliases:
|
|
- pybytes/api/connect
|
|
---
|
|
|
|
Initialize connection based on the configured parameters.
|
|
|
|
**Method**
|
|
----
|
|
**pybytes.connect()**
|
|
|
|
**Example**
|
|
----
|
|
`pybytes.connect()`
|
|
|
|
**Success Response**
|
|
----
|
|
|
|
WiFi:
|
|
```
|
|
>> Connecting with SSID and PASSWORD
|
|
>> WiFi connection established
|
|
```
|
|
|
|
LTE:
|
|
```
|
|
>> LTE connection established
|
|
```
|
|
|
|
LoRa ABP:
|
|
```
|
|
>> Trying to join LoRa.ABP for 15000 seconds...
|
|
>> Setting up LoRa socket...
|
|
>> Connected using LoRa
|
|
```
|