Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
livebox:xap_serial [2012/04/20 13:19] – [Output messages] brett | livebox:xap_serial [2012/06/16 10:34] – [Step 2. Activating xap-serial] minerva9 | ||
---|---|---|---|
Line 74: | Line 74: | ||
The data= key supports escaping so that you can send non-printable characters the following are supported: | The data= key supports escaping so that you can send non-printable characters the following are supported: | ||
- | ^^ Escape Sequence ^^ Hex ^^ Represents ^^ | + | ^^ Escape Sequence ^^ Hex ^^ Represents |
- | || \a || 0x07 || Bell (alert) || | + | || \a || 0x07 || Bell (alert) |
- | || \b || 0x08 || Backspace || | + | || \b || 0x08 || Backspace |
- | || \f || 0x0c ||Formfeed | + | || \f || 0x0c ||Form feed || || |
- | || \n || 0x0a || New line || | + | || \n || 0x0a || New line || || |
- | || \r || 0x0d || Carriage return || | + | || \r || 0x0d || Carriage return |
- | || \t || 0x09 || Horizontal tab || | + | || \t || 0x09 || Horizontal tab || || |
- | || \v || 0x0b || Vertical tab || | + | || \v || 0x0b || Vertical tab || || |
- | || '' | + | || '' |
- | || \ooo || 0x## || An octal bit pattern | + | || \ooo || 0x## || An octal bit pattern |
+ | || \x## || 0x## || A Hexadecimal number || build 307 || | ||
====== Examples ====== | ====== Examples ====== | ||
Line 132: | Line 133: | ||
====== A short tutorial ====== | ====== A short tutorial ====== | ||
- | I have a little microcontroller project that works as an RF receiver. It can decode signals sent by the [[http:// | + | I have a little microcontroller project that works as an RF receiver. It can decode signals sent by the [[http:// |
+ | Note that any one receiver can be configured to decode either HE or BBSB, not both at the same time (a chip change is required to swap protocols). \\ | ||
{{http:// | {{http:// | ||
- | Currently, it simply outputs any received code to a serial port on the micro board. This is interesting, | + | Currently, it simply outputs any received code to a serial port on the micro board. This is interesting, |
For example, it would be handy to be able to identify a particular BBSB PIR being triggered and then activate a, HAH connected, RF mains socket to turn on a light. | For example, it would be handy to be able to identify a particular BBSB PIR being triggered and then activate a, HAH connected, RF mains socket to turn on a light. | ||
Line 150: | Line 151: | ||
Before you connect the micro, just plug the USB adaptor into the USB port on the side of the HAH (the port next to the two pushbuttons). \\ {{: | Before you connect the micro, just plug the USB adaptor into the USB port on the side of the HAH (the port next to the two pushbuttons). \\ {{: | ||
- | \\ Now, telnet into the HAH and issue the ‘dmesg’ command. If the USB adaptor has been recognized, you should see something along the lines of … | + | \\ Now, telnet into the HAH and issue the ‘dmesg’ command. If the USB adaptor has been recognised, you should see something along the lines of … |
< | < | ||
Line 178: | Line 179: | ||
===== Step 2. Activating xap-serial ===== | ===== Step 2. Activating xap-serial ===== | ||
- | xap-serial is the name of the process that handles the transformation of serial data to and from xAP messages. By default, this process is not enabled. To enable it, we edit the / | + | xap-serial is the name of the process that handles the transformation of serial data to and from xAP messages. By default, this process is not enabled. To enable it, we edit the / |
===== Step 3. Configure xap-serial ===== | ===== Step 3. Configure xap-serial ===== | ||
Line 302: | Line 303: | ||
===== RF Receiver Notes ===== | ===== RF Receiver Notes ===== | ||
- | Currently, two versions of the firmware. One supports Bye Bye Standby (BBSB) devices, the other supports Home Easy (HE) devices. | + | Currently, two versions of the firmware. One supports Bye Bye Standby (BBSB) devices, the other supports Home Easy (HE) devices. |
==== Home Easy Receiver ==== | ==== Home Easy Receiver ==== | ||
Line 335: | Line 335: | ||
|HE306|Wireless Doorbell| | |HE306|Wireless Doorbell| | ||
|HE403|External PIR| | |HE403|External PIR| | ||
+ | |Byron RS12/ | ||
\\ Note: The HE200/ | \\ Note: The HE200/ | ||
Line 341: | Line 342: | ||
In testing, it has been noted that occasionally the very first in a series of messages presents an incorrect housecode. However, subsequent transmissions are good. Easy enough to filter out in the script. | In testing, it has been noted that occasionally the very first in a series of messages presents an incorrect housecode. However, subsequent transmissions are good. Easy enough to filter out in the script. | ||
+ | |||
+ | \\ | ||
+ | KevinT put his RF receiver into a nice enclosure ... thanks to him for this [[http:// | ||
{{tag> | {{tag> |