none
Upgrade Smart Device Connectivity Project to interact with Embedded Compact 2013 RRS feed

  • Question

  • Hi,

          we have a C# application using the “Smart Device Connectivity API” realizing some remote control features (starting processes, transferring files, etc.) for a Compact 7 system, which works nicely.

          I wanted to upgrade the project in order to cope with Embedded Compact 2013 what raised some issues. I discovered that there is no more reference for the “Smart Device Connectivity API” under EC 2013, which led me to the assumption that it’s no longer supported. But, when I took a look at the “Remote Tools Framework”, which uses the same API, I discovered that there is still a version for EC 2013. What changed is that there is no more Datastore entry for the EC 2013 device. Instead, the connection is established by connecting to the “Windows Embedded Compact Debugger” Device listed under “Physically Connected Devices”. But this platform/device is not listed when I request the Platform list in my application.


    So my questions are: Is there still a possibility to connect to a EC 2013 device (even if there is no Datastore entry)? If yes, how? If no, what is the appropriate way to write remote tools for EC 2013?

    Regards,

    Tobi




    • Edited by LR_Tobi Tuesday, May 12, 2015 7:59 AM
    Tuesday, May 12, 2015 7:55 AM

Answers

All replies

  • Hi LRTobi,

    CoreCon is still there in Compact 2013 so I suggest you review the CoreCon APIs as I believe that is what you are actually leveraging. There are a few old blogs that may help...

    http://blogs.msdn.com/b/vsdteam/

    Sincerely, IoTGirl

    Tuesday, May 12, 2015 9:54 PM
    Moderator
  • Hi IoTGirl,

    thank you for your reply, but it did not really help us to solve our problem. I already knew the blogs you mentioned and they really helped me to get started with CoreCon. To get a bit more specific, everything described there worked really nicely using WEC7.

    The Problem with WEC2013 is that when i execute the following code there is no platform for the WEC2013 system in the collection.

    dsmgr = new DatastoreManager(1033);

    Collection<Platform> platforms = dsmgr.GetPlatforms();

    First, I thought, that the SDK was missing to install the Datastore information (what in WE7 is exactly what is included in the collection). But at the moment i am not even sure if WEC2013 still includes or needs this information.

    Sincerly,

    LR_Tobi


    • Edited by LR_Tobi Monday, May 18, 2015 6:17 AM
    Monday, May 18, 2015 6:16 AM
  • Hi LR_Tobi,

    The API you are referencing is from VS 2008 and not Corecon. https://msdn.microsoft.com/en-us/library/microsoft.smartdevice.connectivity(v=vs.90).aspx. The Smart Device Namespace was not available after VS 2008. See https://msdn.microsoft.com/en-us/library/sa69he4t(v=vs.100).aspx

    You will need to leverage corecon without the VS 2008 "smartdevice" wrapper as it is no longer available.

    Sincerely,

    IoT Girl

    • Marked as answer by LR_Tobi Tuesday, June 2, 2015 5:50 AM
    Monday, June 1, 2015 5:48 PM
    Moderator
  • Hi IoT Girl,

    thank you very much, that was the information I was searching for. Now I just have to figure out how to setup a project using plain corecon.

    Sincerly,

    LR_Tobi

    Tuesday, June 2, 2015 5:49 AM
  • Hi LR_Tobi,

    CTacke from OpenNetCF has kindly reposted an old Corecon Remote Tool sample for you to review.  Take a look at http://blog.opennetcf.com/2015/06/03/old-corecon-remote-tool-example/ as it may contain the answers you seek.

    Sincerely,

    IoTGirl

    • Marked as answer by LR_Tobi Monday, June 8, 2015 8:41 AM
    Wednesday, June 3, 2015 5:58 PM
    Moderator
  • That sample looks like the work of a genius!  Well the posting of it is, anyway.
    Wednesday, June 3, 2015 6:25 PM