Lines Matching refs:pin_code
840 bt_pin_code_t pin_code; in btif_dm_pin_req_evt() local
885 pin_code.pin[0] = 0x30; in btif_dm_pin_req_evt()
886 pin_code.pin[1] = 0x30; in btif_dm_pin_req_evt()
887 pin_code.pin[2] = 0x30; in btif_dm_pin_req_evt()
888 pin_code.pin[3] = 0x30; in btif_dm_pin_req_evt()
891 BTA_DmPinReply(bd_addr, true, 4, pin_code.pin); in btif_dm_pin_req_evt()
900 pin_code.pin[0] = 0x30; in btif_dm_pin_req_evt()
901 pin_code.pin[1] = 0x30; in btif_dm_pin_req_evt()
902 pin_code.pin[2] = 0x30; in btif_dm_pin_req_evt()
903 pin_code.pin[3] = 0x30; in btif_dm_pin_req_evt()
906 BTA_DmPinReply(bd_addr, true, 4, pin_code.pin); in btif_dm_pin_req_evt()
2375 uint8_t pin_len, bt_pin_code_t* pin_code) { in btif_dm_pin_reply() argument
2377 if (pin_code == NULL || pin_len > PIN_CODE_LEN) return BT_STATUS_FAIL; in btif_dm_pin_reply()
2383 passkey += (multi[i] * (pin_code->pin[i] - '0')); in btif_dm_pin_reply()
2389 BTA_DmPinReply(*bd_addr, accept, pin_len, pin_code->pin); in btif_dm_pin_reply()