Code Search for Developers
 
 
  

CTestee.h from Make Controller at Krugle


Show CTestee.h syntax highlighted

/****************************************************************************
**
** CTESTEE
** MakingThings 2006.
**
****************************************************************************/

#ifndef CTESTEE_H
#define CTESTEE_H

#include "MessageInterface.h"
#include "Samba.h"
#include "Osc.h"
#include "PacketUdp.h"

class CTestThread;

class CTestee
{		
	public:
	  enum Status { OK, ERROR_COULDNT_CONNECT, ERROR_COULDNT_DOWNLOAD, ERROR_COULDNT_SWITCH,
	  	            ERROR_WEIRD_CHIP, ERROR_NO_CTESTEE_BIN, ERROR_SAMBA_ERROR,
	  	            ERROR_CANT_OPEN_SOCKET, ERROR_ALREADY_PROGRAMMED, ERROR_EEPROM_FAILURE,
	  	            ERROR_NO_REPLY_EEPROM_TEST, ERROR_INCORRECT_RESPONSE, ERROR_NO_RESPONSE };	

	  CTestee( MessageInterface *messageInterface );

	  Status start();
	  Status stop();
	  
	  Status eepromTest( );
		Status flash();

    Status checkForTestProgram();
    Status requestErase();
    	  
    Status ioPattern( int pattern );
    
	  Status canOut( int mode );
	  Status canIn( int* value );
    		
	private:
    MessageInterface *messageInterface;
    PacketUdp* packetUdp;
    Osc* osc;
    
    Samba* samba;
};

#endif




See more files for this project here

Make Controller

The Make Controller is an open microcontroller platform for Makers of all kinds, by MakingThings. This project maintains the official firmware for the board and source for the software tools used with the board.

Project homepage: http://sourceforge.net/projects/makingthings
Programming language(s): C,C#,C++
License: other

  .externalToolBuilders/
    qmake.launch
  debug/
    ctest.exe
    ctestee.bin
    moc_CTestThread.cpp
    moc_CTestWindow.cpp
    test.bin
  io_win32/
    FCPipe.cpp
    FCPipe.h
    FCPipeUSB.cpp
    FCPipeUSB.h
    FC_Error.h
    SAM-BA.dll
    SAMBADLL.cpp
    SAMBADLL.h
    timer.cpp
    timer.h
    xmodem.cpp
    xmodem.h
  release/
    ctest.exe
    moc_CTestThread.cpp
    moc_CTestWindow.cpp
  .cdtproject
  .project
  CTestThread.cpp
  CTestThread.h
  CTestWindow.cpp
  CTestWindow.h
  CTestee.cpp
  CTestee.h
  CTester.cpp
  CTester.h
  Makefile
  Makefile.Debug
  Makefile.Release
  MessageInterface.h
  Osc.cpp
  Osc.h
  PacketInterface.h
  PacketUdp.cpp
  PacketUdp.h
  Samba.cpp
  Samba.h
  SetupAPI.Lib
  SetupAPI.h
  ctest.pro
  ctest.ui
  guid829.h
  loader256_data.h
  main.cpp
  object_script.ctest.Debug
  object_script.ctest.Release
  test.bin
  ui_ctest.h