Lora Thing Plus Explorable Error with modified code

I am trying to communicate between the LoRa Thing Plus Explorable and the ESP32 1 Channel Gateway. The ESP32 seems to be working and online, however I have having issues with the Explorable…

I installed the RadioLib library from the Sparkfun website and also downloaded the peer to peer example code (which is different than the RadioLib example transmit code). When I compile the revised code, I get the following error:

Transmit-revised:40:16: error: ‘ERR_NONE’ was not declared in this scope… I believe this is because the library actually defines it as “RADIOLIB_ERR_NONE”. So I am not sure what the modified code is accomplishing if the terms are not compatible with the library it uses.

So I just tried using unmodified RadioLib example from the library (and adding SPI1 pin to the SX1262 module) it actually compiles and loads, however in the serial monitor I see:

[SX1262] Initializing … failed, code -2

So nothing seems to work.

Is there a way to find out what code -2 is? Is this just an issue with the Explorable not communicating with the ESP32 LoRa or am I doing something wrong with the Explorable code?