ok-dmr / dmr-kaitai Goto Github PK
View Code? Open in Web Editor NEWDMR protocols dissectors written in kaitai-io first approach
License: GNU Affero General Public License v3.0
DMR protocols dissectors written in kaitai-io first approach
License: GNU Affero General Public License v3.0
Does this use the same result codes as ack messages for the hytera TMP?
#result code for ack messages
# ok = 0
# fail = 1
# invalid_params = 3
# channel_busy = 4
# rx_only = 5
# low_battery = 6
# pll_unlock = 7
# private_call_no_ack = 8
# repeater_wakeup_fail = 9
# no_contact = 10
# tx_deny = 11
# tx_interrupted = 12
Eg. what can be now done like this (running from root of Hytera_Homebrew_Bridge)
$ python3 -m hytera_homebrew_bridge.tests.hdap_single_packet 0980a10022000000010a01b2070a03640e4f004c004900560045005200200054004500530054007a03
{'checksum': 122,
'data': {'_m_option_sum_len': 0,
'ack_flag': <AckFlags.ack_not_required: 1>,
'destination_ip': {'radio_id_1': 1,
'radio_id_2': 178,
'radio_id_3': 7,
'subnet': 10},
'message_length': 34,
'option_flag': <OptionFlags.option_len_and_field_disabled: 0>,
'request_id': 1,
'reserved': 0,
'service_type': <ServiceTypes.send_private_message: 161>,
'source_ip': {'radio_id_1': 3,
'radio_id_2': 100,
'radio_id_3': 14,
'subnet': 10},
'tmdata': 'OLIVER TEST'},
'message_footer': b'\x03',
'message_header': <MessageHeaderTypes.text_message_protocol: 9>}
Should be doable like this, for example
dmr-kaitai-hdap 0980a10022000000010a01b2070a03640e4f004c004900560045005200200054004500530054007a03
dmr-kaitai --hdap 0980a10022000000010a01b2070a03640e4f004c004900560045005200200054004500530054007a03
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.