NAME

k8055m_open -- Open a k8055m card

LIBRARY

k8055-pic18f access library

SYNOPSIS

#include "k8055m.h"

int
k8055m_open(int cardNumber);
    

DESCRIPTION

k8055m_open() establishes communitation with the k8055m card configured as cardNumber. This will create a separate IO thread, that will first query the card for its current configuration and output port settings, and then perform the actual HID protocol communication with the card.

RETURN VALUES

Returns 0 on success, -1 on error.