acm_cdc_notify(9)

acm_cdc_notify9

Issue cdc notification to host

Usage

int acm_cdc_notify(struct f_acm * acm, u8 type, u16 value, void * data, unsigned length);

Arguments

acm

wraps host to be notified

type

notification type

value

Refer to cdc specs, wValue field.

data

data to be sent

length

size of data

Context

irqs blocked, acm->lock held, acm_notify_req non-null

Overview

Returns zero on success or a negative errno.

See section 6.3.5 of the CDC 1.1 specification for information

About the only notification we issue

SerialState change.

Releases

2 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 7

Author

David Brownell <[email protected]>

Author.

From linux-manual-3.2 3.2.78-1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.