ES400 (ES405B) Problem with Connection Manager

M Miles Penrod 3 years ago
0 0 0

When we are building a new software using Direct Connection on the ES400, we are getting an error, the question we have is:

In the connection manager source code, what conditions will cause ConnMgrEstablishConnection() to fail with a code of CONNMGR_STATUS_PHONEOFF even when attempting to connect to a direct cable connect (DCC) entry rather than a radio connection?  It is worth noting that when trying to use the same connection with the Windows Mobile connection manager we also get a message telling the user to check that the phone is not in flight mode.

More background...we are attempting to use the Connection Manager to establish a direct cable connection between a handheld device and a USB Host Ethernet peripheral.  The crux of the problem is that when we attempt to start our connection using  ConnMgrEstablishConnection() we receive an error CONNMGR_STATUS_PHONEOFF.  The 2 devices we see this error on are mobile network capable but do not have SIM cards, a common configuration for our customers.

During installation our application sets up a connection manager direct cable connect entry in the CM_PPPEntries service provider using the function:  DMProcessConfigXML() from the aygshell library and the following XML segment.

   

       

             ; this is the "WORK" dest GUID

           

           

           

           

           

           

           

           

           

           

      "

   "

";

Note that above the DeviceType value is set to "direct" indicating a direct cable connection.  Additionally, the DeviceName "USB Cable:" indicates an ExtModem entry with deviceType of 0 for direct cable connect.

CONTACT
Can’t find what you’re looking for?