AMBEtest4.py


Steve Siesel [K4KSA]
 

Steve,

 

Here is my results of a DV3000u in a RPi 3!

 

Thoughts?

Steve

K4KSA

 

 

root@DMRLink:/home/test/DV3000/Analog_Bridge# python AMBEtest4.py -n -s /dev/ttyUSB0

Setting serial port

Serial port parameters:

Port name:      /dev/ttyUSB0

Baudrate:       460800

Byte size:      8

Parity:         N

Stop bits:      1

Xon Xoff:       False

RTS/CTS:        False

DST/DTR:        False

*********************

Testing Reset DV3000

Test result: Success (6100010039)

Testing Get Product ID

Test result: Success (61000b0030414d4245333030305200)

Testing Get Version

Test result: Success (6100310031563132302e453130302e585858582e433130362e473531342e523030392e42303031303431312e433030323032303800)

Testing Set DSTAR Mode

Test result: Success (610002000a00)

Testing Reset DV3000

Test result: Success (6100010039)

Testing Set DMR Mode

Test result: Success (610002000a00)

Testing Decode AMBE

Test result: Success (6101420200a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffff0001ffff000100000000000000000000ffff00000000000000000000000100000001000000000000ffff000000000000000000000001000000000000ffffffff000000000000000000000000000000000000000000000001000000000000ffff000000000001000000000000ffff00010001000000010000ffff00000000000000000000000000010000ffff0000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000ffff00010000ffff000000010000)

Testing Encode PCM

Test result: Success (61000b010148954be6500310b00777)

Testing Decode AMBE

Test result: Success (6101420200a0ffff0001000000000001000000010000000000010000ffff0000ffff000000000000000000000000ffff00000000000000000000ffff00000000ffff0000000000000001000000010000ffff0001000000000000000000000000000000000000000100000000000000000000000000000000ffff0001ffff00000001000000010000000100000001ffffffff0000ffff0000ffff0001ffff00010000ffff0001ffff0001000000000000ffff0001ffff00000001ffff000000000000000000000000000000000000ffff0000ffff000100000000000100000001ffff0000000000000000ffff000000010000000000000000000100000000000000000000ffff000100000001000000000000ffff0000ffff00000000ffff0001ffff0000000000000001ffff0000000000000001ffff00000000ffff00000000000000000000)

Testing Encode PCM

Test result: Success (61000b010148a61ae1f1abaca4432b)

Testing Decode AMBE

Test result: Success (6101420200a00001ffff00000001ffff000000000000000000000001ffff00000000000000000000ffff0000000000000000ffff0001000000000000ffff000000000001ffff0000000000000001ffff0001ffff000000000000000000000001ffff000000000000000000000001ffff0000000000000000000100000000000000010001ffff00010000000000010001000000000000000000000001ffffffff0001ffff0000ffff0000000100000001ffff0001ffff00000000ffff0001ffff0001ffff0001000000000001ffff000100000000000000000001ffffffff0000000000010000000100010000000100000000000000010000ffffffffffff0001ffff0001ffff00000001ffff0001ffff0001ffff00000000ffff000100000001000000000001000000010000000100000000ffff0000ffffffff0000ffff00000000ffff0000)

Testing Encode PCM

Test result: Success (61000b010148fb836133dbbc308bb3)

Testing Decode AMBE

Test result: Success (6101420200a000010000ffff0000ffff000000010001000100000001ffff00000001ffff00010000ffff00000000ffffffff0001ffff00010000ffff0001ffff0001000100000001ffff000000000000000100000001ffff0001ffff00000000ffff0001ffff0001000000000000ffff0001ffff0000ffff00010000ffff0001ffff0001000000000000000000000000000100000000000000000000000100010000000000000000000000000000000000000001000000000000ffff0000ffff0001000000000001ffff000000000000000000000000000000000000ffff00000000ffff000000010000ffff000000010000000000000000ffffffffffff000000000000ffff0000000000000001ffff0001000000000001ffff00000000000000000000000000000001000000010000ffff0000000000000000000000000000000100000000)

Testing Encode PCM

Test result: Success (61000b010148dba06231d9b850abb3)

Testing Decode AMBE

Test result: Success (6101420200a00000ffff000000000000000000000000ffff0001000000000000000000010000000000000000ffff00000000ffffffff0000000000000001ffff000000000001000100000001ffff0000000000000000ffff000000000000ffffffff00000000ffff000000000000000000000000000000000001000100000000000000000000000000000001000000010000ffff0000ffff000000000000000100000000ffff0000000000000000ffff00010000ffff000000000000ffff0000000000000000000000010000000000010000000000000000000000000000000000000000000000000000000000010000ffff0000000000000001ffff000000000001000000000000ffff00000000ffff00000000000100010001ffff00000001ffff000000000000ffff00000001ffff000000000001000000000001ffff00000001ffff0000)

Testing Encode PCM

Test result: Success (61000b010148a8c327379de4f08f3b)

Testing Decode AMBE

Test result: Success (6101420200a00000000000000000ffff000100000001000000000000000000000000000000000000ffff00000000000000000000000100000001000000000000ffff0000ffff0000ffff00000000ffff0000000100010000000000000000000100000000ffff0000000000000001ffff000000000000000000000000ffff000000000000000000000001000000000000ffff00000000ffff000000000000000000000000000000010001000000010000000100000000000000000000ffff0000ffff0000000000000001ffff000100000001000100000000ffff00000000000000000000ffff00000000ffff000000010000000100000000ffffffff0000000000000001ffff0000ffff00000001000000010000000000000000000000000001000000010000ffff000000000000ffff000000000001000000000001ffff0000000100000000)

Testing Encode PCM

Test result: Success (61000b010148bbc20517bfd0b0cb2f)

Testing Decode AMBE

Test result: Success (6101420200a0ffff0000000000000000ffff0001000000010000ffffffffffff000000010000ffffffff0000ffff0000000000000001000000000000000000000001000000010000000000000000000000000000ffff00000000000000000000000100000000000100000000ffff000000010000ffff00010000ffff0001ffff00000000000000000001ffffffff00000000000000010000000000000000ffff000000000000000000000001000000000000ffff0000000000000000ffff0001000000000000ffff00010001ffff0001000100000000ffff0000000000000000000000000000000100000000000000000000000000000000000000010000ffff0000ffff00010000ffff000000000000000100010000000000000001000000000000000000000000ffff000000000000000000000000000000000001ffff00000000ffff0001)

Testing Encode PCM

Test result: Success (61000b01014888f125379cd5d0ab6f)

Testing Decode AMBE

Test result: Success (6101420200a0ffff0000000100000001ffff000100000000000000000001ffff00000000ffff000100000000ffffffff0001ffff0000000000000000000000000000000000000000000100010000ffff00000000000000000000ffff000000010000ffff00000000ffff000000000001ffff00000000ffff000000000000000000000000000000010000000000000000000000000001000000000000000000000000ffff000000000000000100000000000100000001ffff0000000000000000ffff0000ffffffff00000000000000000001000000010000ffff00000000000000000000ffff00000000000000000000000000000000ffffffff0000ffff0000000000000001000000000001000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000010000ffff00000000ffff0001)

Testing Encode PCM

Test result: Success (61000b01014899e025359fe0b08f2b)

Testing Decode AMBE

Test result: Success (6101420200a0000000000000ffff00000000ffffffff00000000000000010000ffff00010000ffff0000000000000000000100000000000100010000ffff000000000000000100000000ffff000000000000ffff00000000ffff00010000ffff0000000000000000000000000001ffff0000000000000000ffff00010001000000000000000000000001000000000000000000000000ffff00000000ffff0000000000010001ffff00000000ffff00000001ffffffff000000000000ffff0000000100000001000000000000ffff000100000000000000010001000000010000000000000000ffff0000000000000000000000000000000100000000ffff000000000000000100000001000000000000ffff00000000000000000000ffff000000000000000100010000ffff0001ffff0000000000000000000000000000ffff000000000000)

Testing Encode PCM

Test result: Success (61000b010148b543ad63cdd4a8033f)

Testing Decode AMBE

Test result: Success (6101420200a00000ffff0001000000000000ffff0000000000010001ffff000000000000000000010000000100000000000100000000ffff00000001ffff0001000000000001ffff00000000000000000000000000010001000000000000000000000000000000000000000000000000ffffffff0000000000000000000000000000000000010000ffff00000001000000010000ffffffffffff0000ffff0000000100000000ffff0001000000000000000000000000ffff00000001000000000000000000000000000000000000000000000000ffff00000001ffff00000000000000000000000000000001000100000000ffff000000000001ffffffff0001ffff0000ffff000000010000000100010000000000000000000100010001000000000000000000000000000000010000ffff000000000000000000000000ffff00010000ffff)

Testing Encode PCM

Test result: Success (61000b01014886528d21a9f0fc032f)

root@DMRLink:/home/test/DV3000/Analog_Bridge#

Join main@DVSwitch.groups.io to automatically receive all group messages.