mirror of
https://github.com/sascha-hemi/pycom-documentation.git
synced 2026-03-21 03:04:13 +01:00
fixed additional links
This commit is contained in:
@@ -22,7 +22,7 @@ The datasheet of the GPy is available as a [PDF File](/gitbook/assets/specsheets
|
||||
|
||||
The drawing of the LTE-M antenna is available as a [PDF File](/gitbook/assets/lte-m-antenna-drawing.pdf)
|
||||
|
||||
The Gpy is certified for [CE RED](/gitbook/assets/c03-b0-red-gpy.pdf) and [FCC DSS](/gitbook/assets/pycom-2ajmtgpy01r-fcc-grant-dss.pdf) [FCC DTS](/gitbook/assets/pycom-2ajmtgpy01r-fcc-grant-dts.pdf) [FCC TNB](//gitbook/assets/pycom-2ajmtgpy01r-fcc-grant-tnb.pdf)
|
||||
The Gpy is certified for [CE RED](/gitbook/assets/c03-b0-red-gpy.pdf) and [FCC DSS](/gitbook/assets/pycom-2ajmtgpy01r-fcc-grant-dss.pdf) [FCC DTS](/gitbook/assets/pycom-2ajmtgpy01r-fcc-grant-dts.pdf) [FCC TNB](/gitbook/assets/pycom-2ajmtgpy01r-fcc-grant-tnb.pdf)
|
||||
|
||||
[RCM](/gitbook/assets/RCM-Gpy.pdf)
|
||||
[ROHS certification](/gitbook/assets/RoHs_declarations/RoHS-for-GPy(8217-00090P)-20190523.pdf)
|
||||
|
||||
@@ -239,7 +239,7 @@ Enable the Mesh network. Only after Mesh enabling the `lora.cli()` and `socket`
|
||||
|
||||
### lora.cli()
|
||||
|
||||
Send OpenThread CLI commands, the list is [here](https://github.com/openthread/openthread/blob/master/src/cli/README). The output is multiline string, having as line-endings the `\r\n`.
|
||||
Send OpenThread CLI commands, the list is [here](https://github.com/openthread/openthread/tree/master/src/cli/). The output is multiline string, having as line-endings the `\r\n`.
|
||||
|
||||
```bash
|
||||
>>> print(lora.cli("ipaddr"))
|
||||
|
||||
@@ -58,9 +58,9 @@ If you are registering multiple devices you can generate more Applications Keys
|
||||
Once you have the three identifiers for your device you need to register them on the Objenius portal.
|
||||
Follow "Importer des capteurs" under "Statuc do Parc" and select "Provisioning Unitaire":
|
||||
|
||||

|
||||

|
||||
|
||||
Once there give your device a name and enter the DevEUI, AppEUI, and AppKey obtained from the steps above:
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
@@ -10,15 +10,15 @@ This Micropython library is included as frozen scripts in the Pymesh firmware re
|
||||
|
||||
The code is open-sourced in [pycom-libraries repository](https://github.com/pycom/pycom-libraries/blob/master/pymesh/pymesh_frozen/lib/pymesh.py).
|
||||
|
||||
It is easily customisable and contributions are welcome using [Github PRs](https://github.com/pycom/pycom-libraries/pulls).
|
||||
It is easily customisable and contributions are welcome using [Github PRs](https://github.com/pycom/pycom-libraries/pulls/).
|
||||
|
||||
### Main features
|
||||
|
||||
* Start Pymesh over LoRa on 863Mhz, bandwidth 250kHz, spreading-factor 7 (please check `pymesh_config.py` defaults for exact values).
|
||||
* Pymesh parameters are automatically saved in NVM, so in the next restart/deepsleep, the node will try to maintain its IP addresses and connections with neighbour nodes.
|
||||
* Start Bluetooth LE server with name `PyGo <LoRa MAC>`
|
||||
* BLE is used with an RPC protocol, presented int [Pymesh library BLE RPC](/pymesh/lib-ble-rpc)
|
||||
* Internal CLI for controlling/triggering Pymesh features, as explained in [Pymesh library CLI](/pymesh/lib-cli).
|
||||
* BLE is used with an RPC protocol, presented int [Pymesh library BLE RPC](/pymesh/lib-ble-rpc/)
|
||||
* Internal CLI for controlling/triggering Pymesh features, as explained in [Pymesh library CLI](/pymesh/lib-cli/).
|
||||
|
||||
### Color coding LED
|
||||
|
||||
@@ -40,17 +40,17 @@ A simple example of usage is in the [main.py](https://github.com/pycom/pycom-lib
|
||||
|
||||
## Specifications
|
||||
|
||||
It can be easily customised, by modifying any file from [/lib folder](https://github.com/pycom/pycom-libraries/tree/master/lib/pymesh/lib) and flashing it to the board. The uploaded file will automatically be executed instead of the _frozen_ one, which is already embedded into the binary firmware.
|
||||
It can be easily customised, by modifying any file from [/lib folder](https://github.com/pycom/pycom-libraries/tree/master/pymesh/lib/) and flashing it to the board. The uploaded file will automatically be executed instead of the _frozen_ one, which is already embedded into the binary firmware.
|
||||
|
||||
### Structure
|
||||
|
||||
* `pymesh.py`
|
||||
* contains all the methods accessible from `main.py`
|
||||
* `cli.py`
|
||||
* [Pymesh library CLI](/pymesh/lib-cli)
|
||||
* [Pymesh library CLI](/pymesh/lib-cli/)
|
||||
* BLE services
|
||||
* `ble_rpc.py`
|
||||
* [Pymesh library BLE RPC](/pymesh/lib-ble-rpc)
|
||||
* [Pymesh library BLE RPC](/pymesh/lib-ble-rpc/)
|
||||
* `ble_services.py`
|
||||
* setting BLE server
|
||||
* auxiliary files:
|
||||
|
||||
@@ -10,8 +10,6 @@ The Pymesh mobile application is available [here for both iOS and Android platfo
|
||||
|
||||
## RPC protocol
|
||||
|
||||
It is implemented in [ble_rpc.py](https://github.com/pycom/pycom-libraries/blob/master/lib/pymesh/lib/ble_rpc.py).
|
||||
|
||||
In the class `RPCHandler` methods can be added to expand RPC set.
|
||||
|
||||
The internal RPC are calling methods from file `mesh_interface.py`.
|
||||
|
||||
Reference in New Issue
Block a user