Add a debug log for debugging 54/180654/3
authorWootak Jung <wootak.jung@samsung.com>
Fri, 1 Jun 2018 00:02:41 +0000 (09:02 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Fri, 1 Jun 2018 00:26:25 +0000 (09:26 +0900)
Change-Id: Ibf98b251668fd5f73f518431da4330bc1e56d54b

src/adapter.c

index d0df3a2..c54edc8 100644 (file)
@@ -11707,6 +11707,7 @@ static void pin_code_request_callback(uint16_t index, uint16_t length,
        if (main_opts.pin_code) {
                /* Because we can't receive user input on headless device,
                   no need to request pincode. Use the 'PinCode' in headless conf file */
+               DBG("Use configured PinCode in headless device");
                btd_adapter_pincode_reply(adapter, &ev->addr.bdaddr,
                                main_opts.pin_code, strlen(main_opts.pin_code));
                return;