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
|
|
|
|
2011-07-17 15:42:19 +00:00
|
|
|
#define OPENBEACON_SAVECOUNTER (1024*8)
|
|
|
|
void openbeaconSave();
|
|
|
|
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
|