
native LoRa_Setbuf(LoRa, rxbuf{}, rxlen, txbuf{}, txlen);
Provides the firmware with one buffer for sending and one for receiving characters via the UART
interface, that is connected to the LoRa module, from the RAM area reserved for the device logic.
When this function is called, the system switches from the 128 byte buffers integrated in the firmware to
the transferred buffers.
Important note:
If required, this function must be called before the UART interface is initialised
via the "LoRa_Init()" function.
Parameter
Explanation
LoRa
Number of the UART interface that is connected to the LoRa module; for the
myDatalogEASY IoTmini always 0
rxbuf
Static byte array that should be used as a buffer to receive characters via the
UART interface
rxlen
Size of the receiving buffer in byte
Note:
If the function is called up again and the size is set to "0" during the
process, then the system switches back to the integrated buffer (128 bytes). The
transferred static byte array can then be used by the script again.
txbuf
Static byte array that should be used as a buffer to send characters via the UART
interface
txlen
Size of the sending buffer in byte
Note:
If the function is called up again and the size is set to "0" during the
process, then the system switches back to the integrated buffer (128 bytes). The
transferred static byte array can then be used by the script again.
Explanation
Return value
l
OK, if successful
l
< OK, if an error occurs (see "Return codes for general purposes" in
chapter "Constants" on page 84)
116
Rev. 01
Содержание 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: ......