0

AllJoyn 14.06 with BR=ON running on OpenELEC (Raspberry Pi)

asked 2015-02-16 07:43:29 -0700

iker gravatar image

Hi,

I have integrated AllJoyn on OpenELEc and also a little service that exposes the device and translate alljoyn notifications to dbus notifications for XBMC/Kodi.

The code works fine on PC but when i build and run it on OpenELEC (Raspberry Pi) i get this network error so daemon can create the bus.

Beginning ControlPanel Application. (Press CTRL+C to end application)
   0.445 ****** ERROR NETWORK external          common/os/posix/Socket.cc:345 |  0x0004
   0.449 ****** ERROR NETWORK IpNameServiceImpl common/os/posix/Socket.cc:345 |  0x0004
   0.451 ****** ERROR IPNS    IpNameServiceImpl .../IpNameServiceImpl.cc:1081 |  0x0004
   0.452 ****** ERROR NETWORK IpNameServiceImpl common/os/posix/Socket.cc:345 |  0x0004
   0.455 ****** ERROR IPNS    IpNameServiceImpl .../IpNameServiceImpl.cc:1081 |  0x0004
Sent announce, waiting for Contollers

I do not know if there is any kind of limitation for this platform or if i have to add any extra setup.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-02-17 13:13:39 -0700

Nikhil Dabhade gravatar image

Hi iker,

That error seems to be part of failing to create a multicast socket using IPV6.
The IpNameServiceImpl module that you see in the logs is responsible for AllJoyn discovery of services that are being advertised.

The relevant code around the error is

 if (status != ER_OK) {
            QCC_LogError(status, ("CreateMulticastSocket(): bind(::) failed"));
            qcc::Close(sockFd);
            return status;

}

Does OpenELEc support IPV6 ? If not then it should still work since the Ip Name service module tries over both IPV4 and IPV6 for maximum leverage.

In this case the app might be actually working over IPV4. Can you confirm if it is working in spite of getting those errors ?

Nikhil

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-02-16 07:43:29 -0700

Seen: 322 times

Last updated: Feb 17 '15