From 22973b801b316f3a6353bc036555660b8c67356b Mon Sep 17 00:00:00 2001 From: Pkarc Date: Sat, 17 Dec 2011 14:23:38 -0500 Subject: [PATCH] Added some config/init time options. --- mrf24j.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/mrf24j.h b/mrf24j.h index a4550fb..a06589b 100644 --- a/mrf24j.h +++ b/mrf24j.h @@ -205,6 +205,20 @@ class Mrf24j int rx_datalength(void); + void set_ignoreBytes(int ib); + + /** + * Set bufPHY flag to buffer all bytes in PHY Payload, or not + */ + void set_bufferPHY(boolean bp); + + boolean get_bufferPHY(void); + + /** + * Set PA/LNA external control + */ + void set_palna(boolean enabled); + void send16(word dest16, char * data); void interrupt_handler(void); @@ -217,4 +231,4 @@ class Mrf24j int _pin_int; }; -#endif /* LIB_MRF24J_H */ \ No newline at end of file +#endif /* LIB_MRF24J_H */