nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ st25r3911b_field_on()

int st25r3911b_field_on ( uint8_t collision_threshold,
uint8_t peer_threshold,
uint8_t delay )

#include <lib/st25r3911b/st25r3911b_common.h>

Perform automatic collision resolution and switch on the NFC Reader field.

Perform automatic collision resolution and switch the field on if no collision was detected. If thresholds are set to ST25R3911B_NO_THRESHOLD_ANTICOLLISION, then RF Collision Avoidance will not be performed.

Parameters
[in]collision_thresholdCollision resolution threshold in mV peek-to-peek.
[in]peer_thresholdPeer detection threshold in mV peek-to-peek.
[in]delayDelay after field on in milliseconds, according to NFC Forum Digital 2.0 Guard Time.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.