DV4mini. DV4mini: D-Star/DMR/C4FM Hotspot-USB-Stick Interface Description Version DV Development Group Author : DJ0ABR

Similar documents
RF4431 wireless transceiver module

WM1030 Rev Introduction. Ultra low power DASH7 Modem. Applications. Description. 868 / 915 MHz. Features. WIZZILAB Technical datasheet 1/10

The MMDVM Specification ( )

SH1030 Rev Introduction. Ultra low power DASH7 Arduino Shield Modem. Applications. Description. 868 MHz. Features

RASPBERRY PI + DV4MINI WHAT THEY ARE AND HOW THEY WORK TOGETHER

RF4432 wireless transceiver module

Appendix) Specifications of Monitor & Control Rev. 4.0 July 13, 2016

IPSC Protocol Specs for homebrew DMR repeater

DVAP Dongle Technical Reference Rev. 1.0

MicroStrain LXRS Wireless Base Station EEPROM Map

MCS-51 Serial Port A T 8 9 C 5 2 1

SPIRIT1 Development Kit Software Package

RC11xx(HP)-TM/ RC25xx(HP)-TM

Radiocrafts Embedded Wireless Solutions

Reference Guide RG-00101

RF69 Communication Example

Using UART in radio data transmission with the CDP-02 module By Tomihiko Uchikawa

WIRELESS NETWORK USER MANUAL MHz RFT-868-USB USB RFTide Network Interface

Interfacing a Hyper Terminal to the Flight 86 Kit

BLUETOOTH LATENCY AND DATA Application Note v1.1

Testing Minimum Inter Frame Gap (IFG)

RETROFIT. LoRaWAN WATER METER SENSOR CM3000

WiMOD LR Base Host Controller Interface

UART Register Set. UART Master Controller. Tx FSM. Rx FSM XMIT FIFO RCVR. i_rx_clk o_intr. o_out1 o_txrdy_n. o_out2 o_rxdy_n i_cs0 i_cs1 i_ads_n

Serial Communication. Simplex Half-Duplex Duplex

D-STAR Review & Final Exam

Links, clocks, optics and radios

Citect for Windows Driver Specification Extract

WiMOD LR Base Host Controller Interface

RAD XD and RAD XD-WM a/b/g Transceiver with Serial Link Quick Start Guide

Legal information. Document change log

WiMOD LR Base Plus Host Controller Interface

A Java multiplatform application to make your transceiver available for CAT and audio transfer securely over the LAN or WAN

FEC_Overhead considerations. Eric Lynskey IEEE 802.3av Interim Meeting May 13-15, 2008 Munich, Germany

Catalog 1. Overview Feature Application Block Diagram

DRF1605H Zigbee Module 1.6km Transfer CC2530 Wireless Module UART to Zigbee

Hardware interface and protocol of data exchange with mobile beacon via USB, UART and SPI interfaces.

PCI-SIO8BXS-SYNC. Features:

Data sheet Wireless UART firmware version 4

Functional Diagram: Serial Interface: Serial Signals:

WiMOD LoRaWAN EndNode Modem HCI Specification

Wireless Modem Exchange (WMX) Protocol Description

Protocol of data exchange with modem via USB interface Version

Specification. Current Consumption Range 8m * Rotational Angle +/- 50 degrees * Shear Angle +/- 40 degrees *

KENWOOD TH-D74. General Overview. Billerica Amateur Radio Society (BARS) Jay Vicory (AI1EE)

ECE 598HH: Advanced Wireless Networks and Sensing Systems. Lecture 8: MIMO Part 1 Haitham Hassanieh

HDLC-ETH. Serial Ethernet Converter. Rev. Dec 20, Datasheet. Website:

RS 232 PINOUTS. 1. We use RJ12 for all of our RS232 interfaces (Link-2-Modbus & Link-2-PC- Serial/RS232). The diagram below shows our pin out.


HDLC-PCIE. Synchronous Serial Card. Rev. Dec 22, Datasheet. Website:

RC1170-RC232 USER MANUAL

WEHRLE. LoRaWAN MODULARIS MODULE CM3020

LORD MANUAL. Wireless Sensor Networks LXRS Data Communications Protocol

HP 48 I/O Technical Interfacing Guide

Please open and fill in the fields.

EZRadio-2WayLink-DK EZRADIO TWO-WAY LINK DEVELOPMENT KIT USER S GUIDE. 1. Overview

CAN / RS485. Product Description. Technical Reference Note. Interface Adapter. Special Features

WIR-1386 / WIR-1186M Long Range 865MHz 867MHz RF Wireless Module with WIR-METERING Mesh Stack

Embit Binary Interface - WMBus Specific Documentation. embit s.r.l.

Topics. Motivations for Header Header Fields. Header Detail. IEEE Plenary Meeting November 6-9, Harry Peng Allan Pepper

DCB1M - Transceiver for Powerline Communication

HDLC-USB. Portable Protocol Converter. Rev. Dec 25, Datasheet. Website:

Demo Kit User Manual

C1098 JPEG Module User Manual

CMT2300A FIFO and Packet Format Usage Guideline

8051 Timers and Serial Port

Amarjeet Singh. February 7, 2012

C-MAX CME8000-BUS. Module Layout CME8000-BUS-LP02 RS232. Industrial Module with CME8000 receiver IC. Short Description

Concepts of Serial Communication

Wireless Sensor Networks. Data Communications Protocol

Lecture 5: Data Link Layer Basics

Giga Orion DATASHEET. DS-1025-E 1 of 5

Serial Communication Prof. James L. Frankel Harvard University. Version of 2:30 PM 6-Oct-2015 Copyright 2015 James L. Frankel. All rights reserved.

Chipset Evaluation and Development Loadboard Version 2

DATA BULLETIN MX bps MSK Modem

Hands-on course Mobile Communications

M1QSFP28SFP28. 5-speed dual-media test module. Xena Networks The price/performance leaders in Gigabit Ethernet Test & Measurement

Development an update. Aeroflex Gaisler

1. Implemented CM11 protocol

Real-Time Embedded Systems. CpE-450 Spring 06

BR03 Raspberry Pi Zero Bridge

User Manual. IP BiSerial BA4. Bidirectional Serial Data Interface IP Module

IEEE P /0137r00137r00137r0. IEEE P Wireless Personal Area Networks. DS-UWB Physical Layer Submission to 802.

By FaaDoOEngineers.com

Asynchronous Transmission. Asynchronous Serial Communications & UARTS

LMU Bluetooth Chipset Application Note

Serial Peripheral Interface (SPI)

USER GUIDE. Wireless Production Test Reference Protocol Specification Document. Atmel MCU Wireless. Description

ZigBee Compliant Platform 2.4G RF Low Power Transceiver Module for IEEE Standard. DATA SHEET Version B

DELPHI CORPORATION. LIN to RS-232 Gateway Systems Analysis INterface Tool (SAINT) Users Guide

DRF1278DM LORA Long Range SX1278 Data Radio Modem V2.72

Laboratory 5 Communication Interfaces

SDR Forum Dayton 2010

Scheduling Modes. Merging multiple Xena Traffic Generator streams onto one physical port

8051 Serial Port. EE4380 Fall02 Class 10. Pari vallal Kannan. Center for Integrated Circuits and Systems University of Texas at Dallas

UNIT 5 P.M.Arun Kumar, Assistant Professor, Department of IT, Sri Krishna College of Engineering and Technology, Coimbatore.

KST3300 Firmware Specification

Multi-Hop ARQ 林咨銘 2006/8/24.

4.0 PHYSICAL CONNECTIONS

DYNAMIC ENGINEERING 150 DuBois St., Suite C Santa Cruz, CA (831) Fax (831) Est.

Transcription:

DV4mini DV4mini: D-Star/DMR/C4FM Hotspot-USB-Stick Interface Description Version 8.2015 DV Development Group Author : DJ0ABR - 1 -

Inhaltsverzeichnis: Functions:...3 Interface:...3 Format of communication packets :...3 List of command codes:...3 Commands in detail:...4 SETADFQRG:...4 SETADFMODE:...4 FLUSHTXBUF:...4 ADFWRITE:...4 ADFWATCHDOG:...5 ADFVERSION:...5 ADFSETSEED:...5 ADFGREENLED:...5 ADFSETTXBUF:...6 ADFGETDATA:...6 ADFSETPOWER:...6 ADFDEBUG:...6 Usual usage:...6-2 -

Functions: The DV4mini software handles the lowest physical layer of the digital transmission protocols (Layer-1). It sends and receives wireless data transparently using the selected operation mode. i.e. if DMR is selected the transceiver will use 4FSK raised cosine mode, in Dstar it uses GMSK and in C4FM is uses 4FSK mode. The received data can be read by the host software. The host can send formatted data to the firmware which is then sent out in the 70cm band. All higher protocol functions are done by the host software. Interface: The DV4mini uses a virtual serial interface. Linux: the device is automatically detected by Linux as soon as connected to USB. The device name is /dev/acmx where x is a number starting from 0. Windows: when the device is connected for the first time Windows will automatically install a driver. This is a standard Windows driver and no external driver file is needed. The device gets the name COMx where x is a number between 1 and 255. The driver must be opened like a standard RS-232 with these parameters: 115200,n,8,1 Format of communication packets : Byte 0... 0x71 Byte 1... 0xfe Byte 2... 0x39 Byte 3... 0x1d Byte 4... command Byte 5... length of parameters Byte 6 - n... parameters List of command codes: SETADFQRG 1 SETADFMODE 2 FLUSHTXBUF 3 ADFWRITE 4 ADFWATCHDOG 5 ADFGETDATA 7 ADFGREENLED 8 ADFSETPOWER 9 ADFDEBUG 10 ADFSETSEED 17 ADFVERSION 18 ADFSETTXBUF 19-3 -

Commands in detail: SETADFQRG: Set the QRG of Receiver and Transmitter. The RX qrg ist set immediately. The TX qrg is set with the next transmission. Length: 8 Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 RX-qrg LSB RX-qrg RX-qrg RX-qrg MSB TX-qrg LSB TX-qrg TX-qrg TX-qrg MSB in DMR mode only simplex (RX=TX qrg) is allowed. SETADFMODE: Set the operating mode Byte 0 mode mode: 'D' = Dstar 'M' = DMR 'F' = Fusion C4FM FLUSHTXBUF: Sends all data from the TX buffer ADFWRITE: Write binary data to the transmit buffer. The data are then transmitted as soon as the TX buffer is filled (see also ADFSETTXBUF). The PTT is keyed automatically, a preamble is sent automatically. to 245 binary data stream to be sent. MSB is sent first. - 4 -

ADFWATCHDOG: The DV4mini returns a ADFWATCHDOG message upon receiving this message: The DV4mini returns the following data: Command: ADFWATCHDOG length: 8 Byte 0 RSSI MSB Byte 1 RSSI LSB Bytes 2,3,4,5,6,7 serial number of the DV4mini stick This message is used to read the RSSI and also to check if the DV4mini is still alive and connected. ADFVERSION: The DV4mini returns an ADFVERSION message including a variable length string with the version number of the firmware. ADFSETSEED: Write a random number to the DV4mini stick which is then used as seed for random functions. Length: 4 Byte 0 value LSB Byte 1 value Byte 2 value Byte 3 value MSB value is a random numer. The host PC usually takes this from the internal clock. ADFGREENLED: Swicth on/of the green LED to show an RX sync Byte 0 0=off, 1=on As soon as the host software recognizes a SYNC it can switch on the green LED. - 5 -

ADFSETTXBUF: Sets the size of the transmit buffer. This buffer is used to handle gaps in the received data stream. Byte 0 buffer size in 100ms steps (min:100ms max:1500ms which is min:1 and max:15) ADFGETDATA: Request the contents of the receive buffer. the DV4mini returns an ADFGETDATA message with variable length. The parameter field contains the contents of the RX buffer. ADFSETPOWER: Set the output power of the DV4mini 70cm transmitter. Byte 0 value from 0(min) to 9(max) ADFDEBUG: This is only sent from DV4mini to the host. It contains a variable length string with debug messages which can be printed out. Usual usage: This sequence is usually used to operate the DV4mini stick: 1. using the ADFWATCHDOG command search for the stick 2. as soon as the stick is found implement a 1s timer which sends ADFWATCHDOG. Use the return value to a) check if DV4mini is still connected b) to read the actual RSSI value (if needed). 3. Set the operation mode SETADFMODE 4. set the RX and TX qrg SETADFQRG 5. set the output power ADFSETPOWER 6. to transmit data simply send a buffer using the ADFWRITE command. The transmitter is - 6 -

keyed automatically. 7. Setup a timer (i.e. 100ms) which sends the ADFGETDATA command in order to read received data. - 7 -