[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] pi4j and OSGi (remote) services

Hi Wim,

On 7/29/2014 2:19 PM, Wim Jongman wrote:
Okay, using Scotts gpio bundles embedded in my polos server I can use apache webconsole to flip the led.

https://www.youtube.com/watch?v=BtS_JDyiKkU&feature=youtu.be

Cool!  Where did you get that background music? :).

BTW, I refactored the org.eclipse.ecf.raspberrypi.gpio service API to allow for work that I'm going to be doing on gpio input as well as output.  Specifically:  I created a new sub-interface of IGPIOPin called IGPIOPinOutput, and moved the methods formerly in IGPIOPin to IGPIOPinOutput...leaving only constants in IGPIOPin super interface.   I also changed all service type access from IGPIOPin -> IGPIOPinOutput.   The reason for this change is that we will soon need to be able to get input from gpio pins, and will need a new service interface(s) (probably to be called something like IGPIOPinInputListener)...so I needed to be explicit about the existing service API being for output.

Thanks,

Scott



On Tue, Jul 29, 2014 at 9:47 PM, Wim Jongman <wim.jongman@xxxxxxxxx> wrote:


On Tue, Jul 29, 2014 at 9:46 PM, Wim Jongman <wim.jongman@xxxxxxxxx> wrote:


[2]. I have made a build job for this project on our HIPP instance.

Where is this?
 

[3]. I have added Scott's stuff to my polos server.I will refactor this server and move it to the ECF github repo.

What is a polos server?   Is it meant to run on the pi? ...or some other role?

Yes it is a bootstrap osgi server that runs on the pi and now also includes the GPIO stuff [3]

[3] https://github.com/wimjongman/polos





_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ecf-dev