Overview
Enables or disables automatic communication session reestablishment, using srfidEnableAutomaticSessionReestablishment.
Details
The srfidEnableAutomaticSessionReestablishment API function enables or disables the “Automatic communication session reestablishment” option. Pass YES to enable the option and NO to disable it. The function returns SRFID_RESULT_SUCCESS when the option has been enabled or disabled successfully.
[apiInstance srfidEnableAutomaticSessionReestablishment:YES];
Notes
If the option is enabled the SDK will automatically establish a communication session with the last active RFID reader that has unexpectedly disappeared once the RFID reader is recognized as available. The RFID reader could be recognized as available automatically by the SDK if the “Available readers detection” option is enabled. The RFID reader could also be recognized as available during the discovery procedure requested by the srfidGetAvailableReadersList API. “Session Established” notification will be provided once the communication session is established, if this type of notification is enabled.