The network module uses the struct network_msg structure for communication:
struct network_msg {
enum network_msg_type type;
union {
enum lte_lc_system_mode system_mode;
struct lte_lc_psm_cfg psm_cfg;
struct lte_lc_edrx_cfg edrx_cfg;
};
};