diff --git a/_pager_8h_source.html b/_pager_8h_source.html index cecfc6d1..ce81ecbf 100644 --- a/_pager_8h_source.html +++ b/_pager_8h_source.html @@ -165,55 +165,60 @@ $(document).ready(function(){initNavTree('_pager_8h_source.html',''); initResiza
129 
143  int16_t transmit(uint8_t* data, size_t len, uint32_t addr, uint8_t encoding = RADIOLIB_PAGER_BCD);
144 
-
156  int16_t startReceive(RADIOLIB_PIN_TYPE pin, uint32_t addr, uint32_t mask = 0xFFFFF);
-
157 
-
163  size_t available();
-
164 
-
177  int16_t readData(String& str, size_t len = 0, uint32_t* addr = NULL);
-
178 
-
192  int16_t readData(uint8_t* data, size_t* len, uint32_t* addr = NULL);
-
193 
-
194 #if !defined(RADIOLIB_GODMODE)
-
195  private:
-
196 #endif
-
197  PhysicalLayer* _phy;
-
198 
-
199  float _base;
-
200  float _speed;
-
201  uint32_t _baseRaw;
-
202  uint16_t _shift;
-
203  uint16_t _shiftHz;
-
204  uint16_t _bitDuration;
-
205  uint32_t _readBatchPos;
-
206  uint32_t _filterAddr;
-
207  uint32_t _filterMask;
-
208  bool inv = false;
-
209 
-
210  // BCH encoder
-
211  int32_t _bchAlphaTo[RADIOLIB_PAGER_BCH_N + 1];
-
212  int32_t _bchIndexOf[RADIOLIB_PAGER_BCH_N + 1];
-
213  int32_t _bchG[RADIOLIB_PAGER_BCH_N - RADIOLIB_PAGER_BCH_K + 1];
-
214 
-
215  void write(uint32_t* data, size_t len);
-
216  void write(uint32_t codeWord);
-
217  uint32_t read();
-
218 
-
219  uint8_t encodeBCD(char c);
-
220  char decodeBCD(uint8_t b);
-
221 
-
222  void encoderInit();
-
223  uint32_t encodeBCH(uint32_t data);
-
224 };
-
225 
-
226 #endif
+
145 
+
146 #if !defined(RADIOLIB_EXCLUDE_DIRECT_RECEIVE)
+
158  int16_t startReceive(RADIOLIB_PIN_TYPE pin, uint32_t addr, uint32_t mask = 0xFFFFF);
+
159 
+
165  size_t available();
+
166 
+
179  int16_t readData(String& str, size_t len = 0, uint32_t* addr = NULL);
+
180 
+
194  int16_t readData(uint8_t* data, size_t* len, uint32_t* addr = NULL);
+
195 #endif
+
196 
+
197 #if !defined(RADIOLIB_GODMODE)
+
198  private:
+
199 #endif
+
200  PhysicalLayer* _phy;
+
201 
+
202  float _base;
+
203  float _speed;
+
204  uint32_t _baseRaw;
+
205  uint16_t _shift;
+
206  uint16_t _shiftHz;
+
207  uint16_t _bitDuration;
+
208  uint32_t _filterAddr;
+
209  uint32_t _filterMask;
+
210  bool inv = false;
+
211 
+
212  // BCH encoder
+
213  int32_t _bchAlphaTo[RADIOLIB_PAGER_BCH_N + 1];
+
214  int32_t _bchIndexOf[RADIOLIB_PAGER_BCH_N + 1];
+
215  int32_t _bchG[RADIOLIB_PAGER_BCH_N - RADIOLIB_PAGER_BCH_K + 1];
+
216 
+
217  void write(uint32_t* data, size_t len);
+
218  void write(uint32_t codeWord);
+
219 
+
220 #if !defined(RADIOLIB_EXCLUDE_DIRECT_RECEIVE)
+
221  uint32_t read();
+
222 #endif
+
223 
+
224  uint8_t encodeBCD(char c);
+
225  char decodeBCD(uint8_t b);
+
226 
+
227  void encoderInit();
+
228  uint32_t encodeBCH(uint32_t data);
+
229 };
+
230 
+
231 #endif
PagerClient
Client for Pager communication.
Definition: Pager.h:69
-
PagerClient::begin
int16_t begin(float base, uint16_t speed, bool invert=false, uint16_t shift=RADIOLIB_PAGER_FREQ_SHIFT_HZ)
Initialization method.
Definition: Pager.cpp:23
-
PagerClient::transmit
int16_t transmit(String &str, uint32_t addr, uint8_t encoding=RADIOLIB_PAGER_BCD)
Arduino String transmit method.
Definition: Pager.cpp:51
-
PagerClient::sendTone
int16_t sendTone(uint32_t addr)
Method to send a tone-only alert to a destination pager.
Definition: Pager.cpp:47
-
PagerClient::PagerClient
PagerClient(PhysicalLayer *phy)
Default constructor.
Definition: Pager.cpp:18
-
PagerClient::readData
int16_t readData(String &str, size_t len=0, uint32_t *addr=NULL)
Reads data that was received after calling startReceive method.
Definition: Pager.cpp:258
-
PagerClient::startReceive
int16_t startReceive(RADIOLIB_PIN_TYPE pin, uint32_t addr, uint32_t mask=0xFFFFF)
Start reception of POCSAG packets.
Definition: Pager.cpp:217
-
PagerClient::available
size_t available()
Get the number of POCSAG batches available in buffer. Limited by the size of direct mode buffer!
Definition: Pager.cpp:254
+
PagerClient::begin
int16_t begin(float base, uint16_t speed, bool invert=false, uint16_t shift=RADIOLIB_PAGER_FREQ_SHIFT_HZ)
Initialization method.
Definition: Pager.cpp:27
+
PagerClient::transmit
int16_t transmit(String &str, uint32_t addr, uint8_t encoding=RADIOLIB_PAGER_BCD)
Arduino String transmit method.
Definition: Pager.cpp:55
+
PagerClient::sendTone
int16_t sendTone(uint32_t addr)
Method to send a tone-only alert to a destination pager.
Definition: Pager.cpp:51
+
PagerClient::PagerClient
PagerClient(PhysicalLayer *phy)
Default constructor.
Definition: Pager.cpp:20
+
PagerClient::readData
int16_t readData(String &str, size_t len=0, uint32_t *addr=NULL)
Reads data that was received after calling startReceive method.
Definition: Pager.cpp:263
+
PagerClient::startReceive
int16_t startReceive(RADIOLIB_PIN_TYPE pin, uint32_t addr, uint32_t mask=0xFFFFF)
Start reception of POCSAG packets.
Definition: Pager.cpp:222
+
PagerClient::available
size_t available()
Get the number of POCSAG batches available in buffer. Limited by the size of direct mode buffer!
Definition: Pager.cpp:259
PhysicalLayer
Provides common interface for protocols that run on LoRa/FSK modules, such as RTTY or LoRaWAN....
Definition: PhysicalLayer.h:14