Lightweight USB stack
1.0
|
USB CDC PSTN subclass definitions. More...
Data Structures | |
struct | usb_cdc_dlm_desc |
Direct Line Management Functional Descriptor. More... | |
struct | usb_cdc_tring_desc |
Telephone Ringer Functional Descriptor. More... | |
struct | usb_cdc_tom_desc |
Telephone Operational Modes Functional Descriptor. More... | |
struct | usb_cdc_tcs_desc |
Telephone Call State Reporting Capabilities Descriptor. More... | |
Communications Class Subclass Codes | |
#define | USB_CDC_SUBCLASS_DLC 0x01 |
Direct Line Control Model. | |
#define | USB_CDC_SUBCLASS_TEL 0x03 |
Telephone Control Model. | |
CDC PSTN subclass specific Functional Descriptors codes | |
#define | USB_DTYPE_CDC_LINE_MANAGEMENT 0x03 |
Direct Line Management Functional Descriptor. | |
#define | USB_DTYPE_CDC_TEL_RING 0x04 |
Telephone Ringer Functional Descriptor. | |
#define | USB_DTYPE_CDC_TEL_CALL 0x05 |
Telephone Call and Line State Reporting Capabilities Functional Descriptor. | |
#define | USB_DTYPE_CDC_TEL_OPMODE 0x08 |
Telephone Operational Modes Functional Descriptor. | |
CDC PSTN subclass specific requests | |
#define | USB_CDC_SET_AUX_LINE_STATE 0x10 |
Used to connect or disconnect a secondary jack to POTS circuit or CODEC, depending on hook state. | |
#define | USB_CDC_SET_HOOK_STATE 0x11 |
Used to set the necessary POTS line relay code for on-hook, off-hook, and caller ID states. | |
#define | USB_CDC_PULSE_SETU 0x12 |
Used to prepare for a pulse-dialing cycle. | |
#define | USB_CDC_SEND_PULSE 0x13 |
Used to generate a specified number of make/break pulse cycles. | |
#define | USB_CDC_SET_PULSE_TIME 0x14 |
Sets the timing of the make and break periods for pulse dialing. | |
#define | USB_CDC_RING_AUX_JACK 0x15 |
Used to generate a ring signal on a secondary phone jack. | |
#define | USB_CDC_SET_RINGER_PARMS 0x30 |
Configures the ringer for the communication device. | |
#define | USB_CDC_GET_RINGER_PARMS 0x31 |
Returns the ringer capabilities of the device and the current status of the device’s ringer. | |
#define | USB_CDC_SET_OPERATION_PARMS 0x32 |
Sets the operational mode for the device, between a simple mode, standalone mode and a host centric mode. | |
#define | USB_CDC_GET_OPERATION_PARMS 0x33 |
Gets the current operational mode for the device. | |
#define | USB_CDC_SET_LINE_PARMS 0x34 |
Used to change the state of the line. | |
#define | USB_CDC_GET_LINE_PARMS 0x35 |
Used to report the state of the line. | |
#define | USB_CDC_DIAL_DIGITS 0x36 |
Dials the DTMF digits over the specified line. | |
CDC PSTN subclass specific notifications | |
#define | USB_CDC_NTF_AUX_JACK_HOOK_STATE 0x08 |
Indicates the loop has changed on the auxiliary phone interface. | |
#define | USB_CDC_NTF_RING_DETECT 0x09 |
Indicates ring voltage on the POTS line interface. | |
#define | USB_CDC_NTF_CALL_STATE_CHANGE 0x28 |
Identifies that a change has occurred to the state of a call on the line corresponding to the interface or union for the line. | |
#define | USB_CDC_NTF_LINE_STATE_CHANGE 0x29 |
identifies that a change has occurred to the state of the line corresponding to theinterface or master interface of a union. | |
USB CDC Direct Line Management capabilities | |
#define | USB_CDC_DLM_PULSE 0x01 |
Supports the request combination of Pulse_Setup, Send_Pulse, and Set_Pulse_Time. | |
#define | USB_CDC_DLM_AUX 0x02 |
Supports the request combination of Set_Aux_Line_State, Ring_Aux_Jack, and notification Aux_Jack_Hook_State. | |
#define | USB_CDC_DLM_XTRAPULSE 0x04 |
Device requires extra Pulse_Setup request during pulse dialing sequence to disengage holding circuit. | |
USB CDC Telephone Operational Modes capabilities | |
#define | USB_CDC_TOM_SIMPLE 0x01 |
Supports Simple mode. | |
#define | USB_CDC_TOM_STANDALONE 0x02 |
Supports Standalone mode. | |
#define | USB_CDC_TOM_CENTRIC 0x04 |
Supports Computer Centric mode. | |
USB CDC Telephone Call State Reporting capabilities | |
#define | USB_CDC_TCS_DIALTONE 0x01 |
Reports interrupted dialtone in addition to normal dialtone. | |
#define | USB_CDC_TCS_STATE 0x02 |
Reports ringback, busy, and fast busy states. | |
#define | USB_CDC_TCS_CALLERID 0x04 |
Reports caller ID information. | |
#define | USB_CDC_TCS_RINGING 0x08 |
Reports incoming distinctive ringing patterns. | |
#define | USB_CDC_TCS_DTMF 0x10 |
Can report DTMF digits input remotely over the telephone line. | |
#define | USB_CDC_TCS_NOTIFY 0x20 |
Does support line state change notification. | |
USB CDC PSTN subclass definitions.
This module based on "Universal Serial Bus Communications Class Subclass Specification for PSTN Devices" Revision 1.2
This module contains definitions for