access: All users
Displays the product ID for the current system.
platform get product-id
You can also retrieve the product ID, board revision number, and PRS revision number using the sensor get and inventory get hardware commands.
Return Codes
Following are the return values for this command:
| Code | Numeric Code | Description |
|---|---|---|
| NWSE_Success | 0 | Command successfully completed. |
| NWSE_InvalidUsage | 1 | Invalid usage: bad parameter usage, conflicting options specified. |
| NWSE_NotFound | 5 | Entity (user, service, file, path, etc.) was not found. |
| NWSE_FileError | 18 | File open, missing, or read or write error occurred. |
| NWSE_ServiceNotAvailable | 24 | Requested service is not available. |