pub unsafe extern "C" fn icsneo_setPollingMessageLimit(
    device: *const neodevice_t,
    newLimit: size_t
) -> bool
Expand description

\brief Set the maximum number of messages which will be held in the API managed buffer for the specified hardware. \param[in] device A pointer to the neodevice_t structure specifying the device to operate on. \param[in] newLimit The new limit to be enforced. \returns True if the limit was set successfully.

See icsneo_enableMessagePolling() for more information about the message polling system.

Setting the maximum lower than the current number of stored messages will cause the oldest messages to be dropped (LOST) and an icsneo::APIEvent::PollingMessageOverflow to be flagged for the device.