wclRfCommClientWrite Method |
Sends data to the connected device.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax public int Write(
byte[] Data,
out uint Written
)
Public Function Write (
Data As Byte(),
<OutAttribute> ByRef Written As UInteger
) As Integer
public:
int Write(
array<unsigned char>^ Data,
[OutAttribute] unsigned int% Written
)
Parameters
- Data Byte
- The pointer to the data buffer that should be sent
to the connected device.
- Written UInt32
- The amount of bytes actually written to the
device.
Return Value
Int32 If the function succeed the return value is
WCL_E_SUCCESS. Otherwise the method returns one of
the WCL error codes.
Remarks The write is synchronous operation.
See Also