Hi again!,
I am trying to form a piconet, consisting of one
server and two clients. I have snaped the most of the code from l2test.c and
also made an advertising service and all. My problem is just that one one client
can connect and the other one fails (host is down, i belive) . I have
implemented the server using fork(), so that the parent process is still
listening for new connections and closing my sockets correct (as what I can
see..).
I have browsed this newsgroup for answers, and can
see something about setting the master/slave switch should help. I have also
tried this, but it dosn't help. Anyone that have a clue about, what could be
wrong??
PS. I belive that the PSM in the L2CAP layer can
serve more than one client or am I totally wrong? otherwise I should update the
PSM everytime a new client connect..
I anyone want the source code, I can send it. But I
haven't attached it in this document, due to the size of it.. :-)
-Thanks in advance!
/Steffen Larsen