2.2 KiB
2.2 KiB
Updates - 30/12/20
A number of updates have been applied to the SX127X part of the library, in part to cure some known issues and also to add additional functionality. A list of the changes made is below;
- Correct a problem with LORA_IQ_INVERTED mode not working when configured.
- Apply some of the SX1276_77_8_ErrataNote_1_1 fixes. '2.1 Sensitivity Optimization with a 500 kHz Bandwidth'. Note that '2.3 Receiver Spurious Reception of a LoRa Signal' has not yet been implemented, although the code is present, further testing of this 'fix' is required.
- Apply the revised RSSI and SNR value calculations to match the latest data sheet. The RSSI value was changed to be int16_t type since it can (now) go lower than -127dBm.
- Remove the private variables _PacketRSSI and _PacketSNR, they are not needed since they can be recovered direct from a SX127x register.
- Changes to the FSKRTTY transmit routines so that they automatically cope with transmission during a micros() roll-over.
- Make changes to several of the example programs that use a GPS to be able to cope automatically with a millis() roll-over
- Added support for SX127x devices that use the RFO_LF or RFO_HF ports for the transmit antenna. No support yet for an SX1272 using the RFO ports.
- Added 'AFSKRTTY2.h' library file to be used as the standard AFSKRTTY library for upload of HAB payloads into a PC. This version uses micros() to toggle a pin for audio and has been tested on ATMega328, DUE and ESP32. The use of tone() would be preferred but some Arduino platforms don't support it.
- Changed the GPS library programs 'UBLOXSerialGPS.h', 'UBLOXI2CGPS.h' and 'QuectelSerialGPS.h' so that they have compatible functions and that the same library file can be used for both softwareserial and hardware serial.
- A function was added, doAFCPPM(); which adjusts the LoRa devices internal oscillator PPM offset.
- Adjusted the calibrateImage(); function to operate correctly with fast processors.
- Add function to read current RSSI.
- Add an overloaded begin(int8_t pinNSS, uint8_t device); function for use with ESP32CAM.
- Change Receive and Transmit functions to allow for millis() roll-over at 50days.