PreviousNext
Get information for more peripherals
Help > Basics > Device exploration > Get information for more peripherals

Returns the same information as Get peripheral information but for up to 14 peripherals of consecutive indexes starting with the specified PCMD.

 

Request

 

NADR

PNUM

PCMD

HWPID

NADR

0xFF

Per

?

 

Per                   Number of the first peripheral from the list to get the information about. The parameter value cannot be 0x3F because it would collide with the Peripheral enumeration command.

 

The HWPID value is ignored at this command.

 

Response

 

NADR

PNUM

PCMD

HWPID

ErrN

DpaValue

0

1

2

3

4×(n-1)

4×(n-1)+1

4×(n-1)+2

4×(n-1)+3

NADR

0xFF

RPer

?

0

?

PerTE1

PerT1

Par11

Par21

PerTEn

PerTn

Par1n

Par2n

 

RPer                 Same as Per at the request but with the most significant bit set to indicate a response message.

n [0,14]          Number of peripherals the information was returned about. n = 0 when no peripheral information is returned.

 

If the peripheral at index x is not supported or enabled, then PerTx = PERIPHERAL_TYPE_DUMMY. The response data is always right-trimmed to the last supported or enabled peripheral that can fit in the data array i.e. the data never ends with one or more peripheral information with PerTx = PERIPHERAL_TYPE_DUMMY.