Instance Method

unpublishL2CAPChannel:

Removes a published service from the local system.

Declaration

- (void)unpublishL2CAPChannel:(CBL2CAPPSM)PSM;

Parameters

PSM

The Protocol and Service Multiplexer (PSM) to remove from the system.

Discussion

After you make this call, the peripheral manager accepts no new connections for this PSM, and closes any existing L2CAP channels using this PSM.

See Also

Using L2CAP Channels

- publishL2CAPChannelWithEncryption:

Creates a listener for incoming L2CAP channel connections.