Home | History | Annotate | Download | only in libloc_api_50001

Lines Matching defs:sentence

45    send out NMEA sentence
51 Total length of the nmea sentence
77 Total length of the nmea sentence
122 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0};
123 char* pMarker = sentence;
124 int lengthRemaining = sizeof(sentence);
171 for (uint8_t i = 0; i < 12; i++) // only the first 12 sv go in sentence
206 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence));
207 loc_eng_nmea_send(sentence, length, loc_eng_data_p);
213 pMarker = sentence;
214 lengthRemaining = sizeof(sentence);
270 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence));
271 loc_eng_nmea_send(sentence, length, loc_eng_data_p);
277 pMarker = sentence;
278 lengthRemaining = sizeof(sentence);
423 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence));
424 loc_eng_nmea_send(sentence, length, loc_eng_data_p);
430 pMarker = sentence;
431 lengthRemaining = sizeof(sentence);
554 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence));
555 loc_eng_nmea_send(sentence, length, loc_eng_data_p);
560 strlcpy(sentence, "$GPGSA,A,1,,,,,,,,,,,,,,,", sizeof(sentence));
561 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence));
562 loc_eng_nmea_send(sentence, length, loc_eng_data_p);
564 strlcpy(sentence, "$GPVTG,,T,,M,,N,,K,N", sizeof(sentence));
565 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence));
566 loc_eng_nmea_send(sentence, length, loc_eng_data_p);
568 strlcpy(sentence, "$GPRMC,,V,,,,,,,,,,N", sizeof(sentence));
569 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence));
570 loc_eng_nmea_send(sentence, length, loc_eng_data_p);
572 strlcpy(sentence, "$GPGGA,,,,,,0,,,,,,,,", sizeof(sentence));
573 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence));
574 loc_eng_nmea_send(sentence, length, loc_eng_data_p);
607 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0};
608 char* pMarker = sentence;
609 int lengthRemaining = sizeof(sentence);
639 // no svs in view, so just send a blank $GPGSV sentence
640 strlcpy(sentence, "$GPGSV,1,1,0,", sizeof(sentence));
641 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence));
642 loc_eng_nmea_send(sentence, length, loc_eng_data_p);
652 pMarker = sentence;
653 lengthRemaining = sizeof(sentence);
703 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence));
704 loc_eng_nmea_send(sentence, length, loc_eng_data_p);
717 // no svs in view, so just send a blank $GLGSV sentence
718 strlcpy(sentence, "$GLGSV,1,1,0,", sizeof(sentence));
719 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence));
720 loc_eng_nmea_send(sentence, length, loc_eng_data_p);
730 pMarker = sentence;
731 lengthRemaining = sizeof(sentence);
781 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence));
782 loc_eng_nmea_send(sentence, length, loc_eng_data_p);
792 strlcpy(sentence, "$GPGSA,A,1,,,,,,,,,,,,,,,", sizeof(sentence));
793 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence));
794 loc_eng_nmea_send(sentence, length, loc_eng_data_p);
796 strlcpy(sentence, "$GPVTG,,T,,M,,N,,K,N", sizeof(sentence));
797 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence));
798 loc_eng_nmea_send(sentence, length, loc_eng_data_p);
800 strlcpy(sentence, "$GPRMC,,V,,,,,,,,,,N", sizeof(sentence));
801 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence));
802 loc_eng_nmea_send(sentence, length, loc_eng_data_p);
804 strlcpy(sentence, "$GPGGA,,,,,,0,,,,,,,,", sizeof(sentence));
805 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence));
806 loc_eng_nmea_send(sentence, length, loc_eng_data_p);