mirror of
https://github.com/sascha-hemi/pycom-documentation.git
synced 2026-03-21 07:06:20 +01:00
640 B
640 B
title, aliases
| title | aliases | |
|---|---|---|
| Connect LoRa OTAA |
|
Initialize LoRa OTAA connection.
Method
pybytes.connect_lora_otaa(timeout, nanogateway)
Parameters
| name | Description | is Required | Default value |
|---|---|---|---|
| timeout | Connection timeout | Yes | - |
| nanogateway | Enable nanogateway | Yes | - |
Example
pybytes.connect_lora_otaa(timeout=15, nanogateway=False)
Success Response
>> Trying to join LoRa.OTAA for 15 seconds...
>> Setting up LoRa socket...
>> Connected using LoRa