Help for Anarduino OTA programming [solved]

Started by TechDad, January 27, 2019, 11:24:56 AM

TechDad

My thanks to Felix & the LowPowerLab community for the great RFM69 stuff that enables wireless connections between Arduino compatibles.

With an earlier version of the RFM69 library & rrobinet's adaptation of earlier RFM69 OTA libraries, I was wirelessly programming Anarduino Arduino compatibles (similar to a Moteino, but with different SPI Flash memory).

Now with the current versions of RFM69 libraries, I'm getting compiling conflicts (multiple definitions) between the rrobinet adaptation & the RFM_OTA sublibrary.

I believe things would work if I could (selectively?) disable the include for RFM_OTA, but after searching the files, I cannot find the RFM_OTA include.

Can someone please point me to how RFM_OTA gets included?  Thanks in advance.

TechDad

#1
I believe I worked out the problem.  There was indeed no #include RFM_OTA.h to disable. 

Because of the changes in the RFM69 OTA library, that meant several functions were defined in two library files (one for Moteino, one for Miniwireless) which caused the comping errors.

When I renamed the functions in the file for an Anarduino Miniwireless, that stopped the errors.  This way I can leave the RFM69_OTA library as is for a Moteino option.

When I'm able to install the files later, I hope they work.

Felix

Great, please give an update once you get it fully working.