3.4.6.3.2 RegisterDevice
The RegisterDevice action registers a device with the WMDRM: Network Devices Protocol service. The action takes one input variable: a bin.base64-encoded registration request message as defined in section 2.2.1.1. After the transmitter receives the RegisterDevice action, it will respond with a bin.base64-encoded registration response message as defined in section 2.2.1.2. If invoked by a device that is not authorized, RegisterDevice will return a UPnP 801 error (access denied).
The following table shows the arguments for the RegisterDevice action.
|
Argument |
Direction |
relatedStateVariable |
|---|---|---|
|
Generic data block |
IN |
A_ARG_TYPE_GenericData |
|
Generic data block |
OUT |
A_ARG_TYPE_GenericData |
The Base64 encoding, which is used in the registration request messages and registration response messages, is defined in [RFC4648].
Dependency on State: Devices SHOULD call this action on power-up.