void ConnectionSmUserPasskeyResponseTestExtra( uint8 type, const bdaddr* bd_addr, bool cancelled, uint32 passkey ) { typed_bdaddr taddr; taddr.type = type; taddr.addr = *bd_addr; ConnectionSmUserPasskeyResponse(&taddr, cancelled, passkey); }
void ConnectionSmUserPasskeyResponseTestExtra( uint8 type, const bdaddr* bd_addr, uint16 transport, bool cancelled, uint32 passkey ) { tp_bdaddr tpaddr; tpaddr.transport = (TRANSPORT_T)transport; tpaddr.taddr.type = type; tpaddr.taddr.addr = *bd_addr; ConnectionSmUserPasskeyResponse(&tpaddr, cancelled, passkey); }
/***************************************************************************** NAME headsetHandleUserPasskeyInd DESCRIPTION This function is called on receipt on an CL_SM_USER_PASSKEY_IND RETURNS void */ void headsetHandleUserPasskeyInd(const CL_SM_USER_PASSKEY_REQ_IND_T* ind) { /* reject the passkey request */ AUTH_DEBUG(("auth: rejecting passkey req\n")); ConnectionSmUserPasskeyResponse(&ind->bd_addr, TRUE, 0); }