Retrieve the current status of an NFC service channel of the specified type.
NFC_API nfc_result_t nfc_get_channel_status(nfc_channel_type_t type, uint64_t *bitmask)
The channel type, which must be one of type nfc_channel_type_t.
Contains all the information about the current status of the specific channel of the NFC service. The list of supported statuses includes:
- NFC_CHANNEL_STATUS_HARDWARE_PRESENT: indicates an NFC hardware support type. The bit is set when the device hardware supports NFC.
- NFC_CHANNEL_STATUS_CARRIER_SUPPORTED: indicates a carrier support type. The bit is set when the carrier configuration allows NFC.
- NFC_CHANNEL_STATUS_IT_POLICY_ALLOWED: indicates an IT policy support type. The bit is set when IT policy allows NFC.
This function retrieves the current status of the specific channel of the NFC service, including Hardware Support, IT Policy, etc. Refer to nfc_channel_status_mask_t for a list of supported states.