On Mon, Jul 9, 2012 at 10:28 AM, bob avwiseav@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