Home
last modified time | relevance | path

Searched refs:sentence (Results 1 – 22 of 22) sorted by relevance

/hardware/qcom/sdm845/gps/msm8960/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp118 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0}; in loc_eng_nmea_generate_pos() local
119 char* pMarker = sentence; in loc_eng_nmea_generate_pos()
120 int lengthRemaining = sizeof(sentence); in loc_eng_nmea_generate_pos()
202 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); in loc_eng_nmea_generate_pos()
203 loc_eng_nmea_send(sentence, length, loc_eng_data_p); in loc_eng_nmea_generate_pos()
209 pMarker = sentence; in loc_eng_nmea_generate_pos()
210 lengthRemaining = sizeof(sentence); in loc_eng_nmea_generate_pos()
266 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); in loc_eng_nmea_generate_pos()
267 loc_eng_nmea_send(sentence, length, loc_eng_data_p); in loc_eng_nmea_generate_pos()
273 pMarker = sentence; in loc_eng_nmea_generate_pos()
[all …]
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp118 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0}; in loc_eng_nmea_generate_pos() local
119 char* pMarker = sentence; in loc_eng_nmea_generate_pos()
120 int lengthRemaining = sizeof(sentence); in loc_eng_nmea_generate_pos()
202 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); in loc_eng_nmea_generate_pos()
203 loc_eng_nmea_send(sentence, length, loc_eng_data_p); in loc_eng_nmea_generate_pos()
209 pMarker = sentence; in loc_eng_nmea_generate_pos()
210 lengthRemaining = sizeof(sentence); in loc_eng_nmea_generate_pos()
266 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); in loc_eng_nmea_generate_pos()
267 loc_eng_nmea_send(sentence, length, loc_eng_data_p); in loc_eng_nmea_generate_pos()
273 pMarker = sentence; in loc_eng_nmea_generate_pos()
[all …]
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp128 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0}; in loc_eng_nmea_generate_pos() local
129 char* pMarker = sentence; in loc_eng_nmea_generate_pos()
130 int lengthRemaining = sizeof(sentence); in loc_eng_nmea_generate_pos()
209 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); in loc_eng_nmea_generate_pos()
210 loc_eng_nmea_send(sentence, length, loc_eng_data_p); in loc_eng_nmea_generate_pos()
216 pMarker = sentence; in loc_eng_nmea_generate_pos()
217 lengthRemaining = sizeof(sentence); in loc_eng_nmea_generate_pos()
273 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); in loc_eng_nmea_generate_pos()
274 loc_eng_nmea_send(sentence, length, loc_eng_data_p); in loc_eng_nmea_generate_pos()
280 pMarker = sentence; in loc_eng_nmea_generate_pos()
[all …]
/hardware/qcom/sdm845/gps/msm8994/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp129 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0}; in loc_eng_nmea_generate_pos() local
130 char* pMarker = sentence; in loc_eng_nmea_generate_pos()
131 int lengthRemaining = sizeof(sentence); in loc_eng_nmea_generate_pos()
210 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); in loc_eng_nmea_generate_pos()
211 loc_eng_nmea_send(sentence, length, loc_eng_data_p); in loc_eng_nmea_generate_pos()
217 pMarker = sentence; in loc_eng_nmea_generate_pos()
218 lengthRemaining = sizeof(sentence); in loc_eng_nmea_generate_pos()
274 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); in loc_eng_nmea_generate_pos()
275 loc_eng_nmea_send(sentence, length, loc_eng_data_p); in loc_eng_nmea_generate_pos()
281 pMarker = sentence; in loc_eng_nmea_generate_pos()
[all …]
/hardware/qcom/sdm845/gps/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp128 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0}; in loc_eng_nmea_generate_pos() local
129 char* pMarker = sentence; in loc_eng_nmea_generate_pos()
130 int lengthRemaining = sizeof(sentence); in loc_eng_nmea_generate_pos()
209 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); in loc_eng_nmea_generate_pos()
210 loc_eng_nmea_send(sentence, length, loc_eng_data_p); in loc_eng_nmea_generate_pos()
216 pMarker = sentence; in loc_eng_nmea_generate_pos()
217 lengthRemaining = sizeof(sentence); in loc_eng_nmea_generate_pos()
273 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); in loc_eng_nmea_generate_pos()
274 loc_eng_nmea_send(sentence, length, loc_eng_data_p); in loc_eng_nmea_generate_pos()
280 pMarker = sentence; in loc_eng_nmea_generate_pos()
[all …]
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp122 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0}; in loc_eng_nmea_generate_pos() local
123 char* pMarker = sentence; in loc_eng_nmea_generate_pos()
124 int lengthRemaining = sizeof(sentence); in loc_eng_nmea_generate_pos()
206 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); in loc_eng_nmea_generate_pos()
207 loc_eng_nmea_send(sentence, length, loc_eng_data_p); in loc_eng_nmea_generate_pos()
213 pMarker = sentence; in loc_eng_nmea_generate_pos()
214 lengthRemaining = sizeof(sentence); in loc_eng_nmea_generate_pos()
270 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); in loc_eng_nmea_generate_pos()
271 loc_eng_nmea_send(sentence, length, loc_eng_data_p); in loc_eng_nmea_generate_pos()
277 pMarker = sentence; in loc_eng_nmea_generate_pos()
[all …]
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp129 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0}; in loc_eng_nmea_generate_pos() local
130 char* pMarker = sentence; in loc_eng_nmea_generate_pos()
131 int lengthRemaining = sizeof(sentence); in loc_eng_nmea_generate_pos()
210 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); in loc_eng_nmea_generate_pos()
211 loc_eng_nmea_send(sentence, length, loc_eng_data_p); in loc_eng_nmea_generate_pos()
217 pMarker = sentence; in loc_eng_nmea_generate_pos()
218 lengthRemaining = sizeof(sentence); in loc_eng_nmea_generate_pos()
274 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); in loc_eng_nmea_generate_pos()
275 loc_eng_nmea_send(sentence, length, loc_eng_data_p); in loc_eng_nmea_generate_pos()
281 pMarker = sentence; in loc_eng_nmea_generate_pos()
[all …]
/hardware/qcom/sdm845/gps/msm8084/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp122 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0}; in loc_eng_nmea_generate_pos() local
123 char* pMarker = sentence; in loc_eng_nmea_generate_pos()
124 int lengthRemaining = sizeof(sentence); in loc_eng_nmea_generate_pos()
206 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); in loc_eng_nmea_generate_pos()
207 loc_eng_nmea_send(sentence, length, loc_eng_data_p); in loc_eng_nmea_generate_pos()
213 pMarker = sentence; in loc_eng_nmea_generate_pos()
214 lengthRemaining = sizeof(sentence); in loc_eng_nmea_generate_pos()
270 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); in loc_eng_nmea_generate_pos()
271 loc_eng_nmea_send(sentence, length, loc_eng_data_p); in loc_eng_nmea_generate_pos()
277 pMarker = sentence; in loc_eng_nmea_generate_pos()
[all …]
/hardware/qcom/gps/msm8998/utils/
Dloc_nmea.cpp220 char* sentence, in loc_nmea_generate_GSA() argument
225 if (!sentence || bufSize <= 0 || !sv_meta_p) in loc_nmea_generate_GSA()
231 char* pMarker = sentence; in loc_nmea_generate_GSA()
318 length = loc_nmea_put_checksum(sentence, bufSize); in loc_nmea_generate_GSA()
319 nmeaArraystr.push_back(sentence); in loc_nmea_generate_GSA()
345 char* sentence, in loc_nmea_generate_GSV() argument
350 if (!sentence || bufSize <= 0) in loc_nmea_generate_GSV()
356 char* pMarker = sentence; in loc_nmea_generate_GSV()
370 snprintf(sentence, lengthRemaining, "$%sGSV,1,1,0,", talker); in loc_nmea_generate_GSV()
371 length = loc_nmea_put_checksum(sentence, bufSize); in loc_nmea_generate_GSV()
[all …]
/hardware/qcom/sdm845/gps/msm8998/utils/
Dloc_nmea.cpp221 char* sentence, in loc_nmea_generate_GSA() argument
226 if (!sentence || bufSize <= 0 || !sv_meta_p) in loc_nmea_generate_GSA()
232 char* pMarker = sentence; in loc_nmea_generate_GSA()
319 length = loc_nmea_put_checksum(sentence, bufSize); in loc_nmea_generate_GSA()
320 nmeaArraystr.push_back(sentence); in loc_nmea_generate_GSA()
346 char* sentence, in loc_nmea_generate_GSV() argument
351 if (!sentence || bufSize <= 0) in loc_nmea_generate_GSV()
357 char* pMarker = sentence; in loc_nmea_generate_GSV()
371 snprintf(sentence, lengthRemaining, "$%sGSV,1,1,0,", talker); in loc_nmea_generate_GSV()
372 length = loc_nmea_put_checksum(sentence, bufSize); in loc_nmea_generate_GSV()
[all …]
/hardware/qcom/gps/msm8909w_3100/utils/
Dloc_nmea.cpp221 char* sentence, in loc_nmea_generate_GSA() argument
226 if (!sentence || bufSize <= 0 || !sv_meta_p) in loc_nmea_generate_GSA()
232 char* pMarker = sentence; in loc_nmea_generate_GSA()
319 length = loc_nmea_put_checksum(sentence, bufSize); in loc_nmea_generate_GSA()
320 nmeaArraystr.push_back(sentence); in loc_nmea_generate_GSA()
346 char* sentence, in loc_nmea_generate_GSV() argument
351 if (!sentence || bufSize <= 0) in loc_nmea_generate_GSV()
357 char* pMarker = sentence; in loc_nmea_generate_GSV()
371 snprintf(sentence, lengthRemaining, "$%sGSV,1,1,0,", talker); in loc_nmea_generate_GSV()
372 length = loc_nmea_put_checksum(sentence, bufSize); in loc_nmea_generate_GSV()
[all …]
/hardware/qcom/sdm845/gps/sdm845/utils/
Dloc_nmea.cpp227 char* sentence, in loc_nmea_generate_GSA() argument
232 if (!sentence || bufSize <= 0 || !sv_meta_p) in loc_nmea_generate_GSA()
238 char* pMarker = sentence; in loc_nmea_generate_GSA()
326 length = loc_nmea_put_checksum(sentence, bufSize); in loc_nmea_generate_GSA()
327 nmeaArraystr.push_back(sentence); in loc_nmea_generate_GSA()
353 char* sentence, in loc_nmea_generate_GSV() argument
358 if (!sentence || bufSize <= 0) in loc_nmea_generate_GSV()
364 char* pMarker = sentence; in loc_nmea_generate_GSV()
378 snprintf(sentence, lengthRemaining, "$%sGSV,1,1,0,%d", talker, sv_meta_p->signalId); in loc_nmea_generate_GSV()
379 length = loc_nmea_put_checksum(sentence, bufSize); in loc_nmea_generate_GSV()
[all …]
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp128 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0}; in loc_eng_nmea_generate_pos() local
129 char* pMarker = sentence; in loc_eng_nmea_generate_pos()
130 int lengthRemaining = sizeof(sentence); in loc_eng_nmea_generate_pos()
210 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); in loc_eng_nmea_generate_pos()
211 loc_eng_nmea_send(sentence, length, loc_eng_data_p); in loc_eng_nmea_generate_pos()
217 pMarker = sentence; in loc_eng_nmea_generate_pos()
218 lengthRemaining = sizeof(sentence); in loc_eng_nmea_generate_pos()
274 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); in loc_eng_nmea_generate_pos()
275 loc_eng_nmea_send(sentence, length, loc_eng_data_p); in loc_eng_nmea_generate_pos()
281 pMarker = sentence; in loc_eng_nmea_generate_pos()
[all …]
/hardware/qcom/sdm845/gps/msm8996/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp128 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0}; in loc_eng_nmea_generate_pos() local
129 char* pMarker = sentence; in loc_eng_nmea_generate_pos()
130 int lengthRemaining = sizeof(sentence); in loc_eng_nmea_generate_pos()
210 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); in loc_eng_nmea_generate_pos()
211 loc_eng_nmea_send(sentence, length, loc_eng_data_p); in loc_eng_nmea_generate_pos()
217 pMarker = sentence; in loc_eng_nmea_generate_pos()
218 lengthRemaining = sizeof(sentence); in loc_eng_nmea_generate_pos()
274 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); in loc_eng_nmea_generate_pos()
275 loc_eng_nmea_send(sentence, length, loc_eng_data_p); in loc_eng_nmea_generate_pos()
281 pMarker = sentence; in loc_eng_nmea_generate_pos()
[all …]
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp124 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0}; in loc_eng_nmea_generate_pos() local
125 char* pMarker = sentence; in loc_eng_nmea_generate_pos()
126 int lengthRemaining = sizeof(sentence); in loc_eng_nmea_generate_pos()
205 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); in loc_eng_nmea_generate_pos()
206 loc_eng_nmea_send(sentence, length, loc_eng_data_p); in loc_eng_nmea_generate_pos()
212 pMarker = sentence; in loc_eng_nmea_generate_pos()
213 lengthRemaining = sizeof(sentence); in loc_eng_nmea_generate_pos()
269 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); in loc_eng_nmea_generate_pos()
270 loc_eng_nmea_send(sentence, length, loc_eng_data_p); in loc_eng_nmea_generate_pos()
276 pMarker = sentence; in loc_eng_nmea_generate_pos()
[all …]
/hardware/qcom/sdm845/gps/msm8909/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp124 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0}; in loc_eng_nmea_generate_pos() local
125 char* pMarker = sentence; in loc_eng_nmea_generate_pos()
126 int lengthRemaining = sizeof(sentence); in loc_eng_nmea_generate_pos()
205 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); in loc_eng_nmea_generate_pos()
206 loc_eng_nmea_send(sentence, length, loc_eng_data_p); in loc_eng_nmea_generate_pos()
212 pMarker = sentence; in loc_eng_nmea_generate_pos()
213 lengthRemaining = sizeof(sentence); in loc_eng_nmea_generate_pos()
269 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); in loc_eng_nmea_generate_pos()
270 loc_eng_nmea_send(sentence, length, loc_eng_data_p); in loc_eng_nmea_generate_pos()
276 pMarker = sentence; in loc_eng_nmea_generate_pos()
[all …]
/hardware/qcom/sm8150/gps/utils/
Dloc_nmea.cpp519 char* sentence, in loc_nmea_generate_GSA() argument
524 if (!sentence || bufSize <= 0 || !sv_meta_p) in loc_nmea_generate_GSA()
530 char* pMarker = sentence; in loc_nmea_generate_GSA()
618 length = loc_nmea_put_checksum(sentence, bufSize); in loc_nmea_generate_GSA()
619 nmeaArraystr.push_back(sentence); in loc_nmea_generate_GSA()
645 char* sentence, in loc_nmea_generate_GSV() argument
650 if (!sentence || bufSize <= 0) in loc_nmea_generate_GSV()
656 char* pMarker = sentence; in loc_nmea_generate_GSV()
669 snprintf(sentence, lengthRemaining, "$%sGSV,1,1,0,%X", talker, sv_meta_p->signalId); in loc_nmea_generate_GSV()
670 length = loc_nmea_put_checksum(sentence, bufSize); in loc_nmea_generate_GSV()
[all …]
/hardware/interfaces/gnss/1.0/
DIGnssCallback.hal179 * @param nmea Follows standard NMEA 0183. Each sentence begins with a '$'
185 * variable length sentence. The data may vary in the amount of precision
190 * There is a provision for a checksum at the end of each sentence which may
/hardware/qcom/gps/msm8998/gnss/
DGnssAdapter.cpp1889 for (auto sentence : nmeaArraystr) { in reportPosition() local
1890 reportNmea(sentence.c_str(), sentence.length()); in reportPosition()
1993 for (auto sentence : nmeaArraystr) { in reportSv() local
1994 reportNmea(sentence.c_str(), sentence.length()); in reportSv()
/hardware/qcom/sdm845/gps/msm8998/gnss/
DGnssAdapter.cpp1895 for (auto sentence : nmeaArraystr) { in reportPosition() local
1896 reportNmea(sentence.c_str(), sentence.length()); in reportPosition()
1999 for (auto sentence : nmeaArraystr) { in reportSv() local
2000 reportNmea(sentence.c_str(), sentence.length()); in reportSv()
/hardware/qcom/gps/msm8909w_3100/gnss/
DGnssAdapter.cpp1989 for (auto sentence : nmeaArraystr) { in reportPosition() local
1990 reportNmea(sentence.c_str(), sentence.length()); in reportPosition()
2093 for (auto sentence : nmeaArraystr) { in reportSv() local
2094 reportNmea(sentence.c_str(), sentence.length()); in reportSv()
/hardware/qcom/sdm845/gps/sdm845/gnss/
DGnssAdapter.cpp2821 for (auto sentence : nmeaArraystr) { in reportPosition() local
2822 reportNmea(sentence.c_str(), sentence.length()); in reportPosition()
2916 for (auto sentence : nmeaArraystr) { in reportSv() local
2917 reportNmea(sentence.c_str(), sentence.length()); in reportSv()