Closed ucod closed 4 years ago
Have you also get the latest version of the SX1272.cpp lib?
yes, i've cloned this repo ~2 days ago
re-running,
SX1276 detected, starting 14:04:55.165 -> SX1276 LF/HF calibration ... Setting Mode: state 0 Setting Channel: state 0 Setting Power: state 0 14:04:57.021 -> Setting node addr: state 0 14:04:57.021 -> SX1272 successfully configured Mean temp is 369.63 14:04:58.014 -> Sending !#3#TC/369.63 14:04:58.014 -> Real payload size is 14 14:04:58.014 -> --> CS1 --> CAD 548 14:04:58.578 -> OK1 14:04:58.578 -> --> RSSI -126 LoRa pkt size 18 14:05:00.312 -> LoRa pkt seq 0 14:05:00.312 -> LoRa Sent in 1733 14:05:00.312 -> LoRa Sent w/CAD in 2282 14:05:00.312 -> Packet sent, state 0 14:05:00.345 -> Remaining ToA is 36000 14:05:00.345 -> 0 14:05:00.345 -> Will send next value at 14:05:00.345 -> 628790 received 00000650 2D 2D 20 72 78 6C 6F 72 61 2E 20 64 73 74 3D 31 -- rxlora. dst=1 00000660 20 74 79 70 65 3D 30 78 31 32 20 73 72 63 3D 36 type=0x12 src=6 00000670 20 73 65 71 3D 30 20 6C 65 6E 3D 30 20 53 4E 52 seq=0 len=0 SNR 00000680 3D 37 20 52 53 53 49 70 6B 74 3D 2D 33 36 20 42 =7 RSSIpkt=-36 B 00000690 57 3D 31 32 35 20 43 52 3D 34 2F 35 20 53 46 3D W=125 CR=4/5 SF= 000006a0 31 32 0A 5E 70 31 2C 31 38 2C 36 2C 30 2C 30 2C 12.^p1,18,6,0,0, 000006b0 37 2C 2D 33 36 0A 5E 72 31 32 35 2C 35 2C 31 32 7,-36.^r125,5,12 000006c0 0A FF FE 0D 0A .....
and message display stops as if package content was displayed, mcu is fine, if i send another package, i get the headers and an empty line too
00000650 2D 2D 20 72 78 6C 6F 72 61 2E 20 64 73 74 3D 31 -- rxlora. dst=1 00000660 20 74 79 70 65 3D 30 78 31 32 20 73 72 63 3D 36 type=0x12 src=6 00000670 20 73 65 71 3D 30 20 6C 65 6E 3D 30 20 53 4E 52 seq=0 len=0 SNR 00000680 3D 37 20 52 53 53 49 70 6B 74 3D 2D 33 36 20 42 =7 RSSIpkt=-36 B 00000690 57 3D 31 32 35 20 43 52 3D 34 2F 35 20 53 46 3D W=125 CR=4/5 SF= 000006a0 31 32 0A 5E 70 31 2C 31 38 2C 36 2C 30 2C 30 2C 12.^p1,18,6,0,0, 000006b0 37 2C 2D 33 36 0A 5E 72 31 32 35 2C 35 2C 31 32 7,-36.^r125,5,12 000006c0 0A FF FE 0D 0A 2D 2D 2D 20 72 78 6C 6F 72 61 2E .....--- rxlora. 000006d0 20 64 73 74 3D 31 20 74 79 70 65 3D 30 78 31 32 dst=1 type=0x12 000006e0 20 73 72 63 3D 36 20 73 65 71 3D 30 20 6C 65 6E src=6 seq=0 len 000006f0 3D 30 20 53 4E 52 3D 36 20 52 53 53 49 70 6B 74 =0 SNR=6 RSSIpkt 00000700 3D 2D 33 30 20 42 57 3D 31 32 35 20 43 52 3D 34 =-30 BW=125 CR=4 00000710 2F 35 20 53 46 3D 31 32 0A 5E 70 31 2C 31 38 2C /5 SF=12.^p1,18, 00000720 36 2C 30 2C 30 2C 36 2C 2D 33 30 0A 5E 72 31 32 6,0,0,6,-30.^r12 00000730 35 2C 35 2C 31 32 0A FF FE 0D 0A 5,5,12.....
Hi, did you solve it? Yesterday an update happened, but now I do not receive anymore package at the gateway, both the Arduino_LoRa_Ping_Pong_LCD example and Arduino_LoRa_Simple_temp
I've updated the SX1272.* lib. So please take the new version to compile for your ESP32 devices. There is also the Arduino_LoRa_Gateway.ino sketch that has been updated. Maybe you already got the right version but just in case, get the new one and retry your setup.
Solved, thank you....
Great! regards,
I'm running arduino_simple_temp & arduino_lora_gateway on two esp32 with a sx1276. Everything is default, except eeprom and lowpower are commented out because they won't compile on esp32 platform.
The package is being sent
On the receive terminal, I get
And the content of the package is not printed. As for received hex,
The letters after 12 are init garbage/noise from the reset input button. If i let it run, I get nothing.