pn8_read_pending_wait
while (pn8_read_pending_wait(status) && --i);
rv = pn8_read_pending_wait(&status);