CDMS alpha

Dependencies:   mbed

main.cpp

Committer:
greenroshks
Date:
2014-12-19
Revision:
0:ceaeb1b4d679

File content as of revision 0:ceaeb1b4d679:

#include "mbed.h"

void FUNC_TC_ACS_DATAACQ() //103                                         //send this data to bae and execute there. Send ascii 1. Switch off control algo and rods 
{
    //put data in thread
    //signal slave
}

void FUNC_TC_ACS_OFF()                      //106        // send ascii 2. turn a gpio off
{
    //put data in thread
    //signal slave
}

void FUNC_TC_ACS_RESET()                    //107       //send ascii 3. turn acs gpio off and on. Also call initialization
{
    //put data in thread
    //signal slave
}   

void FUNC_TC_BEA_CHANGEINTTIME()            //202       // switch beacon interval from 30 seconds to 5 minutes in the scheduler
{
        //put data in thread
    //signal slave
}

void FUNC_TC_BEA_RESET()                    //203       //similar to 107
{
        //put data in thread
    //signal slave
}

void FUNC_TC_CDMS_RESET()                  //204
{
    // turn gpio off
    // wait
    //turn gpio on
    //intialize
}

void FUNC_TC_CDMS_TRANSOFF()
{
    //turn gpio off
}