Open dimtsam opened 3 years ago
Hi, did you install our SX12XX lib?
https://github.com/CongducPham/LowCostLoRaGw/tree/master/Arduino/libraries/SX12XX
yes I did it. But it doesnt work
Strange, sorry to insist but did you really get OUR modified version of the SX12XX lib? Not the official distribution from Stuart? regards,
I open the link https://github.com/CongducPham/LowCostLoRaGw/tree/master/Arduino/libraries/SX12XX. Where do I click then to download your modified library? Because I think you are right and it is the original and not the modified library that I have download. Thanks a lot for your time
The best way may be to get the whole repo (https://github.com/CongducPham/LowCostLoRaGw) then copy the SX12XX folder into your Arduino sketch/libraries folder
I open the link https://github.com/CongducPham/LowCostLoRaGw/tree/master/Arduino/libraries/SX12XX. Where do I click then to download your modified library? Because I think you are right and it is the original and not the modified library that I have download. Thanks a lot for your time
i think you must use SX12XX lib from LowCostLoRaGw folder
Hello Im trying to compile Arduino_LoRa_SX12XX_Ping_Pong_LCD but Arduino IDE shows me an error:
Arduino: 1.8.11 (Windows 7), "Arduino Pro or Pro Mini, ATmega328P (3.3V, 8 MHz)"
C:\Users\PC\Desktop\arduino work\IoT\Arduino_LoRa_SX12XX_Ping_Pong_LCD\Arduino_LoRa_SX12XX_Ping_Pong_LCD.ino: In function 'void loraConfig()':
Arduino_LoRa_SX12XX_Ping_Pong_LCD:240:6: error: 'class SX127XLT' has no member named 'setPA_BOOST'; did you mean 'setDevicePABOOST'?
LT.setPA_BOOST(true);
C:\Users\PC\Desktop\arduino work\IoT\Arduino_LoRa_SX12XX_Ping_Pong_LCD\Arduino_LoRa_SX12XX_Ping_Pong_LCD.ino: In function 'void setup()':
Arduino_LoRa_SX12XX_Ping_Pong_LCD:397:6: error: 'class SX127XLT' has no member named 'setDevAddr'; did you mean 'setDevice'?
LT.setDevAddr(node_addr);
C:\Users\PC\Desktop\arduino work\IoT\Arduino_LoRa_SX12XX_Ping_Pong_LCD\Arduino_LoRa_SX12XX_Ping_Pong_LCD.ino: In function 'void loop()':
Arduino_LoRa_SX12XX_Ping_Pong_LCD:434:18: error: 'PKT_TYPE_DATA' was not declared in this scope
uint8_t p_type=PKT_TYPE_DATA | PKT_FLAG_ACK_REQ;
C:\Users\PC\Desktop\arduino work\IoT\Arduino_LoRa_SX12XX_Ping_Pong_LCD\Arduino_LoRa_SX12XX_Ping_Pong_LCD.ino:434:18: note: suggested alternative: 'PACKET_TYPE_LORA'
uint8_t p_type=PKT_TYPE_DATA | PKT_FLAG_ACK_REQ;
Arduino_LoRa_SX12XX_Ping_Pong_LCD:434:34: error: 'PKT_FLAG_ACK_REQ' was not declared in this scope
uint8_t p_type=PKT_TYPE_DATA | PKT_FLAG_ACK_REQ;
Arduino_LoRa_SX12XX_Ping_Pong_LCD:439:8: error: 'class SX127XLT' has no member named 'CarrierSense'
Arduino_LoRa_SX12XX_Ping_Pong_LCD:452:87: error: 'class SX127XLT' has no member named 'readDevAddr'; did you mean 'readRegister'?
Arduino_LoRa_SX12XX_Ping_Pong_LCD:460:14: error: 'class SX127XLT' has no member named 'readAckStatus'; did you mean 'readIrqStatus'?
Arduino_LoRa_SX12XX_Ping_Pong_LCD:464:54: error: 'class SX127XLT' has no member named 'readPacketSNRinACK'; did you mean 'readPacketSNR'?
exit status 1 'class SX127XLT' has no member named 'setPA_BOOST'; did you mean 'setDevicePABOOST'?
What I am doing wrong here? Thanks a lot