Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [hono-dev] Regarding the integration with other Eclipse project

Hi,

I have some questions regarding your last answer (sorry for asking a bit late on this matter), I hope you can clarify them for me: 

ad 1) We definitely want to add more protocol adapters. In particular we would like to employ the code/artifacts from other Eclipse IoT projects for that purpose. The most obvious thing to do is adding a CoAP protocol adapter based on Eclipse Californium. A LWM2M protocol adapter probably doesn't make much sense since the "management" of the devices already constitutes an application in the Hono sense, i.e. LWM2M would probably better be implemented "northbound" of Hono. However, it would require the command & control direction, which is not (yet) available.

1)  As you mentioned, LWM2M / Eclipse Leshan should be implemented in the northbound of Hono. However, in this drawing here on the Eclipse Hono project page [1], LWM2M is at the southbound of Hono. Therefore it makes me a quite confused about the position of LWM2M / Leshan in "the big picture" of Hono,

2) I want to connect a device to Hono through CoAP, but at the current state of Hono, it doesn't have an official protocol adapter for CoAP. Is it technically possible to implement Californium into Hono sender blueprint  [2] as a temporary implementation of CoAP adapter ?

3) As I noticed, the Hono sender blueprint [2] does not implement the qdrouter as in Hono consumer [3], it connect directly to Hono instead (through Hono host and port). Are protocol adapters (HTTP, MQTT) the same with Hono sender and they connect directly to Hono without AMQP network ?  

Thank you in advance. I hope to receive your response soon.

[1]https://projects.eclipse.org/proposals/hono

[2]https://www.eclipse.org/hono/user-guide/java_client_sender/

[3]https://www.eclipse.org/hono/user-guide/java_client_consumer/

Best regards,
T. Nguyen

2017-06-06 14:32 GMT+02:00 Hudalla Kai (INST/ECS4) <kai.hudalla@xxxxxxxxxxxx>:

Hi,


ad 1) We definitely want to add more protocol adapters. In particular we would like to employ the code/artifacts from other Eclipse IoT projects for that purpose. The most obvious thing to do is adding a CoAP protocol adapter based on Eclipse Californium. A LWM2M protocol adapter probably doesn't make much sense since the "management" of the devices already constitutes an application in the Hono sense, i.e. LWM2M would probably better be implemented "northbound" of Hono. However, it would require the command & control direction, which is not (yet) available.


ad 2, 3) There is no need to install/use a separate MQTT broker in order to connect devices to Hono using MQTT. Hono's MQTT protocol adapter implements those parts of the MQTT protocol which are necessary for clients to connect and publish their telemetry or event messages. Please take a look at the MQTT adapter documentation [1] for details.


[1] https://www.eclipse.org/hono/component/mqtt-adapter/


Mit freundlichen Grüßen / Best regards

Kai Hudalla
Chief Software Architect

Bosch Software Innovations GmbH
Schöneberger Ufer 89-91
10785 Berlin
GERMANY
www.bosch-si.com

Registered office: Berlin, Register court: Amtsgericht Charlottenburg, HRB 148411 B;
Executives: Dr.-Ing. Rainer Kallenbach, Michael Hahn

From: hono-dev-bounces@xxxxxxxxxxx <hono-dev-bounces@xxxxxxxxxxx> on behalf of Thông Nguyễn Quốc <quocthong.ng@xxxxxxxxx>
Sent: Tuesday, June 6, 2017 14:09
To: hono developer discussions
Subject: [hono-dev] Regarding the integration with other Eclipse project
 
Hi there,

I am doing a study on the integration of Hono and other Eclipse IoT projects like Mosquitto, Leshan, and HawkBit. I come up with several questions:

1. As I noticed in the description, currently Hono only support MQTT connection through its MQTT adapter and HTTP connection through REST adapter. Is that possible that Hono can integrate with Leshan despite not having a LWM2M adapter ?

2. As far as I try to install Hono and Mosquitto on the same host, they don't work together well. Mosquitto broker cannot process subscribe/publish message on the host where Hono is running on. When I disable Hono, Mosquitto broker functions normally. This seems petty weird because they use two different ports. Meanwhile, when that host acts as an MQTT client and subscribe/publish to the MQTT broker on the other host (Hono is not installed), it works fine.

3. Are all the protocol adapters supposed to represent for other IoT projects. I mean that if Hono already has an adapter for MQTT, it doesn't need Mosquitto? Or these adapters are just the "link" between Hono and other IoT projects ?

Sincerely,
T. Nguyen

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



Back to the top