Skip to main content



      Home
Home » Eclipse Projects » Kura » Channel subscription
Channel subscription [message #1821623] Mon, 17 February 2020 10:22 Go to next message
Eclipse UserFriend
Hi,

I'm working on a connection driver that is actually subscribed to a device. Is is a good approach to configure it as an asset? In case it is, I was thinking in take advantage of the listen property already available in the WireAsset but I'm not sure that it should be used for this purpose.

Regards,
Re: Channel subscription [message #1821652 is a reply to message #1821623] Tue, 18 February 2020 03:20 Go to previous messageGo to next message
Eclipse UserFriend
Hello,
what do you mean with "connection driver"?
Can you detail a little better what is the setup?

Best regards,
matteo
Re: Channel subscription [message #1821654 is a reply to message #1821652] Tue, 18 February 2020 04:03 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

I mean an implementation of org.eclipse.kura.driver.Driver. So far I've only created connections of type master-slave where I periodically request the data. What I intend to do is to perform a publish-subscribe connection with a device. Are the WireAsset and Driver interfaces the right option for this new approach? Is the field listen (of the ChannelRecords) expected to be used for this purpose?

Thanks,

[Updated on: Tue, 18 February 2020 04:04] by Moderator

Re: Channel subscription [message #1821655 is a reply to message #1821654] Tue, 18 February 2020 04:30 Go to previous message
Eclipse UserFriend
An example of driver that can be used in listen mode is this one: https://github.com/eclipse/kura/tree/develop/kura/org.eclipse.kura.driver.ble.xdk
Previous Topic:Kura on raspberry pi3
Next Topic:Integration with Hawkbit
Goto Forum:
  


Current Time: Sat Jun 21 08:03:02 EDT 2025

Powered by FUDForum. Page generated in 0.09495 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top