User's Manual

Document : CS-SUP-MUTI-WPORTAPP-E02.sxw
TABLE OF CONTENTS
1. INTRODUCTION.............................................................................................................................................5
2. RS232 SERIAL PROTOCOL PRESENTATION.............................................................................................6
2.1- Exchanges principle.............................................................................................................................6
2.1.1 - Low level acknowledge..................................................................................................................6
2.1.2 - Request/ Response principle.........................................................................................................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 - Control type commands...............................................................................................................10
2.3.2 - Applicative type commands.........................................................................................................10
2.3.3 - Service type commands...............................................................................................................12
3. SETTING THE INTERNAL PARAMETERS OF THE WAVECARD..............................................................13
3.1- Configuration of the functional parameters....................................................................................13
3.1.1 - Format of the internal 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 Request / Response.........................................19
3.2- Configuration of the control parameters.........................................................................................20
3.2.1 - selection of the radio operating channel when FHSS is deselected............................................20
a) reading commands format of the channel used............................................................................................ 20
b) Writing commands format of the channel to use........................................................................................... 21
3.2.2 - Selection of the RF medium physical 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 - Selection 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 threshold 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 - Selection de la 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 level (Received Signal 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