ok-dmr / ok-dmrlib Goto Github PK
View Code? Open in Web Editor NEWDMR PDUs, elements, FEC and CRC library, including proprietary DMR protocols of Hytera and Motorola
License: GNU Affero General Public License v3.0
DMR PDUs, elements, FEC and CRC library, including proprietary DMR protocols of Hytera and Motorola
License: GNU Affero General Public License v3.0
I am getting the below error :-
'PYTHONPATH' is not recognized as an internal or external command,
operable program or batch file.
make: *** [Makefile:4: test] Error 1
Can you please GUIDE
@smarek OK as per your suggestion on my previous issue within this repo. I am able to build the code.
Can you help me to understand how this source code can be used to implement DMR?
It contains all the protocols required in DMR [Tier 1, 2 and 3]
Hi, I want to do generic data transmission over tier 2 with mmdvm for RF.
But sadly I have no idea how to start because of missing documentation. If I would know, at which files to look, for connecting to mmdvm, to transmit/receive generic data, I probably could figure it out by myself, but I don't know where to look.
More documentation or even better some simple examples, for example just sending hello world and receiving it, would be much appreciated.
Thx
Hi, I'm trying to implement in MMDVMHost the DMR tier III reverse channel commands for MS de-key and MS power control.
I use ok-dmrlib to generate the 32 bit PDUs, but the radios do not respond to the commands so there seems to be some issue with my code.
I figured out by myself that in VBPTC3211 I have to invert the parity bits row to odd in the set_parity() method and changed it accordingly. I'm not so sure about CRC7 configuration.
I wonder if you could help me troubleshoot my ok-dmrlib code below. Otherwise, the EMB fields are set with LCSS 0, PI 1 and correct colour code. The PDU is only transmitted in voice burst F so that seems fine as well.
ba = bitarray('0100')
CRC7_conf = BitCrcConfiguration(
width_bits=7,
polynomial=0x27,
init_value=0x00,
final_xor_value=0x7A,
reverse_input_bytes=False,
reverse_output_bytes=False,
)
crc7_calc = BitCrcCalculator(CRC7_conf, True)
crc7_nm = crc7_calc.calculate_checksum(ba)
print(crc7_nm)
ba = ba + crc7_nm
out = VBPTC3211.encode(ba)
print(out)
pad = bitarray('0000')
padl = bitarray('0000')
pad.extend(out)
pad.extend(padl)
all_bytes = bits_to_bytes(pad)
readable = all_bytes.hex(',').split(',')
x = str()
for i in readable:
x += "0x" + i + ', '
print(x)
Hello,
I am not a tech guy that much so I need some help with installing it. Could you please leave your email address or another contactable form so I can contact you?
Thank you
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.