embedded-software
reusable software modules for embedded systems
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
thief.h
Go to the documentation of this file.
1 #ifndef _THIEF_H_
2 #define _THIEF_H_
3 
4 #include <stdint.h>
5 
17 void Thief_Trip(uint8_t score);
18 
23 void Thief_Access(uint8_t score);
24 
29 void Thief_Error(uint8_t error_code);
30 
39 void Thief_Init(void(*ChipEnable)(uint8_t), void(*ChipSelectNot)(uint8_t),
40  void(*Arm)(void), void(*Disarm)(void), void(*Difficulty)(uint8_t));
41 
44 #endif // _THIEF_H_
void Thief_Error(uint8_t error_code)
send ERROR message over network to Brainframe
Definition: thief.c:41
void Thief_Init(void(*ChipEnable)(uint8_t), void(*ChipSelectNot)(uint8_t), void(*Arm)(void), void(*Disarm)(void), void(*Difficulty)(uint8_t))
initialize the nRF24 Network module for the Thief node and set callbacks
Definition: thief.c:51
void Thief_Access(uint8_t score)
send ACCESS message over network to Brainframe
Definition: thief.c:31
void Thief_Trip(uint8_t score)
send TRIP message over network to Brainframe
Definition: thief.c:21