Custom scripts in modem_cellular.c.

Hi team, 
I want to make my own custom scripts to run them in BG95 modem using modem_cellular.c zephyr library. 
The problem is that this lib only initialize the modem to be able to connect with any TCP connection, so I am able to use the mqtt lib and any other connection lib. 
I want to build my own custom script so I can get GPS location, do FOTA and any other custom scripts. 
the config of the modem only accepts 2 predefined scripts the init script and the dial script. 
and also they triggered once the pm_device_action_run(modem, PM_DEVICE_ACTION_RESUME); function is called in main like the example in sample. 

I have a ready script but I need to know how to call it. 

Thanks in advance.

Parents Reply Children
Related