New parameter for mbus_send_ping_frame to purge response

This commit is contained in:
Stefan Wahren
2012-09-01 22:51:44 +02:00
parent d2608d5de7
commit 1a538e73aa
4 changed files with 16 additions and 9 deletions

View File

@ -95,7 +95,7 @@ main(int argc, char **argv)
fflush(stdout);
}
if (mbus_send_ping_frame(handle, address) == -1)
if (mbus_send_ping_frame(handle, address, 0) == -1)
{
printf("Scan failed. Could not send ping frame: %s\n", mbus_error_str());
return 1;