RadioHead Library custom configuration for RFM96 LoRa
Parameter in RH_RF95.h

const RH_RF95::ModemConfig myProfile =  { 
  RH_RF95_BW_62_5KHZ | RH_RF95_CODING_RATE_4_5,
  RH_RF95_SPREADING_FACTOR_1024CPS};

rf95.setModemRegisters(&amp;myProfile);