- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

# system.h

    00001 /*********************************************************************************
    00002
    00003  Copyright 2006-2008 MakingThings
    00004
    00005  Licensed under the Apache License,
    00006  Version 2.0 (the "License"); you may not use this file except in compliance
    00007  with the License. You may obtain a copy of the License at
    00008
    00009  http://www.apache.org/licenses/LICENSE-2.0
    00010
    00011  Unless required by applicable law or agreed to in writing, software distributed
    00012  under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
    00013  CONDITIONS OF ANY KIND, either express or implied. See the License for
    00014  the specific language governing permissions and limitations under the License.
    00015
    00016 *********************************************************************************/
    00017
    00018 /*
    00019   system.h
    00020
    00021   MakingThings
    00022 */
    00023
    00024 #ifndef SYSTEM_H
    00025 #define SYSTEM_H
    00026
    00027 #define SYSTEM_MAX_NAME 99
    00028
    00029 /* System Interface */
    00030
    00031 int System_SetActive( int state );
    00032 int System_GetActive( void );
    00033 int System_GetFreeMemory( void );
    00034 int System_GetSerialNumber( void );
    00035
    00036 int System_SetSamba( int sure );
    00037 int System_SetReset( int sure );
    00038 int System_SetSerialNumber( int serial );
    00039 int System_SetName( char* name );
    00040 char* System_GetName( void );
    00041 void System_SetAsyncDestination( int dest );
    00042 int System_GetAsyncDestination( void );
    00043 void System_SetAutoSendInterval( int interval );
    00044 int System_GetAutoSendInterval( void );
    00045
    00046 void System_StackAudit( int on_off );
    00047
    00048 /* SystemOsc Interface */
    00049
    00050 const char* SystemOsc_GetName( void );
    00051 int SystemOsc_ReceiveMessage( int channel, char* message, int length );
    00052 int SystemOsc_Poll( void );
    00053
    00054 #endif

The Make Controller Kit is an open source project maintained by MakingThings.
MakingThings code is released under the Apache 2.0 license.
Bug tracker, development wiki and status can be found at http://dev.makingthings.com.
This document was last updated on 18 May 2009.