Date: 20 April 2016
Component: Arduino Library
Release Note: Changes on Arduino client libraries for support LinkItONE with GRPS, and a small syntactic sugar update.
Additional Information
- Add support for LinkItONE with GPRS. It includes an example for connecting to thinger.io by using GPRS. Your existing code for connecting from WiFi with LinkItONE may not compile after this update. Update ThingerLinkItOne to ThingerLinkItOneWifi.
- Improved syntactic sugar for input value. Now it is not required to pass a callback if it is not necessary. Example:
bool enable;
double threshold=0;
void setup(){
thing["config"] << inputValue(enable);
thing["threshold"] << inputValue(threshold, {
Serial.print("Threshold changed:" );
Serial.println(threshold);
});
}