This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.
Sylvain Munaut 246tnt at gmail.comOn Mon, Jul 9, 2012 at 10:28 AM, bob <avwiseav at gmail.com> wrote:
> the flow is the TCH steal bit in a test network;in the burst_id branch, I do
> as following:
>
>         osmo_pbit2ubit_ext(steal_bit, 0 , bi->bits, 114 , 2 , 0);
>         printf("steal_bit %x , %x\n",steal_bit[0],steal_bit[1]);
>
> is that right?the result is below,:
Yup should work, I use :
hl = bi->bits[14] & 0x10;
hu = bi->bits[14] & 0x20;
but it should lead to the same result.
> steal_bit 1 , 0
> steal_bit 0 , 0
> ....
This just look like noise. As you say you should have runs of 4.
You must have a problem somewhere ...
Cheers,
    Sylvain