User manual

SCM3712 REFERENCE MANUAL 69
8.8. P2P Initiator Mode IOCTLs
8.8.1. IOCTL_INITIATOR_POLL
8.8.1.1. Description
This IOCTL is sent to the device that would act as the initiator. On receiving
this IOCTL, the initiator firmware / driver would
Check if the device is already in the P2P mode
If not, automatically switch the device to P2P mode
Start polling for the target device.
The response would contain the target presence / absence status.
8.8.1.2. Input Buffer
typedefstruct _INITIATOR_POLL_PARAMS
{
BYTE byMaxNoOfTargets;
BYTE byActivePassive;
BYTE byBrTy;
} INITIATOR_POLL_PARAMS, *PINITIATOR_POLL_PARAMS;
Byte #
Value
Description
B0
0x00
Maximum number of targets 0x01
B1
0x00
Passive mode - The Initiator generates the
RF field and the Target responds to an
Initiator command in a load modulation
scheme
0x01
Active mode - Mode in which both the
Initiator and the Target use their own RF
field to enable the communication
B2
0x00
Baud rate and modulation type to be used
during the initialization
106kbps
0x01
212kbps
0x02
424kbps
8.8.1.3. Output Buffer
Byte #
Value
Description
B0
0x00
Card / target absent
0x01
Card / target present