BTM_SecBondByTransport() function
* Function BTM_SecBondByTransport * Description This function is called to perform bonding with peer device. * If the connection is already up, but not secure, pairing * is attempted. If already paired BTM_SUCCESS is returned. * Parameters: bd_addr - Address of the device to bond * transport - doing SSP over BR/EDR or SMP over LE * pin_len - length in bytes of the PIN Code * p_pin - pointer to array with the PIN Code * trusted_mask - bitwise OR of trusted services (array of UINT32) * Note: After 2.1 parameters are not used and preserved here not to change API