gps_nmeaSetOpts, parameter list

This is a simple question about the location API. Im doing this:

I want to limit the nmea messages to GGA, GSA and RMC. The second argument to gps_nmeaSetOpts allows me to configure this I believe, however I am not sure about what is expected. Do I have to terminate this list somehow (The bold text)?

EDIT: I have found the answer, you have to “|” the list together:

GPS_OPT_NMEA_LIST, GPS_NMEA_GSA_EN | GPS_NMEA_RMC_EN | …

Hi,

Yes,you can limit the options of NMEA messages list using “I” i.e. OR operator.

Thanks.