DUOThanks.OK,Thanks alot Vadim. :-) will try to debug and will keep report.On Tue, Jan 9, 2018 at 12:32 AM, Vadim Yanitskiy <axilirator@gmail.com> wrote:Let's keep the public conversation,
there are no secrets, right? ;)
> Here is the pcap attached and here is the osmo-nitb
> log https://pastebin.com/NJa0YU08
>
> here is the osmo-bts log https://pastebin.com/RZ0au5yA
>
> hope you know what is wrong. Thanks
Have a look at the following log lines:
> trx_if.c:217 Enqueuing TRX control command 'CMD NOHANDOVER 0 0'
> ...
> trx_if.c:371 Response message: 'RSP NOHANDOVER -1'
> trx_if.c:403 transceiver (phy0.0) rejected TRX command
> with response: 'RSP NOHANDOVER -1'
> bts.c:208 Shutting down BTS 0, Reason TRX-CTRL-MSG: CRITICAL
For some reason, the OsmocomBB transceiver rejects the command.
Despite it's implemented and should work as expected.
Let's look at the source code (trx.c:400 _trx_ctrl_cmd_(no)handover):
> int n, tn, ss = 0;
>
> n = sscanf(args, "%d %d", &tn, &ss);
>
> if ((n < 1) || (tn < 0) || (tn > 7) || (ss < 0) || ((ss > 8)))
> return _trx_ctrl_send_resp(trx, cmd, "%d %d %d", -1, tn, ss);
>
> // ...
Try to debug this condition on your side.
I cannot reproduce your problem...With best regards,Vadim Yanitskiy.