Added a function to get the list of agendas of the device