Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » Scandium and Kura(Not working on RaspPi but working in emulator)
Scandium and Kura [message #1689002] Sun, 22 March 2015 11:27 Go to next message
Gianvito Morena is currently offline Gianvito MorenaFriend
Messages: 4
Registered: March 2015
Junior Member
Hi guys,

I was trying to add DTLS to a CoAP server (powered by Californium) using Scandium.

I followed an example in the Californium project called SecureServer.java.

Finally I get it working on the Kura emulator but I have problems with the RasPi.
I guess because there is no handshake between client and server.
I've opened 5684 port on the UI web server.

On the tail -F .../kura.log I can't see the internal logger of Scandium.

Even with try{ ... }catch(Throwable e){logger.error(e.getMessage(), e)}; it shows nothing.

How can I do to solve this problem? Or at least how can I receive notification from the internal logger of Scandium on the RasPi?

[Updated on: Sun, 22 March 2015 11:28]

Report message to a moderator

Re: Scandium and Kura [message #1689306 is a reply to message #1689002] Mon, 23 March 2015 09:12 Go to previous messageGo to next message
Luca Dazi is currently offline Luca DaziFriend
Messages: 15
Registered: December 2014
Junior Member
Ciao Gianvito,
the System output and error streams are redirected to /var/log/kura-console.log
If Scandium uses normal System.out you should see logging there.

How did you include Scandium and Californium in the build? Do you simply use them as libraries inside the project?

If you are able to provide the source code, I could have a look at it.

Luca
Re: Scandium and Kura [message #1689318 is a reply to message #1689306] Mon, 23 March 2015 09:45 Go to previous message
Gianvito Morena is currently offline Gianvito MorenaFriend
Messages: 4
Registered: March 2015
Junior Member
Ciao Luca,

Ok thank you. I'll try using that log.

Yes. I'm trying to create different Services to have a distributed (tree based) CoAP support using MQTT.
In one of these bundles (the base one) there are californium and scandiun libs (exported in the MANIFEST), so other Services can use them.

I'm working at it and I'm trying to develop a UI configurable support.

I had this problem and if I could see the whole log (Scandium included) it would be easier for me to find the problem.

Thank you,
Gianvito
Previous Topic:Question regarding CloudClient.release()
Next Topic:Issues building Kura from source in Eclipse
Goto Forum:
  


Current Time: Sat Apr 27 04:32:15 GMT 2024

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

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

Back to the top