Home › Forums › The libraries hosted on the site › EByte LoRa e220 UART devices LLCC68 › Memory leak when using setConfiguration()?
- This topic has 1 reply, 2 voices, and was last updated 3 years, 1 month ago by
Renzo Mischianti.
Viewing 1 reply thread
-
AuthorPosts
-
-
12 April 2022 at 22:41 #20182
I started using the EBYTE 220 library.
When trying to modify device settings with setConfiguration() a memory leak appears when seeing the following parameters:17:32:16.543 > SpeedParityBit : 0 -> 8N1 (Default) 17:32:16.586 > SpeedUARTDatte : 11 -> 9600bps (default) 17:32:16.634 > SpeedAirDataRate : 10 -> 2.4kbps (default) 17:32:17.547 > Chan : 100 -> 510MHz 17:32:17,570 > 17:32:17.573 > SpeedParityBit : 1 -> 8O1 17:32:17.605 > SpeedUARTDatte : 11 -> 9600bps (default) 17:32:17.653 > SpeedAirDataRate : 101 -> 19.2kbps 17:32:17.693 > 17:32:17.696 > OptionSubPacketSett: 1 -> 128bytes 17:32:17.733 > OptionTranPower : 11 -> 10dBm 17:32:17.769 > OptionRSSIAmbientNo: 1 -> Enabled 17:32:17.805 > 17:32:17.809 > TransModeWORPeriod : 101 -> 3000ms
Here is my attached code. Or am I the one doing something wrong? I copied the example from the library and copied it into the code.
I’m using VS CODE + Platformio and a NodeMCU ESP8266 and a 16×2 Display.--- Available filters and text transformations: colorize, debug, default, direct, esp8266_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time --- More details at https://bit.ly/pio-monitor-filters --- Miniterm on COM5 9600,8,N,1 --- --- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H --- 17:32:14.085 > RX MIC ---> 12 17:32:14.101 > TX MIC ---> 13 17:32:14.118 > AUX ---> 16 17:32:14.134 > M0 ---> -1 17:32:14.144 > M1 ---> -1 17:32:14.156 > Init AUX pin! 17:32:14.172 > Begin ex 17:32:14.182 > Begin Software Serial 17:32:14.206 > Begin 17:32:14.217 > The M0 and M1 pins is not set, this mean that you are connect directly the pins as you need! 17:32:14.313 > AUX HIGH! 17:32:14.324 > Complete! 17:32:14.337 > The M0 and M1 pins is not set, this mean that you are connect directly the pins as you need! 17:32:14.434 > AUX HIGH! 17:32:14.444 > Complete! 17:32:14.456 > 3 17:32:14.512 > Available buffer: 0 structure size: 11 17:32:14.553 > ---------------------------------------- 17:32:14.597 > HEAD : 0 0 0 17:32:14.612 > 17:32:14.615 > AddH : 0 17:32:14.625 > AddL : 0 17:32:14.636 > 17:32:14.639 > Chan : 0 -> 410MHz 17:32:14.660 > 17:32:14.663 > SpeedParityBit : 0 -> 8N1 (Default) 17:32:14.706 > SpeedUARTDatte : 0 -> 1200bps 17:32:14.742 > SpeedAirDataRate : 0 -> 2.4kbps 17:32:14.779 > 17:32:14.783 > OptionSubPacketSett: 0 -> 200bytes (default) 17:32:14.830 > OptionTranPower : 0 -> 22dBm (Default) 17:32:14.874 > OptionRSSIAmbientNo: 0 -> Disabled (default) 17:32:14.922 > 17:32:14.925 > TransModeWORPeriod : 0 -> 500ms 17:32:14.960 > TransModeEnableLBT : 0 -> Disabled (default) 17:32:15.008 > TransModeEnableRSSI: 0 -> Disabled (default) 17:32:15.056 > TransModeFixedTrans: 0 -> Transparent transmission (default) 17:32:15.120 > ---------------------------------------- 17:32:15.164 > The M0 and M1 pins is not set, this mean that you are connect directly the pins as you need! 17:32:15.262 > AUX HIGH! 17:32:15.273 > Complete! 17:32:15.285 > No response from device! (Check wiring) 17:32:15.327 > 12 17:32:15.332 > ---------------------------------------- 17:32:15.375 > HEAD : 0 0 0 17:32:15.390 > 17:32:15.393 > AddH : 0 17:32:15.403 > AddL : 0 17:32:15.414 > 17:32:15.418 > Chan : 0 -> 900MHz 17:32:15.438 > 17:32:15.441 > SpeedParityBit : 0 -> 8N1 (Default) 17:32:15.485 > SpeedUARTDatte : 0 -> 1200bps 17:32:15.521 > SpeedAirDataRate : 0 -> 2.4kbps 17:32:15.557 > 17:32:15.560 > OptionSubPacketSett: 0 -> 200bytes (default) 17:32:15.608 > OptionTranPower : 0 -> 22dBm (Default) 17:32:15.652 > OptionRSSIAmbientNo: 0 -> Disabled (default) 17:32:15.700 > 17:32:15.704 > TransModeWORPeriod : 0 -> 500ms 17:32:15.738 > TransModeEnableLBT : 0 -> Disabled (default) 17:32:15.786 > TransModeEnableRSSI: 0 -> Disabled (default) 17:32:15.834 > TransModeFixedTrans: 0 -> Transparent transmission (default) 17:32:15.899 > ---------------------------------------- 17:32:15.942 > The M0 and M1 pins is not set, this mean that you are connect directly the pins as you need! 17:32:16.040 > AUX HIGH! 17:32:16.051 > Complete! 17:32:16.270 > AUX HIGH! 17:32:16.433 > ---------------------------------------- 17:32:16.476 > HEAD : C0 0 8 17:32:16.491 > 17:32:16.494 > AddH : 0 17:32:16.505 > AddL : 3 17:32:16.516 > 17:32:16.518 > Chan : 23 -> 433MHz 17:32:16.540 > 17:32:16.543 > SpeedParityBit : 0 -> 8N1 (Default) 17:32:16.586 > SpeedUARTDatte : 11 -> 9600bps (default) 17:32:16.634 > SpeedAirDataRate : 10 -> 2.4kbps (default) 17:32:16.682 > 17:32:16.685 > OptionSubPacketSett: 0 -> 200bytes (default) 17:32:16.734 > OptionTranPower : 0 -> 22dBm (Default) 17:32:16.778 > OptionRSSIAmbientNo: 0 -> Disabled (default) 17:32:16.826 > 17:32:16.829 > TransModeWORPeriod : 11 -> 2000ms (default) 17:32:16.876 > TransModeEnableLBT : 0 -> Disabled (default) 17:32:16.924 > TransModeEnableRSSI: 0 -> Disabled (default) 17:32:16.972 > TransModeFixedTrans: 0 -> Transparent transmission (default) 17:32:17.036 > ---------------------------------------- 17:32:17.081 > The M0 and M1 pins is not set, this mean that you are connect directly the pins as you need! 17:32:17.178 > AUX HIGH! 17:32:17.189 > Complete! 17:32:17.201 > Save mode returned not recognized! 17:32:17.242 > 11 17:32:17.242 > The M0 and M1 pins is not set, this mean that you are connect directly the pins as you need! 17:32:17.340 > AUX HIGH! 17:32:17.352 > Complete! 17:32:17.363 > 3 17:32:17.420 > Available buffer: 0 structure size: 11 17:32:17.461 > ---------------------------------------- 17:32:17.505 > HEAD : 0 0 0 17:32:17.520 > 17:32:17.523 > AddH : 0 17:32:17.535 > AddL : 20 17:32:17.544 > 17:32:17.547 > Chan : 100 -> 510MHz 17:32:17.570 > 17:32:17.573 > SpeedParityBit : 1 -> 8O1 17:32:17.605 > SpeedUARTDatte : 11 -> 9600bps (default) 17:32:17.653 > SpeedAirDataRate : 101 -> 19.2kbps 17:32:17.693 > 17:32:17.696 > OptionSubPacketSett: 1 -> 128bytes 17:32:17.733 > OptionTranPower : 11 -> 10dBm 17:32:17.769 > OptionRSSIAmbientNo: 1 -> Enabled 17:32:17.805 > 17:32:17.809 > TransModeWORPeriod : 101 -> 3000ms 17:32:17.846 > TransModeEnableLBT : 0 -> Disabled (default) 17:32:17.894 > TransModeEnableRSSI: 0 -> Disabled (default) 17:32:17.942 > TransModeFixedTrans: 1 -> Fixed transmission (first three bytes can be used as high/low address and channel) 17:32:18.057 > ---------------------------------------- 17:32:18.101 > The M0 and M1 pins is not set, this mean that you are connect directly the pins as you need! 17:32:18.199 > AUX HIGH! 17:32:18.209 > Complete! 17:32:18.221 > No response from device! (Check wiring) 17:32:18.265 > 12 17:32:18.268 > ---------------------------------------- 17:32:18.311 > HEAD : 0 0 0 17:32:18.326 > 17:32:18.329 > AddH : 0 17:32:18.340 > AddL : 20 17:32:18.351 > 17:32:18.354 > Chan : 100 -> 1000MHz 17:32:18.378 > 17:32:18.382 > SpeedParityBit : 1 -> 8O1 17:32:18.414 > SpeedUARTDatte : 11 -> 9600bps (default) 17:32:18.462 > SpeedAirDataRate : 101 -> 19.2kbps 17:32:18.501 > 17:32:18.504 > OptionSubPacketSett: 1 -> 128bytes 17:32:18.542 > OptionTranPower : 11 -> 10dBm 17:32:18.577 > OptionRSSIAmbientNo: 1 -> Enabled 17:32:18.614 > 17:32:18.617 > TransModeWORPeriod : 101 -> 3000ms 17:32:18.654 > TransModeEnableLBT : 0 -> Disabled (default) 17:32:18.703 > TransModeEnableRSSI: 0 -> Disabled (default) 17:32:18.751 > TransModeFixedTrans: 1 -> Fixed transmission (first three bytes can be used as high/low address and channel) 17:32:18.866 > ---------------------------------------- 17:32:21.878 > ---------------------------------------
Attachments:
You must be logged in to view attached files. -
13 April 2022 at 08:54 #20184
Hi George,
the log says that there is a wiring problem.17:32:18.057 > ---------------------------------------- 17:32:18.101 > The M0 and M1 pins is not set, this mean that you are connect directly the pins as you need! 17:32:18.199 > AUX HIGH! 17:32:18.209 > Complete! 17:32:18.221 > No response from device! (Check wiring) 17:32:18.265 > 12 17:32:18.268 > ----------------------------------------
Pay attention to M0 and M1 settings also.
Bye Renzo
-
-
AuthorPosts
Viewing 1 reply thread
- You must be logged in to reply to this topic.