<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-2">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <font size="-1"><font face="Arial">Hi,<br>
        <br>
        I am trying to modify osmocomBB to work without the phone as
        layer 1.  My goal is that application will using socket to
        communicate with BTS (modified BTS which can send and receive
        message throught sockets).<br>
        <br>
        I analyzed the osmocomBB code and I found that I'll have to
        modify osmocon.c (host/osmocon/osmocon.c) file. This file is
        interface between serial communication and layer2. If I am
        right, I have to do this changes:<br>
        <br>
      </font></font>
    <ol>
      <li>Delete functions handle the serial interface</li>
      <li>Add new tool server to dnload structure</li>
      <li>Creating new tool server for L1 interface (UNIX socket or IP
        socket with GSMTAP)</li>
      <li>Add callback function for reading from layer2 socket and
        forward this messages to L1 socket interface.<br>
      </li>
    </ol>
    <p>Simplified I have to listen and forward packets from BTS to
      layer2 socket and from L2 to L1.<br>
    </p>
    <p>Do I think in right direction or I am wrong and it will need more
      modifications?<br>
    </p>
    Best regards,<br>
    Miroslav Babjak
  </body>
</html>