You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
The value is written to the characteristic without triggering an exception.
Version Info
TFM net5.0-windows10.0.19041
Additional context
Interestingly this does not happen if I read the characteristic and then update the resulting buffer then write it back. This issue also doesn't occur in older version of .net not using the new winrt system.
Exception Details
System.NullReferenceException
HResult=0x80004003
Message=Object reference not set to an instance of an object.
Source=WinRT.Runtime
StackTrace:
at WinRT.ObjectReference`1.GetVtable(IntPtr thisPtr)
Describe the bug
When using a .net 5 project attempting to write to a GATT Characteristic with a buffer allocated in C# results in an exception.
To Reproduce
Please see gist: https://gist.github.com/caseymtimm/735ca6ff44dea3fd572c1686b11dfefc
Expected behavior
The value is written to the characteristic without triggering an exception.
Version Info
TFM net5.0-windows10.0.19041
Additional context
Interestingly this does not happen if I read the characteristic and then update the resulting buffer then write it back. This issue also doesn't occur in older version of .net not using the new winrt system.
Exception Details
Call Stack
The text was updated successfully, but these errors were encountered: