SC profile shall define means through which the API user can obtain information about the current mode of operation.
Rationale: SC profile may define different functionality for different modes of operation. If the API user is not able to determine which mode is current, it may invoke or rely on incorrect API functionality.
Example: SC profile can define function Mode getMode() which obtains the current mode, where Mode can be defined as enum class Mode { non_safe, safe }.
SC profile shall define means through which the API user can obtain information about the current mode of operation.
Rationale: SC profile may define different functionality for different modes of operation. If the API user is not able to determine which mode is current, it may invoke or rely on incorrect API functionality.
Example: SC profile can define function
Mode getMode()
which obtains the current mode, whereMode
can be defined asenum class Mode { non_safe, safe }
.