Skip to main content

Report Enumeration

Retrieves the J-PORT enumeration table. This returns the number of peripherals and their IDs. Exceptionally, the sent packet has no header. The first byte carries the number of peripherals on the list. All the others carry a peripheral ID or 0. The first byte will be 0 if no enumeration is present.

Request

012345678910111213141516171819202122232425262728293031
1018

Request Structure

ByteValueSizeTypeDescription
0101BINJ-Port Address
1181BINReport Enumeration instruction code

Response

012345678910111213141516171819202122232425262728293031
QS1S2...

Response Structure

ByteValueSizeTypeDescription
0Q1BINNumber of enumerated peripherals
1S11BIN1st peripheral ID
2S21BIN2nd peripheral ID
31Sn1BINNth peripheral ID