Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » Channel subscription
Channel subscription [message #1821623] Mon, 17 February 2020 15:22 Go to next message
Pedro de Arquer is currently offline Pedro de ArquerFriend
Messages: 34
Registered: December 2018
Member
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 08:20 Go to previous messageGo to next message
Matteo Maiero is currently offline Matteo MaieroFriend
Messages: 423
Registered: July 2015
Location: Italy
Senior Member
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 09:03 Go to previous messageGo to next message
Pedro de Arquer is currently offline Pedro de ArquerFriend
Messages: 34
Registered: December 2018
Member
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 09:04]

Report message to a moderator

Re: Channel subscription [message #1821655 is a reply to message #1821654] Tue, 18 February 2020 09:30 Go to previous message
Matteo Maiero is currently offline Matteo MaieroFriend
Messages: 423
Registered: July 2015
Location: Italy
Senior Member
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: Thu Apr 25 06:57:38 GMT 2024

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

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

Back to the top