public static extern int nfc_device_get_supported_modulation(IntPtr pnd, nfc_mode mode, ref IntPtr supported_mt);
public static extern int nfc_device_get_supported_baud_rate(IntPtr pnd, nfc_mode mode, nfc_modulation_type nmt, ref IntPtr supported_br);
/** @ingroup data * @brief Get supported modulations. * @return Returns 0 on success, otherwise returns libnfc's error code (negative value) * @param pnd \a nfc_device struct pointer that represent currently used device * @param mode \a nfc_mode. * @param supported_mt pointer of \a nfc_modulation_type array. * */ public static int nfc_device_get_supported_modulation(nfc_device pnd, nfc_mode mode, out nfc_modulation_type[] supported_mt) { pnd.last_error = 0; return(pnd.driver.get_supported_modulation(pnd, mode, out supported_mt)); }