<div dir="ltr">Thanks Harald,<div>I spent some more time on this today, it looks like you can initiate the connection from the BSC to the CBC or the other way around,</div><div>I worked out a basic config on OsmoCBC and OsmoBSC (going for BSC initiating the connection to CBC):</div><div>OsmoCBC Config:</div><div><font face="monospace">cbc<br> unknown-peers accept</font><br></div><div>And the config on OsmoBSC:<br><font face="monospace">cbc</font></div><div><font face="monospace"> remote-ip 10.0.1.252</font></div><div><font face="monospace"> remote-port 48049</font></div><div><font face="monospace"> no listen-port</font></div><div><font face="monospace"><br></font></div><div><font face="arial, sans-serif">Unfortunately when the BSC connects to the CBC (abridged):<br></font><font face="monospace"><0000> cbsp_server.c:140 r=<a href="http://10.0.1.201:36667" target="_blank">10.0.1.201:36667</a><->l=<a href="http://10.0.1.252:48049" target="_blank">10.0.1.252:48049</a>: Accepting unknown CBSP peer <a href="http://10.0.1.201:36667" target="_blank">10.0.1.201:36667</a><br><0000> cbsp_server.c:153 r=<a href="http://10.0.1.201:36667" target="_blank">10.0.1.201:36667</a><->l=<a href="http://10.0.1.252:48049" target="_blank">10.0.1.252:48049</a>: New CBSP client connection<br><0000> cbsp_server.c:154 CBSP-SERVER[0x55e569d983c0]{INIT}: Received Event RESET.cmd<br><0000> cbsp_server_fsm.c:203 CBSP-SERVER[0x55e569d983c0]{RESET_PENDING}: Event Rx Restart not permitted<br><0000> cbsp_server_fsm.c:206 r=<a href="http://10.0.1.201:36667" target="_blank">10.0.1.201:36667</a><->l=<a href="http://10.0.1.252:48049" target="_blank">10.0.1.252:48049</a>: unknown/unhandled RESET COMPLETE</font><font face="arial, sans-serif"><br></font><font face="monospace">Segmentation fault (core dumped)</font><font face="arial, sans-serif"><br></font></div><div><br></div><div><font face="arial, sans-serif">After that the connection is dropped and the CBC halts,</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">So I tried it in reverse, on the CBC I set it up to connect to a remote BSC and plugged in the details of the BSC, and on the BSC I setup a CBC listener IP/port, but wasn't seeing any traffic originating from the CBC; I'm not sure if the CBC needs a REST request before it'll establish the connection, I got some way towards working out what the JSON encoding should be from the source code but I'm no good with C.</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Any pointers would be greatly appreciated,</font></div><div><font face="arial, sans-serif"><br></font></div><div>Cheers,</div><div><br></div><div>Nick</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 26, 2020 at 2:32 AM Harald Welte <<a href="mailto:laforge@osmocom.org" target="_blank">laforge@osmocom.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear Nick,<br>
<br>
On Mon, Jun 22, 2020 at 05:45:00PM +1000, Nick Jones wrote:<br>
> Hi all,<br>
> Just wondering what the status of OsmoCBC is?<br>
<br>
I guess nobody has played with it except myself (the main developer)<br>
<br>
> I started compiling from source, but I couldn't find any docs on<br>
> interfacing with it other than that it's via a HTTP REST API,<br>
> If there aren't any docs are there packet captures or examples I can work<br>
> from that'd be quicker than trying to reverse it from the source code,<br>
> Happy to contribute some docs once I work it out,<br>
<br>
I am currently buried alive in work and to be honest I don't recall the details.<br>
<br>
I remember the BSC + BTS side of Cell Broadcast was fully implemented and working,<br>
and that the CBC was somewhat early stage.  I will try to review the code and<br>
get back as soon as I can.  If you don't get a response in 7 days, please<br>
ping me again.<br>
<br>
-- <br>
- Harald Welte <<a href="mailto:laforge@osmocom.org" target="_blank">laforge@osmocom.org</a>>            <a href="http://laforge.gnumonks.org/" rel="noreferrer" target="_blank">http://laforge.gnumonks.org/</a><br>
============================================================================<br>
"Privacy in residential applications is a desirable marketing option."<br>
                                                  (ETSI EN 300 175-7 Ch. A6)<br>
</blockquote></div>