crashtest-r0ket/firmware/funk/openbeacon.h

20 lines
483 B
C
Raw Normal View History

2011-07-17 12:25:15 +00:00
#ifndef _OPENBEACON_H_
#define _OPENBEACON_H_
#include <stdint.h>
2011-07-17 15:42:19 +00:00
#include "funk/openbeacon.h"
#include "funk/nrf24l01p.h"
#include "basic/byteorder.h"
2011-07-17 12:25:15 +00:00
#define OPENBEACON_SAVE 0xFFFF
void openbeaconShutdown(void);
void openbeaconSaveBlock(void);
void openbeaconSave(uint32_t s);
2011-07-17 15:42:19 +00:00
void openbeaconRead();
void openbeaconSetup(uint32_t id);
2011-07-17 23:16:44 +00:00
uint8_t openbeaconSendPacket(uint32_t id, uint32_t ctr,
2011-07-17 15:42:19 +00:00
uint8_t flags, uint8_t strength);
2011-07-17 23:16:44 +00:00
uint8_t openbeaconSend(void);
2011-07-17 12:25:15 +00:00
#endif