background image

 

Page 36 of 59

 

 

Appendix F – Embedded Control Characters 

 

When using WaveWare mode it is not necessary to make use of the 

<SUB>

 control character. Since WaveWare mode 

does not use the 

<CR>

 control character it is only necessary to hit carriage return on your keyboard to have it show up on 

the pager display. 
 
To embed a control character in a 

TAP

 mode paging message however, it is necessary include a 

<SUB>

 control 

character followed by an offset version of the control character you want to embed. You offset the control character by 
adding 

40 HEX

 to the control character, to make the character printable. Adding 

40 HEX

 to Carriage

 

Return gives you 

M

Adding 

40 HEX

 to Line

 

Feed gives you 

J

. The character combination of 

<SUB>M

 causes a Carriage Return control 

character to be embedded in the encoded paging message, while 

<SUB>J

 causes a Line Feed control character to be 

embedded. The 

<SUB> 

character needs to be passed to the 

WaveWare v

Paging Encoder

 as a 

HEX

 character. 

 
In the 

WaveWare v

8

 Paging Encoder Setup

 software, you can embed a Carriage Return by entering 

<CR>

 in the 

message body, and embed a Line Feed character by entering 

<LF>

 in the message body. The use of the 

<SUB>

 

character will be done by the software. 
 
In the 

Microsoft Visual Basic

 programming language, you can use the following code example to define the embedded 

control character string to be delivered through the serial port to the paging system. In this example, we are embedding 
only the 

Carriage Return

 control character: 

 

 

DIM CarriageReturnString As String,  

 

DIM MessageLine1 As String 

 

DIM MessageLine2 As String 

 

DIM TXString As String 

           

CarriageReturnString = Chr(26) & "M"

 

           

LineFeedString

 

= Chr(26) & "J"

 

 

MessageLine1 = "Line 1 of test message"

 

 

MessageLine2 = "Line 2 of test message"

 

 

TXString

 

= MessageLine1 & CarriageReturnString & MessageLine2

 

           

form1.MSComm1.Output

 

= TXString

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

This completes the “Embedded Control Characters” 

 

Summary of Contents for SPS-5

Page 1: ...re WaveWare Technologies Inc 2012 All Rights Reserved WaveWare SPS 5 v8 Paging System WaveWare Technologies Inc 2630 Garland TX 75041 Phone 1 800 373 1466 Fax 972 479 1735 www WirelessMessaging com W...

Page 2: ...pendix D TAP Response Codes Page 33 Appendix E Extended ID Processing Page 34 Appendix F Embedded Control Characters Page 36 Appendix G WaveWare Interface Specifications Page 37 o Paging Message Comma...

Page 3: ...eiver See the Label on the back of the SPS 5 v8 Paging System to Identify the Operating Frequency of the Paging System Optional VHF Band Industry Standard POCSAG Paging Protocol Covering the Full Rang...

Page 4: ...riggered Messaging Function can be Enabled or Disabled via Programming and can be used as a Repetitive RF ping for Fully Supervised Applications Predefined Alert Messages can be up to 60 Characters in...

Page 5: ...database configuration functions Direct Encoder Control is available in the following ways allowing a pager database to not need to be programmed into the encoder Setting Pager ID as Capcode Mode On a...

Page 6: ...ame data rate such as 512 bps bits per second The WaveWare Paging Encoder is able to auto switch between data rates which breaks up a batch into smaller batches Carrier Signal Detection The WaveWare p...

Page 7: ...erates uses and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications Operation of this equi...

Page 8: ...ou can obtain the following paging receiver types for use with the WaveWare Paging System Alphanumeric Numeric Tone vibe only with or without multiple tone vibrate cadence features The WaveWare SPS 5...

Page 9: ...to allow you or others to develop software or devices to directly control the transmitter The WaveWare v8 Encoder maintains an input buffer which can receive commands from the Host Device while a pag...

Page 10: ...tter unit Plug the RS 232 Cable into an available DB9 serial port connector on the back of a Host Device such as a PC or Nurse Call system or other Host Device If the serial port has a DB25 connector...

Page 11: ...ager Families Icon Far Left to Add or Change the Quantity of Pager s Add or Change the Pager ID Number s and Add or Change the Cap Code s and Baud Rate s The Function Code is Normally set to 4 for Alp...

Page 12: ...andard RS 232 serial cable to Com Port 1 The SPS 5 v8 will be Auto Detected by the Encoder Setup Software when you Open the Com Port Encoder Software Main Screen Start the SPS 5 v8 Encoder Setup Progr...

Page 13: ...e Fig 3 Fig 3 Open the Com Port Part 1 The Software will detect the SPS 5 v8 Paging System and Open the Com Port and the Light will turn Green Below See Fig 4 Fig 4 Open the Com Port Part 2 The Softwa...

Page 14: ...base Pager Families Screen Enter Quantity Pager ID s 7 Digit Cap Code Baud Rate Pager Type and Function code Function Code 4 is normally for Alphanumeric Pagers and Function Code 1 is normally for Num...

Page 15: ...ed previously Note In most cases you would use a Common Pager Cap Code in the Pager themselves instead of using Pager Groups Using a Common Cap code will page all pagers at the same time whereas using...

Page 16: ...set Command You create the message to be sent in the Canned Messages Screen When Finished Click OK Below See Fig 10 Fig 10 Activate Timer If Timer in the group is RED click on the Box to Activate and...

Page 17: ...o Open the Predefined Messages Screen Below See Fig 11 Fig 11 Canned Messages Predefined Messages Setup Screen Type the Message you want sent 1 Message per Line and Click OK Below See Fig 12 Fig 12 Ad...

Page 18: ...es are TAP PET and TAP COMP1 COMP2 WaveWare and Scope B Settings for the Com Port Choices are Verbose or Non Verbose and Baud Rates of 300 1200 2400 and 9600 with Connection Settings of N 8 E 7 or 0 7...

Page 19: ...tings and affects the Entire screen When finished Click OK See Fig 16 Fig 16 Default Settings Advance Encoder Settings Default Settings As Shown Fig 16 A Carrier Detect 0v B Transmitter Duty Cycle 66...

Page 20: ...tabase and all Settings See Fig 17 Fig 17 Programs the SPS 5 v8 sEncoder On the Main Screen of Encoder Setup Program Click on the Read Encoder Icon to see the Database information Used when you want t...

Page 21: ...then Click Save As and name your file After Reading the Database for the first time before you make any changes to the database save the information This would give you a Base Program to fall back on...

Page 22: ...est the Encoder with Pagers On the Main Screen of Encoder Setup Program Click on the Test Encoder Icon to send a test message See Fig 20 Fig 20 Open the Test Encoder Screen For the Test Encoder Screen...

Page 23: ...lighting the Message and click on the ADD Button The Message will show in the Archive Window C and you may click on it anytime to move it to the Pager Message Window to send that message to a pager Yo...

Page 24: ...t the Coverage Area of the transmitter To use the Range Test you must First enter in a Pager ID A and the Pager ID must be valid in the Families Pager Database After you enter the Pager ID then you ca...

Page 25: ...ault is 30 Seconds but you may enter a different cycle time D Start Cancel When ready click Start to begin test When finished click Cancel to end the Range Test Lookup ID Function The Lookup ID Functi...

Page 26: ...ty You can configure the paging system for other serial communication parameters Please refer to Appendix B Com Port Settings for details on serial communication parameters The WaveWare v8 Paging Enco...

Page 27: ...cess is optional The WaveWare v8 Paging System will automatically login a Host Device and process the paging message if it recognizes a properly formatted TAP message block at any point in its operati...

Page 28: ...core For Numeric paging messages valid characters are the numbers 0 through 9 hyphen and space Control Characters can be embedded into paging messages so that high end alpha pagers and paging data rec...

Page 29: ...evice delivers a TAP Message Block and a checksum error occurs the paging system will respond with an error message and a NAK CR which tells the Host Device to resend the transaction See Appendix D TA...

Page 30: ...tion Code RF Data Rate and Message Values Either protocol can be used as either Simplex or Duplex Operation COMP2 means that the Data Formatted as PagerID GroupID CR Message CR will cause the Message...

Page 31: ...Encoder Settings Screen for more Options See next page Fig 2 Encoder Settings Screen To Configure Advanced Encoder Settings See Fig 3 Defaults are as Shown below A Carrier Detect 0v B Transmitter Duty...

Page 32: ...f the form STX ID CR Message CR ETX TXString Chr 2 txtID Text Chr 13 txtMessage Text Chr 13 Chr 3 Calculate and append checksum j 1 Sum 0 Do Until j Len TXString B Mid TXString j 1 D Asc B Sum Sum D j...

Page 33: ...n pager ID Pager ID field contains illegal characters This message is accompanied by an RS 511 Invalid pager ID not in database Pager ID was legal and 1 to 4 characters in length but didn t match data...

Page 34: ...d in either numeric or alphanumeric format All Extended ID fields must be between 5 and 10 digits in length to cause the paging system to perform Extended ID processing Incorrect formatting of extende...

Page 35: ...2400 bps 08A24 Same result as above 0008124 Same result as above 0000008124 Same result as above 11A53 Causes delivery of an alphanumeric message with function code 3 to capcode 0000011 at 512 bps 00...

Page 36: ...Line Feed control character to be embedded The SUB character needs to be passed to the WaveWare v8 Paging Encoder as a HEX character In the WaveWare v8 Paging Encoder Setup software you can embed a Ca...

Page 37: ...Settings for details on configuring communication protocols Your WaveWare v8 Paging System typically communicates with a Host Device via RS 232 at 9600 Baud 8 data bits and 1 stop bit The eighth data...

Page 38: ...roubleshooting the system SOH Hex code 01 is used to mark the start of a message This character resets the paging system and can be used to abort an incomplete paging command at any point prior to tra...

Page 39: ...nother SOH is encountered ETX Hex code 03 is used to mark the end of a string of message characters to be transmitted For paging message types of 1 to 4 Beeps this character and all following characte...

Page 40: ...capability Certain paging receiver models may not be designed to respond to multiple tone vibe cadence messages Example 5 SOH 2 1 145678 STX 412 3433 ETX EOT Will send a two beep tone vibe only messag...

Page 41: ...received by the paging encoder and not yet transmitted Input Queue The QQ value is followed by a comma character This parameter should be monitored if you intend to use software handshaking between y...

Page 42: ...rflowed This condition would likely be caused by the host system not recognizing the CTS signal 05 Paging Buffer Overflow Indicates the encoded paging message output buffer in the paging encoder has o...

Page 43: ...gnal is being detected and Carrier Detect mode is set to ON The last field does not currently provide useful information Example 2 SOH 4 5 0000006 EOT SOH NAK 03 EOT CR LF Echoes the paging message co...

Page 44: ...r is followed by a comma Valid values X are 1 Carrier Detect Mode V A single numeric value used to indicate the value of the command setting to be saved The numeric character is followed by an EOT cha...

Page 45: ...ARRIAGE RETURN CR 0D LINEFEED LF 0A Control characters generated by the WaveWare Paging Encoder in COMP1 Protocol mode when software flow control mode is active include XON XON 13 XOFF XOFF 11 In COMP...

Page 46: ...2 Paging Protocol you may be required to configure the Com Port of the paging encoder Please refer to Appendix B Com Port Settings for details on configuring communication protocols Your WaveWare v8 P...

Page 47: ...issing CR character to cause the host system and the paging system to get out of synch with each other causing multiple paging messages to be rejected by the paging system A more robust version of the...

Page 48: ...ttings for details on configuring communication protocols Your WaveWare v8 Paging System typically communicates with a Host Device via RS 232 at 9600 Baud 8 data bits and 1 stop bit The eighth data bi...

Page 49: ...roubleshooting the system SOH Hex code 01 is used to mark the start of a message This character resets the paging system and can be used to abort an incomplete paging command at any point prior to tra...

Page 50: ...another SOH is encountered ETX Hex code 03 is used to mark the end of a string of message characters to be transmitted For paging message types of 1 to 4 Beeps this character and all following charact...

Page 51: ...e capability Certain paging receiver models may not be designed to respond to multiple tone vibe cadence messages Example 5 SOH 2 1 145678 STX 412 3433 ETX EOT Will send a two beep tone vibe only mess...

Page 52: ...n received by the paging encoder and not yet transmitted Input Queue The QQ value is followed by a comma character This parameter should be monitored if you intend to use software handshaking between...

Page 53: ...verflowed This condition would likely be caused by the host system not recognizing the CTS signal 05 Paging Buffer Overflow Indicates the encoded paging message output buffer in the paging encoder has...

Page 54: ...ignal is being detected and Carrier Detect mode is set to ON The last field does not currently provide useful information Example 2 SOH 4 5 0000006 EOT SOH NAK 03 EOT CR LF Echoes the paging message c...

Page 55: ...ter is followed by a comma Valid values X are 1 Carrier Detect Mode V A single numeric value used to indicate the value of the command setting to be saved The numeric character is followed by an EOT c...

Page 56: ...TI CR control string on the serial port When programming the WaveWare v8 Paging Encoder pager database each of the ten pager groups of up to 20 pagers per group in the pager database can be associated...

Page 57: ...s POWER GREEN LED Shows Power is Applied RF TX GREEN LED Shows Transmission of Page RF CD GREEN LED Shows Carrier Detect DATA GREEN LED Shows RS 232 Cable is Attached PROGRAM RED LED Shows when In Out...

Page 58: ...50 000 square ft 5 Multi building facility 6 Vicinity of seaports and shipyards 7 Pager reception problems occur 8 Excessive carrier signal detection conditions occur at the paging system You can mon...

Page 59: ...paging transmission 5 Antenna attached to Transmitter Unit 6 Pager at the same frequency as the Paging System 7 Pager uses POCSAG paging protocol CARRIER DETECT If the Carrier Detect mode is activated...

Reviews: