Home
last modified time | relevance | path

Searched refs:GAP_PINCODE_SIZE (Results 1 - 2 of 2) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/stack/include/
H A Dgap_comm.h44 #define GAP_PINCODE_SIZE 0x10 /// bluetooth pin code size macro
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/gap/
H A Dgap_br_sec.c1400 static int GapPINCodeRequestReply(const BtAddr *addr, uint8_t pinCode[GAP_PINCODE_SIZE], uint8_t pinCodeLength) in GapPINCodeRequestReply()
1405 (void)memcpy_s(hciCmdParam.pinCode, GAP_PINCODE_SIZE, pinCode, GAP_PINCODE_SIZE); in GapPINCodeRequestReply()
1475 } else if (accept == GAP_ACCEPT && (pinCode == NULL || pinCodeLength > GAP_PINCODE_SIZE)) { in GAP_PinCodeRsp()
1482 uint8_t pin[GAP_PINCODE_SIZE] = {0}; in GAP_PinCodeRsp()
1483 (void)memcpy_s(pin, GAP_PINCODE_SIZE, pinCode, pinCodeLength); in GAP_PinCodeRsp()

Completed in 4 milliseconds