Hi All.
Does can anyone tell me what it is function rf95.waitAvailableTimeout(value). I could not found it in RadioHead library, but examples rf95_client and rf95_server, in whiches is used this function, on an my RFM95 custom boards works nice.
Thank You.
Thank You.
Not quite clear. In sketch is included file RH_RF95.h only.
But function waitAvailableTimeout(value) is declared in RHGenericDriver.h.
How compiler can find this function without including of header file HGenericDriver.h?
RH_RF95.h includes RHSPIDriver.h which includes <RHGenericDriver.h which has the function defined within.
So, now is clear.
Big Thanks!
The radiohead library is, by now, an absolute abomination of #ifdefs and multiple files. Last time I tried to find the part of the library that handled a specific functionality, I gave up after literally a half hour of looking through various source files.
That's the price one pays for supporting every goddamned RF device under the sun with a single library that supports every conceivable platform. Creeping Featurism.