BTool.AttReadByTypeRsp.SendRspCallback C# (CSharp) Method

SendRspCallback() private method

private SendRspCallback ( HCIReplies hciReplies, bool success ) : void
hciReplies HCIReplies
success bool
return void
        private void SendRspCallback(HCIReplies hciReplies, bool success)
        {
            if (AttReadByTypeRspCallback != null)
            {
                AttReadByTypeRspCallback(new AttReadByTypeRsp.RspInfo()
                {
                    Success = success,
                    Header = hciReplies.HciLeExtEvent.Header,
                    ATT_ReadByTypeRsp = hciReplies.HciLeExtEvent.AttReadByTypeRsp
                });
            }
        }