Added blynk_syncAll to [19_m1284p_WIZNET_blynk]

This commit is contained in:
maxxir
2019-03-14 21:35:53 +04:00
parent c0c9edca06
commit 89eb9fc3aa
3 changed files with 32 additions and 15 deletions

View File

@@ -760,3 +760,14 @@ static void replacetonull(uint8_t * str, uint8_t c)
for (x = 0; str[x]; x++)
if (str[x] == c) str[x] = NULL;
}
uint8_t is_blynk_connection_available(void)
{
return blynk_connection_available;
}
//Requests Server to re-send current values for all widgets
void blynk_syncAll(void)
{
sendCmd(BLYNK_CMD_HARDWARE_SYNC, 0, NULL, 0, NULL, 0);
}