According to BLUETOOTH SPECIFICATION Version 5.0 | Vol 2, Part E 7.8.18 LE Connection Update Command, connection handle range is 0x0000-0x0EFF. --- tools/hcitool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/hcitool.c b/tools/hcitool.c index 02c4ebe1b..945f675b0 100644 --- a/tools/hcitool.c +++ b/tools/hcitool.c @@ -3351,7 +3351,7 @@ static void cmd_lecup(int dev_id, int argc, char **argv) timeout = strtoul(argv[4], NULL, 0); } - if (handle == 0) { + if (handle > 0x0EFF) { printf("%s", lecup_help); return; } -- 2.13.6 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html