<div dir="ltr">Hello,<div><br></div><div>I am currently playing with Osmocom DECT software stack using COM-ON-AIR PCI card.</div><div><br></div><div>What I am trying to achieve is to configure test PC as portable part and connect it to DECT base station.</div><div><br></div><div>I have cloned and successfully compiled the following repos:</div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">git://<a href="http://dect.osmocom.org/linux-2.6.git">dect.osmocom.org/linux-2.6.git</a></span><br></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">git://<a href="http://dect.osmocom.org/libnl.git">dect.osmocom.org/libnl.git</a></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">git://<a href="http://dect.osmocom.org/libdect.git">dect.osmocom.org/libdect.git</a></span><br></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"><br></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">Following instructions on </span></span><font color="#000000" face="monospace"><a href="http://dect.osmocom.org/wiki/Configuration">dect.osmocom.org/wiki/Configuration</a> page I configured PP.</font></div><div><font color="#000000" face="monospace"><br></font></div><div><font color="#000000" face="monospace">However, the example app dect-llme-scan was able to work only after uncommenting line:</font></div><div><font color="#000000" face="monospace"><br></font></div><div><font color="#000000" face="monospace">//nl_dect_llme_mac_info_set_pari(lmsg, pari);</font></div><div><font color="#000000" face="monospace"><br></font></div><div><font color="#000000" face="monospace">With the line above uncommented, dect-llme-scan returns the list of available base stations. So I assume, that hardware and most part of software works.</font></div><div><font color="#000000" face="monospace"><br></font></div><div><font color="#000000" face="monospace">Then I tried to use example pp-access-rights to connect to the test base station. This app fails immediately after launch for the same reason as dect-llme-scan. Thus, I have added </font><span style="color:rgb(0,0,0);font-family:monospace">nl_dect_llme_mac_info_set_pari(lmsg, pari); with empty PARI to </span><span style="color:rgb(0,0,0);font-family:monospace">dect_netlink_mac_me_info_req(struct dect_handle *dh) function. With this modification, the example moves farther, but fails anyway with "No such file or directory" message on this line:</span></div><div><span style="color:rgb(0,0,0);font-family:monospace"><br></span></div><div><div><font color="#000000" face="monospace"><span class="" style="white-space:pre">              </span>if (connect(ddl->dfd->fd, (struct sockaddr *)&ddl->dlei,</font></div><div><font color="#000000" face="monospace"><span class="" style="white-space:pre">                        </span>    sizeof(ddl->dlei)) < 0 && errno != EAGAIN)</font></div><div><font color="#000000" face="monospace"><span class="" style="white-space:pre">                       </span>goto err3;</font></div><div style="color:rgb(0,0,0);font-family:monospace"><br></div></div><div style="color:rgb(0,0,0);font-family:monospace">in file lce.c</div><div style="color:rgb(0,0,0);font-family:monospace"><br></div><div style="color:rgb(0,0,0);font-family:monospace">All in all. May I at first ask about how to properly configure portable part?</div><div style="color:rgb(0,0,0);font-family:monospace"><br></div><div style="color:rgb(0,0,0);font-family:monospace">Here I have to specify EMC and FPN of the base station?</div><div><font color="#000000" face="monospace"># dect-cluster-add --name cluster0 --mode fp --emc 0x1182 --fpn 0x0fac3</font><br></div><div><font color="#000000" face="monospace"><div><br></div><div># dect-cell-add --name cell0 --cluster cluster0</div><div># dect-transceiver-bind --transceiver trx0 --cell cell0<br></div><div><br></div><div>What should I use here as IPUI? Some random identifier of my PP?</div></font></div><div><font color="#000000" face="monospace"># pp-access-rights --cluster cluster0 --pin 0000 --ipui </font><span style="color:rgb(0,0,0);font-family:monospace">0x11830fac4</span></div><div><font color="#000000" face="monospace"><br></font></div><div><font color="#000000" face="monospace">And, in general, are the sources in repos I listed previously were tested in PP mode or they are not fully functional yet?</font></div><div><font color="#000000" face="monospace"><br></font></div><div><font color="#000000" face="monospace">Thanks in advance. :)</font></div><div><font color="#000000" face="monospace"><br></font></div><div><font color="#000000" face="monospace"><br></font></div><div><font color="#000000" face="monospace">--</font></div><div><font color="#000000" face="monospace"> WBR,</font></div><div><font color="#000000" face="monospace"> Pavel</font></div><div><font color="#000000" face="monospace"><br></font></div></div>