*******************************************************************************************************************************************/
private static final String STR_HMAC_ALGO = "HmacMD5";
private static final int INT_ALARM_SOUND_TYPE = 6;
- private static final int INT_ALARM_VOLUME = 0;
+ private static final int INT_ALARM_VOLUME = 1;
private static final int INT_ALARM_MAX_DUR = 86400;
private String host = null;
// We don't use zone at this point (for this alarm there is only 1 zone and 1 alarm)
+ // Send login request first
+ sendLoginRequest();
+ // Send login info (challenge and HMAC encrypted message)
+ sendLoginInfo();
// True means on
if (_onOff) {
if ((_onDurationSeconds == -1) || (_onDurationSeconds > 86400)) {
"\"http://schemas.xmlsoap.org/soap/envelope/\"><soap:Body>";
// End!
end = "</soap:Body></soap:Envelope>\r\n";
- // Send login request first
- sendLoginRequest();
- // Send login info (challenge and HMAC encrypted message)
- sendLoginInfo();
} catch (Exception e) {
e.printStackTrace();
}