Hi
I need a bit of help/advice on my nanodeRF build, when I compile the sketch it errors the following
nanodeRF_ctonly.cpp: In function ‘void ethernet_send_url(char*, char*, char*)’:
nanodeRF_ctonly.cpp:312:80: error: invalid conversion from ‘void (*)(uint8_t, uint16_t)’ to ‘void (*)(uint8_t, uint16_t, uint16_t)’
I have tried latest ethershield and the one in a previous post when there was compile problems.
Using Arduino 0023 to upload. Can compile and upload the test ethershield DHCP sketch ok.
Any pointers?
Thanks
Gary
Re: Error compiling before upload ro emonBase NanodeRF
Hi
I'm having the same problem. I suspect its due to the latest Ethershield library being updated for Arduino 1.0 though not sure? I can't find a version suitable for 0023 at the moment.
Chris
Re: Error compiling before upload ro emonBase NanodeRF
use this libary
http://www.openenergymonitor.org/emon/sites/default/files/old_EtherShield_4th Sep_works_emonBase.zip
i had same error and after changing to this lib all work ok.
Re: Error compiling before upload ro emonBase NanodeRF
Thanks
Chris
Re: Error compiling before upload ro emonBase NanodeRF
Thanks helping out roedfjel. This is a stop gap measure. We are working (today) on porting the emonBase code to use the EthetrCard library and to be compatiable with Arduino 1.0. The emonBase code currenty up on github (Dec 27th) uses the EtherShield library which has recently been abandoned in favour of the JeeLabs EtherCard: https://github.com/jcw/ethercard . Andrew Lindsey who was behind the EtherCard library is now working with JCW from JeeLabs on the EtherCard libary. See the post on Andrews website regarding migrating to EtherCard library for background info: http://blog.thiseldo.co.uk/?p=623
We should have an emonBase example which uses EtherCard and Arduino 1.0 up soon.
Re: Error compiling before upload ro emonBase NanodeRF
I was already using the sep works ethershield files but it still dosnt work. Guess I'll have to wait for the moment for 1.0 to be all fixed :O(
Gary
Re: Error compiling before upload ro emonBase NanodeRF
We've just got EtherCard library posting to emoncmsV3 up an running. It's very easy, minimal changes are required to to included 'webclient' example. See the instructions Trystan has posted on this thread:
http://openenergymonitor.org/emon/node/319
Feedback regarding success and stability of using the EtherCard library would be great. If all goes well we will soon be updating all emonBase/NanodeRF examples to use the new library and Arduino 1.0.
Re: Error compiling before upload ro emonBase NanodeRF
Example emonBase code for the Nanode RF receiving data from a single CT emonTx and posting to emoncms using the JeeLabs EtherCard library and Arduino 1.0 is now up on github: https://github.com/openenergymonitor/NanodeRF
Re: Error compiling before upload ro emonBase NanodeRF
Just compiled and uploaded (once i'd installed the ethercard libraries! Doh!) uploaded fine. now the fun begins to get it talking and then working on my website, looks like its just spamming your site at the moment so disconnected it until i get my head round how it all hangs.
Thanks for the help
:O)
Re: Error compiling before upload ro emonBase NanodeRF
Exampe on GitHub has just been updated to utilize NanodeRF's indicator LEDs also code for posting to static IP (non DNS) server and support for multiple CT channels have been added.