Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » serial(some lines are missing in xml)
serial [message #1776071] Fri, 10 November 2017 12:50 Go to next message
khaleel shaik is currently offline khaleel shaikFriend
Messages: 19
Registered: November 2017
Junior Member
Hello

I have made serial binding but below lines are missing in component.xml
Quote:

<reference bind="setConnectionFactory" cardinality="1..1"
interface="org.osgi.service.io.ConnectionFactory" name="ConnectionFactory"
policy="static" unbind="unsetConnectionFactory" />


I have included these lines in component.xml manually then i am able to perform serial echo test.
Hw to get these lines autoamatically in component.xml?

Regards
khaleel
Re: serial [message #1776072 is a reply to message #1776071] Fri, 10 November 2017 12:54 Go to previous messageGo to next message
Matteo Maiero is currently offline Matteo MaieroFriend
Messages: 279
Registered: July 2015
Location: Italy
Senior Member
Hi,
could you please detail more in which context are you working and if the bundle you are working with is a custom one you made?

In general, those lines need to be added manually to your component xml file, if you want declarative services to work.

Best regards,
Matteo
Re: serial [message #1776075 is a reply to message #1776072] Fri, 10 November 2017 13:23 Go to previous message
khaleel shaik is currently offline khaleel shaikFriend
Messages: 19
Registered: November 2017
Junior Member
I am follwing the below link which specifies the process to build a custom serial binding.
https://eclipse.github.io/kura/dev/serial-example.html

Quote:

In general, those lines need to be added manually to your component xml file, if you want declarative services to work.

so in order to make a service to work we need to add it manually ? If yes then no issue
Thanks for reply

Previous Topic:Failed to build Eclipse Kura 3.1.0 for raspberry-pi-2-3
Next Topic:serial - ethernet
Goto Forum:
  


Current Time: Thu Nov 15 21:24:27 GMT 2018

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

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

Back to the top