Host Protocols Direct Protocol CONTROL class Actions CERTIFICATION TESTS
April 13, 2023 at 2:39 AMCERTIFICATION TESTS
Role
Enter or leave test mode.
Warning
Not all hardware support this command. For devices without such capability, this instruction will generate an error.
Access condition
Free.
Bluetooth tests
Field | Value |
---|---|
CLA | 58 (CONTROL) |
INS | AD |
MODE | 00 for BLE |
Data | See the ‘Parameters’ options below |
Parameters
Stop test
Data Bytes | Content |
---|---|
None | stop test |
Start RX test
Data Bytes | Content |
---|---|
0 | Bluetooth channel (Range: 0-39, Channel is (F - 2402) / 2, where F is frequency in MHz) |
1 | PHY to use (1 for 1M PHY, 2 for 2M PHY, 3 for 125k Coded PHY, 4 for 500k Coded PHY) |
Response
Field | Length | Description / remark |
---|---|---|
STA | 1 byte | STAtus |
Start TX test
Data Bytes | Content |
---|---|
0-1 | TX power in 0.1 dBm steps. MSB first. |
2 | Packet type to transmit: 0 for PRBS9 packet payload 1 for 11110000 packet payload 2 for 10101010 packet payload 4 for 11111111 packet payload 5 for 00000000 packet payload 6 for 00001111 packet payload 7 for 01010101 packet payload 253 for PN9 continuously modulated output 254 for Unmodulated carrier (length field is unused) |
3 | length (Packet length in bytes, Range: 0-255) |
4 | Bluetooth channel (Range: 0-39, Channel is (F - 2402) / 2, where F is frequency in MHz) |
5 | PHY to use (1 for 1M PHY, 2 for 2M PHY, 3 for 125k Coded PHY, 4 for 500k Coded PHY) |
Response
Field | Length | Description / remark |
---|---|---|
STA | 1 byte | STAtus |
Felica tests
Field | Value |
---|---|
CLA | 58 (CONTROL) |
INS | AD |
MODE | 01 for Felica |
Data | none |
Response
Field | Length | Description / remark |
---|---|---|
STA | 1 byte | STAtus |
Data | 13 bytes | Test results. Each bit set is a valid test. There are 100 tests (ie. 12.5 bytes). |