sm_get_ltk() function
Get LTK for encrypted connection
Arguments
ltk
buffer to store long term key
Return value
ERROR_CODE_SUCCESS ok ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if no connection for this con handle exists ERROR_CODE_PIN_OR_KEY_MISSING if connection is not encrypted