Socket Close Response - 0xC3

Description

The device sends this frame in response to a Socket Close (0x43) frame. Since a close will always succeed for a socket that exists, the status can be only one of two values: Success or Bad socket ID.

Format

The following table provides the contents of the frame. For details on frame structure, see API frame format.

Field name Field value Data type Description

Frame type

0xC3

Byte

 

Frame ID

 

Byte

A reference identifier used to match status responses.

Socket ID

 

Byte

ID of the socket that has been closed.

Status   Byte

0x00 = Success

0x20 = Bad socket ID