Establishing a data socket

When it's initialized, a cellular data connection becomes available for use by the TCP/IP stack (io-pkt). To send and receive data, the client requests a socket through this stack service; for details on doing so, see the Networking Manager entry in the QNX Neutrino Utilities Reference.

The logging information resulting from a new data socket shows the following activity:

Dec 31 19:03:14.221          qwf_crm_telit.1986613             low_rate   1003  QWF_TR 

LP_BEARER - ACT 3
Dec 31 19:03:14.221          qwf_crm_telit.1986613            high_rate   1003  QWF_TR 

                 defineContext: Define PDP Context: cid 1, IP, apn: "phone"
Dec 31 19:03:14.221   qwf_cellular_control.1941554            high_rate   3166  QWF_TR 
             BmiRegisterBearer: Registered BR(6)
Dec 31 19:03:14.221   qwf_cellular_control.1941554            high_rate   3160  QWF_TR 
          performServiceAction: Requesting connection (retries = -1 (infinite)) of service
 'internet' (always-on, client connections == 0, DISCONNECTED state)
Dec 31 19:03:14.221   qwf_cellular_control.1941554            high_rate   3166  QWF_TR 
               BmiEnableBearer: Successfully enabled BR(3)
Dec 31 19:03:14.237          qwf_crm_telit.1986613            high_rate   1003  QWF_TR 
                   setPdpState: PDP[cid 1] ACTIVATING

Dec 31 19:03:14.237          qwf_crm_telit.1986613             low_rate   1003  QWF_TR 
LP_PPP_CTRL - ACT bid 3, cid 1
Dec 31 19:03:14.238          qwf_crm_telit.1986613             low_rate   1003  QWF_TR 
LP_PPP_DEV - UP, Link 3, bid 3, dev /dev/serusb5
Dec 31 19:03:15.244          qwf_crm_telit.1986613             low_rate   1003  QWF_TR 
LP_PDP - UP, Link 3, bid 3, cid 1
Dec 31 19:03:15.265          qwf_crm_telit.1986613             low_rate   1003  QWF_TR 
LP_PPPD_CTRL - UP, Link 3, bid 3, cid 1

Dec 31 19:03:15.370                 net_pps.626720          main_buffer      0  net_pps:
 ---------------------
net_pps: LOG: Interface state change on ppp0 (19) to UP and NOT CONNECTED

Dec 31 19:03:15.370                 net_pps.626720          main_buffer      0  net_pps:
 LOG: net_disconnected() interface ppp0 (fib 0) update 0

Dec 31 19:03:15.370                 net_pps.626720          main_buffer      0  net_pps:
 WARN:NULL cfg in disconnect
Dec 31 19:03:15.370                 net_pps.626720          main_buffer      0  net_pps:
 WARN:net_unconfigure_manual NULL cfg in disconnect
Dec 31 19:03:15.370                 net_pps.626720          main_buffer      0  net_pps:
 ---------------------
net_pps: LOG: RTM_NEWADDR if_index=19 

Dec 31 19:03:15.413          qwf_crm_telit.1986613            high_rate   1003  QWF_TR 
  Handle_tlv_nonmc_bearer_mgmt: PPP Up: link=3

Dec 31 19:03:15.413          qwf_crm_telit.1986613             low_rate   1003  QWF_TR 
LP_PPP_IP - UP, Link 3

Dec 31 19:03:15.413          qwf_crm_telit.1986613             low_rate   1003  QWF_TR 
LP_PPP_CTRL - UP, bid 3, cid 1

Dec 31 19:03:15.413          qwf_crm_telit.1986613            high_rate   1003  QWF_TR 
                   activatePdp: PPP Connection has started!

Dec 31 19:03:15.414          qwf_crm_telit.1986613            high_rate   1003  QWF_TR 
                   setPdpState: PDP[cid 1] ACTIVE

Dec 31 19:03:15.415          qwf_crm_telit.1986613             low_rate   1003  QWF_TR 
LP_BEARER - UP, bid 3, cid 1, IPv4, phone

Dec 31 19:03:15.419   qwf_cellular_control.1941554            high_rate   3167  QWF_TR 
       NotifyClientBearerReady: NTF_BEARER_READY 3, 0

Dec 31 19:03:15.420   qwf_cellular_control.1941554            high_rate   3166  QWF_TR 
 BmiGetBearerNetworkParameters: Channel: 0

Dec 31 19:03:15.544   qwf_cellular_control.1941554            high_rate   3165        
           sendNetPpsCmd: sent to net_pps: msg::net_connected
id::1
dat:json:["ppp0",{"manual6":"off",


Dec 31 19:03:15.544                 net_pps.626720          main_buffer      0  net_pps:
 ---------------------
net_pps: LOG: Process msg::net_connected

Dec 31 19:03:15.544                 net_pps.626720          main_buffer      0  net_pps:
 LOG: msg::net_connected ppp0