Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Supporting Java ME 8.2

Hello James,

I have created a fork with the following refactorings (see https://github.com/thomas-kriechbaum/paho.mqtt.java/tree/master/org.eclipse.paho.jmeclient/org.eclipse.paho.jmeclient.mqttv3)
  • ant ==> maven (not tycho for now)
  • dependencies to Java ME SDK 8.2
  • org.eclipse.paho.client.mqttv3.MqttConnectOptions (this class seems outdated - added MQTT version constants + SocketFactory)
  • org.eclipse.paho.client.mqttv3.internal.IMqttNetworkFactory - added this interfaces as I could not find it in any project (is implemented by MqttMicroNetworkFactory)
  • org.eclipse.paho.client.mqttv3.util.PropertyResourceBundle - MqttException.REASON_CODE_CATALOG_NOT_FOUND is not defined
The maven build runs without any errors. 
I will do some testing next weekend, as I can't spend much of my time during the week. IOT-coding is a hobby of mine and not my profession (doing "serious" enterprise java development with big blue application servers).

Unfortunately I can not estimate how outdated the code in org.eclipse.paho.jmeclient.mqttv3 is compared to org.eclipse.paho.client.mqttv3.

Thomas

On Mon, Feb 1, 2016 at 2:37 PM James Sutton1 <james.sutton@xxxxxxxxxx> wrote:
Hi Thomas,
 
If you'd like to run the client on a K64F then you can always use the embedded C client: https://developer.mbed.org/teams/mqtt/code/MQTT/
 
In terms of Java ME, I've not had an opportunity to look at it myself but I believe that the original jme client's only requirement was the 3.2 SDK. What sort of errors are you seeing?
 
 
Kind regards,
 
James Sutton
Software Engineer - IoT Foundation - MQTT Open Source Projects
Technical Trojan - Wimbledon Project

Phone: 01962 815438 | Extension: x372454
E-mail: james.sutton@xxxxxxxxxx
Personal Website: www.jsutton.co.uk
Find me on:      
IBM

Hursley Park
HursleySO212JN
United Kingdom
 
IBM United Kingdom Limited Registered in England and Wales with number 741598 Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU
 
 
----- Original message -----
From: Thomas Kriechbaum <thomas.kriechbaum@xxxxxxxxx>
Sent by: paho-dev-bounces@xxxxxxxxxxx
To: "paho-dev@xxxxxxxxxxx" <paho-dev@xxxxxxxxxxx>
Cc:
Subject: [paho-dev] Supporting Java ME 8.2
Date: Sun, Jan 31, 2016 5:47 PM
 
Hello,

are there any plans to support Java ME Embedded 8.2. I would be nice to run your MQTT client on a Freescale K64F.

Today I have cloned your github repository to update the dependencies within the module org.eclipse.paho.jmeclient.mqttv3 to the new SDK.

I have also done some refactorings to get the sources compiled with a "full" dependency to org.eclipse.paho.client.mqttv3.

But compiling with a "reduced' dependency to org.eclipse.paho.client.mqttv3 (only a subset of sources are copied as defined in the build.xml) fails.

It seams that these classes require much more other classes to compile and run correctly.

Thanks,
Thomas
_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev
 
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev

Back to the top