Coronis WaveCard 25mW Bedienungsanleitung

Document : CS-SUP-MUTI-WPORTAPP-E02.sxw
WaveCard user handbook page 1 of 67

Document : CS-SUP-MUTI-WPORTAPP-E02.sxw
REVISIONS HISTORY
Rev. # Description Auteur Date Commentaires
1 Original document RCS 19/01/05 Version 1
2 Addon Text FCC RCS 17/02/05 Version 2
➢IRMWARE VERSIONS O SUPPORTED WAVECARD AND WAVEPORT
WaveCard 25mW : Compatible with the version v2.01, and later
WaveCard 500mW : Compatible with the version v4.01, and later
This device complies with part 15 of the FCC rules. Operation is subject to the
following two conditions : this device may not cause harmful interference and
this device must accept any interference received including interference that
may cause undesired operation.
Caution : any changes or modifications not expressly approved by Coronis-
Systems could void the user's authority to operate the equipment.
WaveCard user handbook page 2 of 67

Document : CS-SUP-MUTI-WPORTAPP-E02.sxw
TABLE O CONTENTS
1. INTRODUCTION.............................................................................................................................................5
2. RS232 SERIAL PROTOCOL PRESENTATION.............................................................................................6
2.1- Exchanges principle.............................................................................................................................6
2.1.1 - Low eve acknow edge..................................................................................................................6
2.1.2 - Request/ Response princip e.........................................................................................................7
2.2- Exchanged frames format....................................................................................................................8
2.2.1 - Wake Up and synchronization mechanism....................................................................................8
2.2.2 - Frame description..........................................................................................................................8
2.3- Commands description......................................................................................................................10
2.3.1 - Contro type commands...............................................................................................................10
2.3.2 - App icative type commands.........................................................................................................10
2.3.3 - Service type commands...............................................................................................................12
3. SETTING THE INTERNAL PARAMETERS O THE WAVECARD..............................................................13
3.1- Configuration of the functional parameters....................................................................................13
3.1.1 - Format of the interna parameters access...................................................................................14
3.1.2 - Wake Up and synchronization mechanism.................................................................................17
a) Principle when transmitting, or receiving a frame......................................................................................... 17
b) Example describing a point-to-point exchange of the type Re uest / Response.........................................19
3.2- Configuration of the control parameters.........................................................................................20
3.2.1 - se ection of the radio operating channe when FHSS is dese ected............................................20
a) reading commands format of the channel used............................................................................................ 20
b) Writing commands format of the channel to use........................................................................................... 21
3.2.2 - Se ection of the RF medium physica mode...............................................................................22
a) reading commands format of the physical layer mode..................................................................................22
b) selection commands format of the physical layer mode to use.................................................................... 23
c) Automatic selection of Radio physical mode to use...................................................................................... 23
3.2.3 - Se ection of the radio board emission power...............................................................................24
a) selection commands format of the emission power...................................................................................... 24
b) reading commands format of the emission power........................................................................................ 25
3.2.4 - Activation of the Wavenis RF Asic RSSI thresho d autocorrection..............................................26
a) Modification commands format of the RSSI threshold autocorrection state ................................................26
b) Reading commands format of the RSSI threshold autocorrection state ...................................................... 27
3.2.5 - Se ection de a vitesse de transmission série..............................................................................28
a) Selection commands format of the baudrate................................................................................................ 28
3.2.6 - Reading the firmware version of the WaveCard..........................................................................29
a) Commands format......................................................................................................................................... 29
3.2.7 - Reading the RSSI eve (Received Signa Strengh Indicator)....................................................30
a) Commands.................................................................................................................................................... 30
b) Format of the commands...............................................................................................................................31
3.2.8 - TEST Mode..................................................................................................................................32
a) Command...................................................................................................................................................... 32
b) Format of the command................................................................................................................................ 32
4. SERVICE COMMANDS................................................................................................................................33
4.1- Description of the commands and their formats...........................................................................33
WaveCard user handbook page 3 of 67

Document : CS-SUP-MUTI-WPORTAPP-E02.sxw
4.2- Request types.....................................................................................................................................34
4.3- Presence detection principle between WAVECARD.......................................................................35
5. COMMUNICATION MODES.........................................................................................................................36
5.1- 'Frame Exchange’ Mode.....................................................................................................................36
5.1.1 - Configuration of the parameters re ating to the 'Frame Exchange' mode...................................36
5.1.2 - Description of the commands, and their formats.........................................................................37
5.1.3 - Use of the Re aying mode............................................................................................................38
a) On frame transmission.................................................................................................................................. 38
b) On frame reception........................................................................................................................................ 38
5.1.4 - Time-out management.................................................................................................................41
5.2- 'Message’ Mode...................................................................................................................................43
5.2.1 - Configuration of the parameters re ating to the 'Message' mode................................................43
5.2.2 - Description of the commands, and their formats.........................................................................43
5.2.3 - Use of the Re aying mode............................................................................................................45
a) On frame transmission.................................................................................................................................. 45
b) On frame reception........................................................................................................................................ 45
c) Diagram of the relaying mode....................................................................................................................... 46
5.3- ’Polling’ Mode.....................................................................................................................................49
5.3.1 - Configuration of the parameters re ating to the 'Po ing' mode....................................................49
5.3.2 - Description of the commands, and their formats.........................................................................50
5.3.3 - Difference between se ective, and not-se ective Po ing mode....................................................51
5.3.4 - Diagram of an exchange in po ing mode....................................................................................54
5.4- ’Broadcast’ mode...............................................................................................................................56
5.4.1 - Configuration of the parameters re ating to the 'Broadcast' mode..............................................56
5.4.2 - 'BroadCast' mode without waiting for a response........................................................................56
a) Description of the commands........................................................................................................................ 56
b) Example of operations during a broadcast exchange, without waiting for responses..................................57
5.4.3 - 'BroadCast' mode with waiting for responses..............................................................................57
a) Description of the commands........................................................................................................................ 57
b) Example of operations during a broadcast exchange, with waiting for responses.......................................58
5.4.4 - Format of the commands – from the request transmitter side....................................................59
5.4.5 - Format of the commands – from the request receiver side.........................................................60
5.4.6 - Use of the se ective, or not-se ective broadcast mode................................................................60
5.5- ’Multi frames' Mode.............................................................................................................................61
5.5.1 - Princip e.......................................................................................................................................61
5.5.2 - Format of the received frames.....................................................................................................61
APPENDIX 1 : Mechanical description of the WAVECARD..........................................................................62
APPENDIX 2 : Electric interface of the WAVECARD.....................................................................................64
APPENDIX 3 : List of the functional parameters..........................................................................................65
APPENDIX 4 : List of the commands of parameters setting.......................................................................66
APPENDICE 5 : List of the commands of data transmission......................................................................67
WaveCard user handbook page 4 of 67

Document : CS-SUP-MUTI-WPORTAPP-E02.sxw
1. INTRODUCTION
The WAVECARD equipment acts ike a RS232 Radio frequency gateway.
This device is driven through a USART ink (RS232 or TTL) by a c ient app ication (ca ed HOST in the
continuation of this document) embedded on a microcontro er or on a PC equipment.
The main features of the WAVECARD are :
to send a frame on the RF medium depending on Host equipment
to inform Host equipment about received frame
Exchanges between two WAVECARD require that each one is
connected to a Host device.
However, Wavecard can process some specific frames without Host
connected. These exchanges are ca ed Service Exchanges and are
main y used for insta ation and maintenance procedures.(cf. §4).
The purpose of this document is to present:
the ow eve of the exchange protoco to drive the Wavecard radio board through an
asynchronous seria RS232 interface (±12V) or comp iant with TTL eve (0-3V) ;
the e ectrica interface of the Wavecard radio board ;
the mechanica interface of the Wavecard radio board ;
This document serves as a specification to drive a DLL driving ibrary on PC environment in the case the
Wavecard radio board is used as a RF Modem either to be integrated in a existing e ectronic device or to be
driven by a specific CPU mother board.
This document is a so usefu for the Waveport equipment. Waveport is a PC connected oriented RF modem
based on the Wavecard.
In this document the Host term is used to speak about the equipment or sub-equipment that is driving the
Wavecard radio board. The radio board term indicates the Wavecard equipment .
WaveCard user handbook page 5 of 67

Document : CS-SUP-MUTI-WPORTAPP-E02.sxw
2. RS232 SERIAL PROTOCOL PRESENTATION
This protoco is dedicated to an asynchronous RS232 or TTL ink between the host and the radio board.
➢Transmission format :
8 bits data,
1 stop bit,
no parity
➢Transmission speed : 9600 baud (contact us for other speed : mar[email protected]m)
2.1- Exchanges principle
The host or the radio board can take the initiative of the exchange. Neverthe ess in the high majority of the
cases, the host wi take the initiative.
Fig 1 – synoptic of the exchanges between a WavePort modem, and its host
2.1.1 - Low level acknowledge
In a the cases, the seria frames exchanged between the host and the radio board are managed by an
acknow edge mechanism.
A minimum atency time of 1 ms must be respected between the frame reception and the corresponding
acknow edge emission in order to respect the radio board processing time after a frame reception.
If the Acknow edge frame is not received by the initiator, it can decide to re-send severa times the frame
(retries mechanism). The RF defau t setting is :
Time-out = 500 ms
repetition number = 3
WaveCard user handbook page 6 of 67

Document : CS-SUP-MUTI-WPORTAPP-E02.sxw
2.1.2 - Request/ Response principle
Some exchanges need a Request/response mechanism.
In this case , an high eve acknow edge (RES prefix command) is initiated by the RF board fo owing the
request frame (REQ prefix command) sent by the host.
The re uest frame are identified by REQ_XXX_XXX
example : REQ_SEND_FRAME
The high level acknowledge frame are identified by RES_XXX_XXX
example : RES_SEND_FRAME
In this examp e, from the request transmitter side, the frame RECEIVED_FRAME is the response associated
to the request REQ_SEND_FRAME.
The high eve acknow edgement of the request is identified by the RES_SEND_FRAME frame.
WaveCard user handbook page 7 of 67

Document : CS-SUP-MUTI-WPORTAPP-E02.sxw
2.2- Exchanged frames format
2.2.1 - Wake Up and synchronization mechanism
In the purpose to optimize power consumption, the Wavecard is in a STANDBY mode and is wakening up
either :
periodica y to po a radio activity ;
on a seria frame reception coming from the host equipment.
A synchronization character is needed before the data in the seria frame to give time to the radio board to
wake up. This character is in hexadecima notation : 0xFF.
To be homogeneous, the radio board precedes as we its frames emissions with this synchronization
character.
2.2.2 - Frame description
The frames format is standardized as fo owing :
SYNC STX LENGTH CMD DATA CRC ETX
1 byte 1 byte 1 byte 1 byte De 0 à 250 bytes 2 bytes 1 byte
Synchro.
character
Start of
transmission
character
Frame
ength Command Data
Contro
Redundancy
Check
LSB First
End of
transmission
character
0x 0x02 0x03
LENGTH
Note : - The frame minimum size is 6 bytes.
- The frame maximum size is 256 bytes.
The frame length (byte LENGTH) is computed from its own position until the included CRC. Bytes
SYNC STX and ETX are not included in the length.
To insure transmitted information integrity between the host and the radio board, a CRC code on 16 bits is
computed on overa frame data excepted STX and ETX characters ( the byte LENGTH is inserted in the
CRC).
The CRC code is computed by a division of the frame binary sequence by the fo owing po ynomia :
X16 + X12 + X5 + 1
A coding examp e is indicated on the next page.
WaveCard user handbook page 8 of 67

Document : CS-SUP-MUTI-WPORTAPP-E02.sxw
CRC principle coding in C language :
#inc ude <iostream.h>
#inc ude <stdio.h>
#inc ude <string.h>
void main ( )
{
int Po y = 0x8408;
int g = 9;
unsigned int Frame [] = { 0x0B, 0x20, 0x43, 0x06, 0x01, 0x00, 0x00, 0x02, 0X01};
unsigned int Crc;
int j, i_bits, carry;
Crc = 0;
for ( j=0 ; j < g ; j++ )
{
Crc = Crc ^ Frame[j] ;
for ( i_bits=0 ; i_bits < 8 ; i_bits++ )
{
carry = Crc & 1 ;
Crc = Crc / 2 ;
if ( carry )
{
Crc = Crc ^ Po y;
}
}
}
printf ( “CRC = %x “, Crc);
}
The computed CRC is the following : 41D2 hexadecimal
Then LSB byte and MSB byte must be inverted before storage in the frame.
This example allows to compute a CRC on a fix frame length equal to 9.
WaveCard user handbook page 9 of 67

Document : CS-SUP-MUTI-WPORTAPP-E02.sxw
2.3- Commands description
A the frames circu ating on the seria bus are formatted as described in chapter 2.2.2. The distinction
between the various frames is carried out via the 'CMD' fie ds representing the command (or the action) to
carry out.
The avai ab e commands types can be c assified in three parts :
Contro type commands
App icative commands
Service type commands
2.3.1 - Control type commands
This commands are used for the ow eve acknow edgement of the seria frames.
CMD NAME DESCRIPTION DATA FIELD FORMAT
0x06 ACK
Acknowledge Frame :
Sent by the receiver after reception of a Re uest /Response
frame type supported and understood.
No data field.
0x15 NAK
Non Acknowledge Frame :
Sent by the receiver after reception of a Re uest /Response
frame not understood.
No data field.
0x00 ERROR
Error frame :
Sent by the receiver after reception of a Re uest/response
frame understood but not supported.
Byte 1 :
0x01 : unknown command.
2.3.2 - Applicative type commands
The app icative type commands use the Request/response mechanism.
We distinguish two parts in the app icative type commands : the commands re ating to the parameter setting
and the configuration of the board ; and in addition the commands re ating to radio exchanges.
➢Commands relating to the parameter setting
Read, or update the interna parameters,
Read, or se ect the radio operating channe when FHSS is dese ected,
Read, or se ect the RF medium physica mode,
Read, or se ect the radio board emission power,
Activation of the Wavenis RF Asic RSSI thresho d autocorrection,
Modification of the seria ink baudrate,
Reading the RSSI eve of a distant equipment,
Reading the RSSI eve of the wavecard, fo owing an exchange with a distant equipment,
Reading the firmware version of the WaveCard,
Set the WaveCard into a test mode.
WaveCard user handbook page 10 of 67
Dieses Handbuch passt für folgende Modelle
1
Inhaltsverzeichnis
Beliebte Tor Handbücher anderer Marken

LST
LST M500RFE-AS Bedienungsanleitung

Kinnex
Kinnex Media Gateway Bedienungsanleitung

2N Telekomunikace
2N Telekomunikace 2N StarGate Bedienungsanleitung

Mitsubishi Heavy Industries
Mitsubishi Heavy Industries Superlink SC-WBGW256 Bedienungsanleitung

ZyXEL Communications
ZyXEL Communications ZYWALL2 ET 2WE Bedienungsanleitung

Telsey
Telsey CPVA 500 - SIP Bedienungsanleitung











