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:
WiFiClient client;
XivelyClient xivelyclient(client);
If you’re using the Sparkfun WiFly library:
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 asWiFlyClient client("api.xively.com", 80);
as the constructor wants then I can’t use the object “client” to be loaded in ```
XivelyClient xivelyclient(client);
ERROR:
WiFiDatastreamUpload:27: error: no matching function for call to ‘XivelyClient::XivelyClient(WiFlyClient&)’