Reply
Thread Tools
Posts: 1 | Thanked: 0 times | Joined on Aug 2010
#1
Hi,

I'm developing an application for my N810.
The application uses Bluetooth.

Most of my programming is done under scratchbox.

I'm having trouble contacting the local service discovery protocol (SDP).
Code:
sdp_connect(BDADDR_ANY, BDADDR_LOCAL, SDP_RETRY_IF_BUSY);
Leads to " Error : 2 No such file or directory ".

It's looking for /var/run/sdp which is the socket for the SDP.

If i try the same code out of scratchbox it will run fine.

I have /var/run/sdp out of scratchbox but not into it.
Regular is in /var/run/sdp
Scrachbox should be in /scratchbox/users/stan/targets/DIABLO_X86/var/run/sdp

A symbolic link doesn't work i get a loop.

Is there a way to be able to contact the local SDP on the local computer from scratchbox ?

Thanks.
Ynats
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 05:45.