|Re: [paho-dev] M2Mqtt on Windows Phone 8.0?|
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.
now WP8 isn't supported :-(
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.
> Ian Craggs
> icraggs@xxxxxxxxxx IBM United Kingdom
> Paho Project Lead; Committer on Mosquitto
Back to the top