The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Serial Communications Schema


  • Subject: Serial Communications Schema
  • From: Stuart Booth
  • Date: Tue, 21 Oct 2003 21:08:00 +0000

Posted in the usual places...

xAP Schema for Serial Communications v1.2

This describes a xAP message schema for basic serial communications.
Unless otherwise stated a name/value pair is assumed to be mandatory.

Class=Serial.Comms

Serial.Setup
{
Port=(port number e.g. 2 for COM2)
-- mandatory
Baud=(bits per second e.g. 9600)
-- mandatory
Stop=(1  1.5  2)
-- mandatory
DataBits=(4  5  6  7  8)
-- mandatory
Parity=(none  even  odd  mark  space)
-- mandatory
Flow=(None  XOnXOff  Hardware)
-- mandatory
}

Serial.Received
{
Port=(port number e.g. 2 for COM2)
-- mandatory
Data=(Data received on the serial port)
-- mandatory
}

Serial.Send
{
Port=(port number e.g. 2 for COM2)
-- mandatory
Data=(Data to be sent on the serial port)
-- mandatory
}

--
Stuart Booth <<a
href="/group/xAP_developer/post?postID=YzRXf9kJAhWcxz_FhMyuNXQj19KiGeciXCUPjtaIkLMxmsva5G1wcdLHrPgNRIqYFieDnLWgbaciPKNE4g">stuart@x...</a>>
xAPFramework.net - a xAP software development framework for .net

<a href="http://www.xapautomation.org/";>http://www.xapautomation.org/</a>
<a href="http://www.xapframework.net/";>http://www.xapframework.net/</a>





xAP_Development Main Index | xAP_Development Thread Index | xAP_Development Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.