简体   繁体   English

是否有一个的OSGI容器,例如MQTT的Kura容器? 还是可以为k配置kura?

[英]Is there an OSGI container for californium like how Kura is for MQTT ? Or can kura be configured for californium?

Is there an OSGI container for californium like how Kura is for MQTT ? 是否有一个的OSGI容器,例如MQTT的Kura容器? Or can kura be configured for californium? 还是可以为k配置kura? I am currently using kura for my MQTT based application and I want to know if I can copy over the source code that interacts with the hardware and just adjust the libraries. 我目前在基于MQTT的应用程序中使用kura,我想知道是否可以复制与硬件交互的源代码并仅调整库。

You can find californium-osgi bundle in their maven repository . 您可以在其maven存储库中找到californium-osgi捆绑包。 The version of californium-osgi I use is 1.0.3 , and for kura is 1.4.0 . 我使用的californium-osgi的版本是1.0.3 ,而kura的版本是1.4.0

  1. Choose a version you like in the maven repository, and get the link of bundle. 在Maven存储库中选择您喜欢的版本,然后获取捆绑软件的链接。

  2. Log into OSGi console and enter install -start "the link your just copied" 登录OSGi控制台,然后输入install -start "the link your just copied"

Then you will see it successfully activated! 然后,您将看到它已成功激活! Hope this solve your problem. 希望这能解决您的问题。

Screenshot here 屏幕截图在这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM