I was trying to find where OpenLTE was determining which EMM Cause Code to send to the UE device. I found something inside of liblte_rrc.h on lines 5997-6000 where if I set those equal to which ever cause code I was trying to send to the UE, I was able to see that in a debug print out. The debugging I added in was in liblte_rrc.cc on the function 'LIBLTE_ERROR_ENUM liblte_rrc_pack_rrc_connection_release_msg'. I added the line 'printf('Release Cause: %i \n', con_release->release_cause)' to print the cause code being sent to the UE. (So I assume anyways)When I modified the liblte_rrc.h as mentioned above, I was able to see the change in the printed debug line I added in liblte_rrc.cc. The only thing is that I did not see any difference in the behavior of the UE. No matter which Cause Code I changed it to, the UE always acted the same. I even tried some of the cause codes that were supposed to make the UE modem temporarily stop working (Code 12, etc). The UE I am using is a COTS Samsung Galaxy S7.Any ideas? Thank you for your help!!!!
|