diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-08-28 10:13:18 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-08-28 10:31:19 +0200 |
commit | fcfcfdbc59fa9ddb9efc5854c010f36dd24884f1 (patch) | |
tree | ec071cea78b1087270b5618ee7a91623f97ba48b /GSM48.st | |
parent | d130ebaa5e9c121c1c08acdd9784dfa9b117975d (diff) |
gsm: Provide access to timeslot and subslot number
Diffstat (limited to 'GSM48.st')
-rw-r--r-- | GSM48.st | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -293,6 +293,18 @@ GSM48SimpleData subclass: GSM48ChannelOrPacketDescription [ <gsmName: 'channelOrPacketDescription'> <gsmValueLength: 3> + + "broken stuff.. I really need to add a proper conditional + checking here..." + timeslotNumber [ + <category: 'channel-description'> + ^ (data at: 1) bitAnd: 2r111 + ] + + channelType [ + <category: 'channel-description'> + ^ (data at: 1) bitShift: -3 + ] ] GSM48SimpleData subclass: GSM48TimingAdvance [ |