Nucleo+ Lora + GPS module( as sensor) not sending packets to the server

I am trying to send GPS latitude and longitude to the server by using LoRa.
initially it is sending some data after some time(means sending one packet to the server ) it enters into dead lock(it stops sending packets to the server).
With out adding LoRa code GPS works perfect. After adding GPS code it stops responding.
Please tell me where is the problem.
Thanks & Regards,

Hi, which LoRa code are you using? Do you have any debug logs available?

i am using Lorawan-demo-72- bootcamp by adding serial gps libbraries to it and adding GPS calls in PREPARETXFRAME () function in the main.