code for bae n cdms integration working

Dependencies:   SDFileSystem mbed-rtos mbed

Fork of CDMS_BAE by sakthi priya amirtharaj

hk.h

Committer:
sakthipriya
Date:
2015-02-27
Revision:
9:d6623702495b
Parent:
7:60e940b7a36b

File content as of revision 9:d6623702495b:

#include "mbed.h"
#include "SDFileSystem.h"
#include "string.h"
/*
typedef struct SensorData {
    char Voltage[8];
    char Current[4];
    char Temperature;
    char PanelTemperature[2];         //HK Data Structure
    char Vcell_soc;
    char alerts;
    char crate;
    char BatteryTemperature;      
    char faultpoll;             
    char faultir;              
    char power_mode;           
    char AngularSpeed[2];
    char Bnewvalue[2];
} SensorData;*/

void spiwrite(int);
int spiread(int);
int hexint(int);
char* getname(int,int,int,int,int,int,int);
void storedata(char*);
void init_rtc(void);