Socket Close - 0x43

Description

Use this frame to close an Extended API socket with a specified Socket ID or to close all currently open Extended API sockets.

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

0x43

Byte

 

Frame ID

 

Byte

A reference identifier used to match status responses. If set to 0, the device does not send a response.

Socket ID

 

Byte

The following options can be used:

  • ID of the socket to be closed.
  • 0xFF: Close all Extended API sockets that are currently open.