You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use aREST with standard ethernet.h at uno, everything working smoothly (only minor problem with memory constraint at uno). Today I want to miniaturize all my board using nano, so I moved to enc ENC28J60 ethernet module and use UIPEthernet library, when I compile it it spit error message. Is there anything to tweak when use UIP?, because it's said on UIP website it's drop-in replacement for ethernet library.
Here the error message:
E:\karim\Documents\Arduino\arest-wd\arest-wd.ino: In function 'void loop()':
arest-wd:108:21: error: no matching function for call to 'aREST::handle(UIPClient&)'
rest.handle(client);
^
In file included from E:\karim\Documents\Arduino\arest-wd\arest-wd.ino:5:0:
E:\karim\Documents\Arduino\libraries\aREST/aREST.h:787:6: note: candidate: void aREST::handle(HardwareSerial&)
void handle(HardwareSerial& serial){
^~~~~~
E:\karim\Documents\Arduino\libraries\aREST/aREST.h:787:6: note: no known conversion for argument 1 from 'UIPClient' to 'HardwareSerial&'
E:\karim\Documents\Arduino\libraries\aREST/aREST.h:811:6: note: candidate: void aREST::handle(char*)
void handle(char * string) {
^~~~~~
E:\karim\Documents\Arduino\libraries\aREST/aREST.h:811:6: note: no known conversion for argument 1 from 'UIPClient' to 'char*'
exit status 1
no matching function for call to 'aREST::handle(UIPClient&)'
Here the source code (the error is in "rest.handle(client);" line):
Hello @marcoschwartz ,
When I use aREST with standard ethernet.h at uno, everything working smoothly (only minor problem with memory constraint at uno). Today I want to miniaturize all my board using nano, so I moved to enc ENC28J60 ethernet module and use UIPEthernet library, when I compile it it spit error message. Is there anything to tweak when use UIP?, because it's said on UIP website it's drop-in replacement for ethernet library.
Here the error message:
Here the source code (the error is in "rest.handle(client);" line):
The text was updated successfully, but these errors were encountered: