Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - MME Explorer API - mme_explore_position_set: (2 Items)
   
MME Explorer API - mme_explore_position_set  
Hi all,

using the api call mme_explorer_info_get retrieves the information for one item per call if I understood the docum 
correctly.

What has to be defined by the parameter items within mme_explore_position_set before calling the api function 
mme_explorer_info_get? 
Should it be 1 all the time or the number of items read out using a bunch of mme_explorer_info_get calls afterwards?

Thanks a lot,
Sebastian
Re: MME Explorer API - mme_explore_position_set  
> What has to be defined by the parameter items within mme_explore_position_set 
> before calling the api function mme_explorer_info_get? 
> Should it be 1 all the time or the number of items read out using a bunch of 
> mme_explorer_info_get calls afterwards?

You should put the number of how many info_get() calls you will make. For example, if on your HMI you display 5 items 
(but plan on reading 10, say 5 extra to handle a page down) you should pass in items = 10. It is treated as a hint, it 
allows the MME to optimize things in some situations for better performance.

Regards,
Gilles