
Chapter 12 Device Logic (Pawn)
native LoRa_Close(LoRa);
Closes the UART interface that is connected to the LoRa module
Parameter
Explanation
LoRa
Number of the UART interface that is connected to the LoRa module; for the
myDatalogEASY IoTmini always 0
Explanation
Return value
l
OK, if successful
l
ERROR_FEATURE_LOCKED if data transmission via LoRaWAN is not
activated on the device
l
< OK, if another error occurs (see "Return codes for general purposes" in
chapter "Constants" on page 84).
native LoRa_Write(LoRa, const data{}, len);
Sends data via the specified UART interface
Parameter
Explanation
LoRa
Number of the UART interface that is connected to the LoRa module; for the
myDatalogEASY IoTmini always 0
data
Array that contains the data to be sent
len
Number of bytes to be sent
Explanation
Return value
l
Number of processed bytes, if successful
Note:
If the number of processed bytes deviates from the transferred
number of bytes to be sent, then the LoRa_Write() function must be
called again. However, now only the data that could not be processed in
the previous function call needs to be passed here.
l
ERROR_FEATURE_LOCKED if data transmission via LoRaWAN is not
activated on the device
l
< OK, if another error occurs (see "Return codes for general purposes" in
chapter "Constants" on page 84).
Rev. 01
115
Содержание myDatalogEASY IoTmini
Страница 2: ......
Страница 11: ...Chapter 2 Declaration of conformity Chapter 2 Declaration of conformity Rev 01 11 ...
Страница 12: ......
Страница 34: ......
Страница 66: ......
Страница 78: ......
Страница 82: ......
Страница 186: ......
Страница 194: ......
Страница 196: ......
Страница 202: ......
Страница 205: ...Chapter 19 Document history Chapter 19 Document history Rev Date Changes 01 28 08 2020 First version Rev 01 205 ...
Страница 206: ......
Страница 208: ......