23 lines
739 B
C
23 lines
739 B
C
//
|
|
// Created by villuton on 20.03.25.
|
|
//
|
|
|
|
#ifndef NMEA0183PARSER_PRIVATE_H
|
|
#define NMEA0183PARSER_PRIVATE_H
|
|
|
|
#include "AsciiStringParsingUtils.h"
|
|
|
|
#define Nmea0183ParseShortCharsDecimalNumber(STR, LEN) (uint16_t) iAsciiStringParseUnsignedLongDecimalNumber(STR,((STR)+(LEN)))
|
|
|
|
#define Nmea0183ParseDouble(STR, LEN) dAsciiStringParseDouble(STR,((STR)+(LEN)))
|
|
|
|
#define Nmea0183SkipSpace(STR, STR_END) xAsciiStringSkipSpace(STR,STR_END)
|
|
|
|
#define Nmea0183SkipToChar(STR, STR_END, SYMBOL) xAsciiStringSeekChar(STR,STR_END,SYMBOL)
|
|
|
|
#define Nmea0183ParseNextPortion(BEGIN, DIV, STR_END) iAsciiStringMoveToNextParsingBlock(BEGIN,DIV,STR_END,',')
|
|
|
|
#define Nmea0183ParseHexByte(STR) iAsciiStringParseHexByte(STR)
|
|
|
|
#endif //NMEA0183PARSER_PRIVATE_H
|