Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ int subscribedCentralsCount
internal static extern SafeNativeMutableCharacteristicHandle cb4u_mutable_characteristic_new(
[MarshalAs(UnmanagedType.LPStr), In] string uuid,
int properties,
[MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.U1, SizeParamIndex = 3)] byte[] dataBytes,
byte[] dataBytes,
int dataLength,
int permissions
);
Expand All @@ -258,7 +258,7 @@ int permissions
internal static extern int cb4u_mutable_characteristic_value(SafeNativeMutableCharacteristicHandle handle, byte[] dataBytes, int dataLength);

[DllImport(DLL_NAME, CallingConvention = CallingConvention.Cdecl)]
internal static extern void cb4u_mutable_characteristic_set_value(SafeNativeMutableCharacteristicHandle handle, [MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.U1, SizeParamIndex = 2), In] byte[] dataBytes, int dataLength);
internal static extern void cb4u_mutable_characteristic_set_value(SafeNativeMutableCharacteristicHandle handle, byte[] dataBytes, int dataLength);

[DllImport(DLL_NAME, CallingConvention = CallingConvention.Cdecl)]
internal static extern int cb4u_mutable_characteristic_properties(SafeNativeMutableCharacteristicHandle handle);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.teach310.core-bluetooth-for-unity",
"version": "0.4.4",
"version": "0.4.5",
"displayName": "CoreBluetooth",
"description": "Provides native Apple CoreBluetooth integration for use with Unity.",
"unity": "2022.3",
Expand Down