Trivial Change
This commit is contained in:
parent
4047e08a7e
commit
7937071930
@ -20,7 +20,7 @@ from dmrlink import IPSC, NETWORK, networks, logger, int_id, hex_str_3
|
||||
|
||||
__author__ = 'Cortney T. Buffington, N0MJS'
|
||||
__copyright__ = 'Copyright (c) 2015 Cortney T. Buffington, N0MJS and the K0USY Group'
|
||||
__credits__ = 'Adam Fast, KC0YLK; Dave K; and he who wishes not to be named'
|
||||
__credits__ = 'Adam Fast, KC0YLK; Robert Garcia, N5QM'
|
||||
__license__ = 'Creative Commons Attribution-ShareAlike 3.0 Unported'
|
||||
__maintainer__ = 'Cort Buffington, N0MJS'
|
||||
__version__ = '0.1a'
|
||||
@ -47,6 +47,7 @@ class ambeIPSC(IPSC):
|
||||
def group_voice(self, _network, _src_sub, _dst_sub, _ts, _end, _peerid, _data):
|
||||
# THIS FUNCTION IS NOT COMPLETE!!!!
|
||||
_payload_type = _data[30:31]
|
||||
# _ambe_frames = _data[33:52]
|
||||
_ambe_frames = BitArray('0x'+h(_data[33:52]))
|
||||
_ambe_frame1 = _ambe_frames[0:49]
|
||||
_ambe_frame2 = _ambe_frames[50:99]
|
||||
@ -66,7 +67,6 @@ class ambeIPSC(IPSC):
|
||||
print('Frame 1:', _ambe_frame1.bytes)
|
||||
print('Frame 2:', _ambe_frame2.bytes)
|
||||
print('Frame 3:', _ambe_frame3.bytes)
|
||||
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
Loading…
x
Reference in New Issue
Block a user