docs: pybytes api documentation

This commit is contained in:
Aline
2019-12-20 17:17:08 +01:00
parent b06765abd0
commit 46e07d157e
41 changed files with 144 additions and 12 deletions

View File

@@ -1159,6 +1159,13 @@ theme = "doc-theme"
parent = "pybytes"
weight = 10
[[menu.main]]
name = "Pybytes library API"
url = "/pybytes/api/"
identifier = "pybytes@api"
parent = "pybytes"
weight = 15
[[menu.main]]
name = "Add a device to Pybytes"
url = "/pybytes/connect/"
@@ -1178,7 +1185,7 @@ theme = "doc-theme"
url = "/pybytes/sigfox/"
identifier = "pybytes@sigfox"
parent = "pybytes"
weight = 30
weight = 25
[[menu.main]]
name = "DevKit contract"
@@ -1199,21 +1206,14 @@ theme = "doc-theme"
url = "/pybytes/releases/"
identifier = "pybytes@releases"
parent = "pybytes"
weight = 20
[[menu.main]]
name = "Pybytes iOS"
url = "/pybytes/smart/"
identifier = "pybytes@smart"
parent = "pybytes"
weight = 20
weight = 30
[[menu.main]]
name = "Create new release"
url = "/pybytes/releases/new/"
identifier = "pybytes@releases@new"
parent = "pybytes@releases"
weight = 20
weight = 10
[[menu.main]]
name = "Deploy release"
@@ -1222,19 +1222,26 @@ theme = "doc-theme"
parent = "pybytes@releases"
weight = 20
[[menu.main]]
name = "Pybytes iOS"
url = "/pybytes/smart/"
identifier = "pybytes@smart"
parent = "pybytes"
weight = 35
[[menu.main]]
name = "Visualise data"
url = "/pybytes/dashboard/"
identifier = "pybytes@dashboard"
parent = "pybytes"
weight = 30
weight = 40
[[menu.main]]
name = "Integrations"
url = "/pybytes/integrations/"
identifier = "pybytes@integrations"
parent = "pybytes"
weight = 40
weight = 45
[[menu.main]]
name = "Amazon IoT"

View File

@@ -0,0 +1,83 @@
---
title: "Pybytes library API"
aliases:
- pybytes/api
---
* [Connect Wifi](connect_wifi)
* [Connect LTE](connect_lte)
* [Connect LoRa ABP](connect_lora_abp)
* [Connect LoRa OTAA](connect_lora_otaa)
* [Connect Sigfox](connect_sigfox)
* [Disconnect](disconnect)
* [Send custom message](send_custom_message)
* [Set custom message callback](set_custom_message_callback)
* [Send ping message](send_ping_message)
* [Send info message](send_info_message)
* [Send scan info message](send_scan_info_message)
* [Send digital pin value](send_digital_pin_value)
* [Send analog pin value](send_analog_pin_value)
* [Send virtual pin value](send_virtual_pin_value)
* [Send signal](send_signal)
* [Register periodical digital pin publish](register_periodical_digital_pin_publish)
* [Register periodical analog pin publish](register_periodical_analog_pin_publish)
* [Add custom method](add_custom_method)
* [Enable terminal](enable_terminal)
* [Send battery level](send_battery_level)
* [Send custom location](send_custom_location)
* [Is connected](is_connected)
* [isconnected](isconnected)
* [Connect](connect)
* [Write config](write_config)
* [Print cfg msg](print_cfg_msg)
* [Print config](print_config)
* [Get config](get_config)
* [Set config](set_config)
* [Update config](update_config)
* [Read config](read_config)
* [Reconnect](reconnect)
* [Export config](export_config)
* [Enable ssl](enable_ssl)
* [Enable lte](enable_lte)
* [Deepsleep](deepsleep)
* [Dump ca](dump_ca)
* [Start](start)
* [Activate](activate)

View File

View File

View File

View File

@@ -0,0 +1,14 @@
---
title: "Pybytes library API"
aliases:
- pybytes/api/connect_lora_abp
---
**Connect LoRa ABP**
----
Initialize LoRa ABP connection
**Method**
----
**pybytes.connect_lora_abp()**

View File

View File

@@ -0,0 +1,14 @@
---
title: "Pybytes library API"
aliases:
- pybytes/api/connect_lte
---
**Connect LTE**
----
Initialize watchdog for WiFi and LTE connection
**Method**
----
**pybytes.connect_lte()**

View File

View File

@@ -0,0 +1,14 @@
---
title: "Pybytes library API"
aliases:
- pybytes/api/connect_wifi
---
**Connect Wifi**
----
Initialize watchdog for WiFi and LTE connection
**Method**
----
**pybytes.connect_wifi()**

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File