write
Attempts to write a ByteArray to the attribute on the device and suspends until the write completes.
Return
the GattResponse.WriteResponse received from the remote device.
Parameters
the ByteArray to write.
Attempts to write a value of T to the attribute on the device and suspends until the write completes.
Return
the GattResponse.WriteResponse received from the remote device.
Parameters
the SerializationStrategy to use to serialize the value.
the BluetoothFormat to use to serialize the value.
the T to write.
Type Parameters
the type of the data object to write.
Attempts to write a value of T to the attribute on the device and suspends until the write completes.
Return
the GattResponse.WriteResponse received from the remote device.
Parameters
the BluetoothFormat to use to serialize the value.
the T to write.
Type Parameters
the type of the data object to write.