Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] M2Mqtt on Windows Phone 8.0?

Thanks Paolo.  Seems complicated.   I don't know whether Windows Phone 8.0 (vs 8.1) will be important at all to support.

Ian


On 10/16/2014 03:23 PM, Paolo Patierno wrote:
The current M2MqttWinRT project for Visual Studio 2013 is a Portable Class Library (PCL) that is targeted for Windows 8.1 and Windows Phone 8.1.
The Windows Phone 8.0 (Silverlight) project doesn't support WinRT (as for 8.1 projects) and it is a middle step between a .Net app and WinRT app, so some changes are needed.
For example, WinRT provides StreamSocket class and .Net use Socket class but in the case of WP8, the Socket class hasn't Send method but SendAsync, so I need to compile as .Net (not WinRT) but use SendAsync instead of Send; this is only one of the big differences.
I think that a new project is needed with a define like SILVERLIGHT so that I can tweak in the code the differences.

In conclusion,
now WP8 isn't supported :-(

Paolo.

Paolo Patierno
Software Engineer
 

 
Twitter : @ppatierno
Linkedin : paolopatierno
Blog (english) : Embedded101
Blog (italian) : DotNetCampania


> Date: Thu, 16 Oct 2014 14:28:15 +0100
> From: icraggs@xxxxxxxxxxxxxxxxxxxxxxx
> To: ppatierno@xxxxxxxx; paho-dev@xxxxxxxxxxx
> Subject: M2Mqtt on Windows Phone 8.0?
>
> Hi Paolo,
>
> does M2Mqtt work with Windows Phone 8.0? I am directing some developers
> in IBM to use your API rather but they are using Windows Phone 8.0, not 8.1.
>
> Thanks
>
> --
> Ian Craggs
> icraggs@xxxxxxxxxx IBM United Kingdom
> Paho Project Lead; Committer on Mosquitto
>

-- 
Ian Craggs                          
icraggs@xxxxxxxxxx                 IBM United Kingdom
Paho Project Lead; Committer on Mosquitto


Back to the top