Hi Paven,
which codebase are you using?
If you use BeeStack codebase there are some function that you can use, like MC1319xDrv_ReadSpiAsync for read and MC1319xDrv_WriteSpiAsync for write a modem register.
In the other codebase there are similar function...
regards, Filippo