FileTest.h 1.21 KB
/**** DO NOT EDIT -- this file has been automatically generated from @emmoco.com.FileTest on 2014-05-09T15:40:38T ****/
/**** protocolLevel = 12, toolsVersion = 12.0.0.201211010336 ****/

#ifndef FileTest__H
#define FileTest__H

#include "Em_Types.h"
#include "Em_Message.h"

#ifdef __cplusplus
extern "C" {
#endif

/* resource fileSize */
typedef uint32_t FileTest_fileSize_t;
extern void FileTest_fileSize_fetch(FileTest_fileSize_t* const output);
extern void FileTest_fileSize_store(FileTest_fileSize_t* const input);

/* resource fileData */
typedef struct FileTest_fileData_t { uint8_t elems[240]; } FileTest_fileData_t;
#define FileTest_fileData_length 240
extern uint16_t FileTest_fileData_fetch(FileTest_fileData_t* const output, int32_t offset, uint16_t count);
extern uint16_t FileTest_fileData_store(FileTest_fileData_t* const input, int32_t offset, uint16_t count);

void FileTest_reset(void);
void FileTest_run(void);

void FileTest_accept(bool enable);
void FileTest_disconnect(void);
void FileTest_pairingOn(uint8_t secs, void(*handler)(void));
void FileTest_pairingOff(void(*handler)(void));

void FileTest_connectHandler(void);
void FileTest_disconnectHandler(void);

#ifdef __cplusplus
}
#endif

#endif /* FileTest__H */