Added sendIndex for periodic messages