/* Copyright 1999 by Herve Regad-Pellagru, E-mail: regad@micronet.fr

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.
 
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */

/* Those are CM11A codes used for the various step of the chat */
#define X10_CM_ACK				0x55
#define X10_ADDRESS_CODE			0x4
#define X10_FUNCTION_CODE			0x6
#define X10_STATUS_CODE				0x8b
#define X10_SETCLOCK_CODE			0x9b
#define X10_PC_READY_CODE			0x0
#define X10_INTERFACE_POLL			0x5a
#define X10_PC_POLL_ACK				0xc3
#define X10_POWER_FAIL				0xa5

/* Those are the 2 flags for x10_read */
#define X10_CHECK_POLL_FALSE			0
#define X10_CHECK_POLL_TRUE			1
