avoid mac make error

This commit is contained in:
607qwq 2023-04-21 16:09:17 +08:00 committed by Reto Schneider
parent 8d1a7139f1
commit 514659414c
4 changed files with 4 additions and 4 deletions

View File

@ -88,7 +88,7 @@ void print_usage(const char *filename, const char *port) {
fprintf(stdout, " -l PORT\tSet the local UDP port of the Bootstrap Server. Default: %s\r\n", port);
fprintf(stdout, " -4\t\tUse IPv4 connection. Default: IPv6 connection\r\n");
fprintf(stdout, " -S BYTES\tCoAP block size. Options: 16, 32, 64, 128, 256, 512, 1024. Default: %" PRIu16 "\r\n",
LWM2M_COAP_DEFAULT_BLOCK_SIZE);
(uint16_t)LWM2M_COAP_DEFAULT_BLOCK_SIZE);
fprintf(stdout, "\r\n");
}

View File

@ -853,7 +853,7 @@ void print_usage(void)
fprintf(stdout, " -b\t\tBootstrap requested.\r\n");
fprintf(stdout, " -c\t\tChange battery level over time.\r\n");
fprintf(stdout, " -S BYTES\tCoAP block size. Options: 16, 32, 64, 128, 256, 512, 1024. Default: %" PRIu16 "\r\n",
LWM2M_COAP_DEFAULT_BLOCK_SIZE);
(uint16_t)LWM2M_COAP_DEFAULT_BLOCK_SIZE);
#ifdef WITH_TINYDTLS
fprintf(stdout, " -i STRING\tSet the device management or bootstrap server PSK identity. If not set use none secure mode\r\n");
fprintf(stdout, " -s HEXSTRING\tSet the device management or bootstrap server Pre-Shared-Key. If not set use none secure mode\r\n");

View File

@ -202,7 +202,7 @@ void print_usage(void)
fprintf(stdout, " -l PORT\tSet the local UDP port of the Client. Default: 56830\r\n");
fprintf(stdout, " -4\t\tUse IPv4 connection. Default: IPv6 connection\r\n");
fprintf(stdout, " -S BYTES\tCoAP block size. Options: 16, 32, 64, 128, 256, 512, 1024. Default: %" PRIu16 "\r\n",
LWM2M_COAP_DEFAULT_BLOCK_SIZE);
(uint16_t)LWM2M_COAP_DEFAULT_BLOCK_SIZE);
fprintf(stdout, "\r\n");
}

View File

@ -1013,7 +1013,7 @@ void print_usage(void)
fprintf(stdout, " -4\t\tUse IPv4 connection. Default: IPv6 connection\r\n");
fprintf(stdout, " -l PORT\tSet the local UDP port of the Server. Default: "LWM2M_STANDARD_PORT_STR"\r\n");
fprintf(stdout, " -S BYTES\tCoAP block size. Options: 16, 32, 64, 128, 256, 512, 1024. Default: %" PRIu16 "\r\n",
LWM2M_COAP_DEFAULT_BLOCK_SIZE);
(uint16_t)LWM2M_COAP_DEFAULT_BLOCK_SIZE);
fprintf(stdout, "\r\n");
}