Determine CS from the qbits.
| 471 | |
| 472 | // Determine CS from the qbits. |
| 473 | ChannelCodingType GprsDecoder::getCS() |
| 474 | { |
| 475 | // TODO: Make this more robust. |
| 476 | // Currently we only support CS1 or CS4, so just look at the first bit. |
| 477 | if (qbits[0]) { |
| 478 | return ChannelCodingCS1; |
| 479 | } else { |
| 480 | return ChannelCodingCS4; |
| 481 | } |
| 482 | } |
| 483 | |
| 484 | BitVector *GprsDecoder::getResult() |
| 485 | { |
no outgoing calls
no test coverage detected