Skip to main content



      Home
Home » Eclipse Projects » Kura » How to create service instances
icon5.gif  How to create service instances [message #1754282] Thu, 16 February 2017 02:46 Go to next message
Eclipse UserFriend
I have successfully implemented a configurable service that runs on a Kura 2.0.1 installation and that I can deploy as a deployment package using the Kura web console. I would like to add additional instances of this service with their own configuration via the Kura web console.

Is it possible to set up my component in such a way?

Any suggestions appreciated.

To be more specific on the use case: My service captures audio from a microphone connected to the device. The configuration includes sampling rate, output file size, retention period for files etc. Next step would be to support two or three audio input channels that would be captured in parallel. Each with their own configuration.

Cheers
Bruno
Re: How to create service instances [message #1754450 is a reply to message #1754282] Fri, 17 February 2017 17:24 Go to previous messageGo to next message
Eclipse UserFriend
Hi Bruno,

This is possible by using OSGi factories, however each component will not show up in the web UI just yet. This is a feature that will be added in the next Kura release (due in March). With this release, you will be able to dynamically add new components based on your factory services.

The plumbing is already in place, but we haven't exposed everything through the UI just yet. You can see how factories operate by looking at the CloudService tab in the v2.1.0 UI. The generic factory support will look and behave in a similar fashion.

Thanks,
--Dave
Re: How to create service instances [message #1754476 is a reply to message #1754450] Sat, 18 February 2017 06:15 Go to previous messageGo to next message
Eclipse UserFriend
Hi Dave,

fine, I will check the new release then. Do you know when Eurotech will provide a corresponding release of ESF?

Cheers
Bruno
Re: How to create service instances [message #1754829 is a reply to message #1754476] Wed, 22 February 2017 17:06 Go to previous message
Eclipse UserFriend
Hi Bruno,

This forum is only for Eclipse Kura, so I can't really discuss commercial products based on Kura. I would recommend reaching out to the Eurotech support channels. Historically, ESF has followed very closely to Kura in terms of release dates.

Thanks,
--Dave
Previous Topic:Service provided by bundle
Next Topic:Using Serial Example for reading messages from Lora Radio Module connected by USB
Goto Forum:
  


Current Time: Wed Jul 30 13:14:45 EDT 2025

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

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

Back to the top