- Tue Oct 07, 2014 9:51 pm
#175683
I'm trying to compile the code for WiFly and Xively service along with the library & instructions available here >> https://github.com/xively/xively_arduino
It says if your are about to use SparkFun's WiFly library then:
If you're on wireless, be sure to enter your SSID and password as the library requires, and then:
If you're using the built-in WiFi library:
But I can't create an object "client" since no matching constructor is there within the library and if I make a object with parameters as
ERROR:
It says if your are about to use SparkFun's WiFly library then:
If you're on wireless, be sure to enter your SSID and password as the library requires, and then:
If you're using the built-in WiFi library:
Code: Select all
If you're using the Sparkfun WiFly library:WiFiClient client;
XivelyClient xivelyclient(client);
Code: Select all
WiFlyClient client;
XivelyClient xivelyclient(client);
But I can't create an object "client" since no matching constructor is there within the library and if I make a object with parameters as
Code: Select all
as the constructor wants then I can't use the object "client" to be loaded in WiFlyClient client("api.xively.com", 80);
Code: Select all
?????? what should I do?XivelyClient xivelyclient(client);
ERROR:
Code: Select all
WiFiDatastreamUpload:27: error: no matching function for call to 'XivelyClient::XivelyClient(WiFlyClient&)'