user_accept_unsolicited_data

Determines whether unsolicited data between polls may be processed.

You can find the template for this subroutine in:

usrtm_accept.c

Syntax

int user_accept_unsolicited_data()

Input Arguments

None.

Output Arguments

None.

Return Value

This subroutines returns one of the following:

  • TRUE
  • FALSE

If TRUE, process the unsolicited data received now.

If FALSE, do not process the unsolicited data received at this time. No attempt is made to read the unsolicited data unless one of the following occurs:

  • dcrp_notify_unsolicited_data() is called to initiate another attempt at unsolicited data.
  • Unsolicited data is processed transparent to the Device Communications Toolkit. The function dcrp_rcv_unsolicited_data() or dcrp_rcv_unsolicited_data_stamp() may be called to force the processing of the received unsolicited data by the Toolkit.