mirror of
https://github.com/sascha-hemi/pycom-documentation.git
synced 2026-03-21 06:06:03 +01:00
updates
updated the pid of pygate, added machine.pygate_reset
This commit is contained in:
@@ -10,16 +10,20 @@ The Pygate is an 8-channel LoRaWAN gateway. Connect a WiPy, Gpy or LoPy4 board t
|
||||
|
||||
## Methods
|
||||
|
||||
### machine.pygate_init(buff)
|
||||
### machine.pygate_init(config)
|
||||
|
||||
This function is used to initialize the Pygate
|
||||
|
||||
- `buff`: the data contents of the gateway global config json file
|
||||
- `config`: the data contents of the gateway global config json file
|
||||
|
||||
### machine.pygate_deinit()
|
||||
|
||||
This shuts down the concentrator.
|
||||
|
||||
### machine.pygate_reset()
|
||||
|
||||
Resets the Pygate and inserted development module (including the LTE modem, if present). This actually power cycles the Pygate and the attached hardware and is **not** similar to `machine.reset()`.
|
||||
|
||||
### machine.callback(trigger, [handler=None, arg=None])
|
||||
|
||||
- `trigger`: A trigger event(s) for invoking the callback function `handler`, the triggers/events are:
|
||||
|
||||
@@ -27,7 +27,7 @@ In normal operation, the expansionboard is in Application mode. However when we
|
||||
|
||||
| Board | DFU bootloader (update mode) | Application firmware (normal mode) |
|
||||
| :--- | :--- | :--- |
|
||||
| Pygate | |
|
||||
| Pygate | `0xED15` | `0xED14` |
|
||||
| Pytrack | `0xF014` | `0xF013` |
|
||||
| Pysense | `0xF011` | `0xF012` |
|
||||
| Pyscan | `0xEF37` | `0xEF38` |
|
||||
|
||||
Reference in New Issue
Block a user