Multiple IP session with EM9191

How to setup multiple IP sessions using EM9191 module in 5G SA using mbimcli commands?
I have tried the following:

  1. sudo mbimcli -p -d /dev/cdc-wdm1 --set-radio-state=on
    2.sudo mbimcli -p -d /dev/cdc-wdm1 --attach-packet-service
    3.sudo mbimcli -p -d /dev/cdc-wdm1 --connect=session-id=0,apn=<DNN_1>, ip-type=ipv4v6
  2. sudo mbimcli -p -d /dev/cdc-wdm1 --connect=session-id=0,apn=<DNN_2>, ip-type=ipv4v6

Before that I have created wwan interfaces like this

ip link add link wwan0 name wwan0.1 type vlan id 1

# ip link add link wwan0 name wwan0.2 type vlan id 2

I am unable establish 2nd IP session. I get an error saying

warning: key ‘apn’ is deprecated, use ‘access-string’ instead
error: operation failed: Failure

Can anyone guide me how to establish multiple PDU sessions in 5G using the module with mbimcli?

There is a type. Session-id =1 for DNN_2

I suggest you first try the MBPL sample application first:

I saw in the lite-mbim-connection-manager-readme.txt, it can connect to mulitple PDN.