A) Adding standart NMEA formats ---------------------------- If you want to add the format 'xyz' you have to do the following steps: * In procedure SentenceType_Standard$:(sentence$,as_number%): Add the format identifier 'xyz' to the STypes$-List. * Add a procedure PROC NMEA_xyz%: descr$ = "short description of format" fields% = number of parse fields field$(1)= first parse field descriptor field$(2)= 2nd parse field descriptor ... field$(n)= n-th parse field descriptor ENDP (For an introduction to parse field descriptors see nmea.html/nmea_engl.html and dataformats.txt) That's all. Now the parser is able to interpret this format. B) Adding propietary Garmin formats -------------------------------- If you want to add the format '$PGRMc' you have to do the following steps: * In procedure SentenceType_GRM$:(sentence$,as_number%): Add the format identifier 'c' to the STypes$-List. * Add a procedure PROC NMEA_GRM_c%: descr$ = "short description of format" fields% = number of parse fields field$(1)= first parse field descriptor field$(2)= 2nd parse field descriptor ... field$(n)= n-th parse field descriptor ENDP That's all. Now the parser is able to interpret this format. (But it will process such sentences only if you have select 'Garmin Corp.' in program settings!) C) Adding propietary formats of other devices/manufactures ------------------------------------------------------- If you want to add a new manufactor with the code mmm and its format 'c' you have to do the following steps: (At this moment only one-character-formats are implemented.) * In procedure ManufactureTypes$:(mIDs$,as_number%): Add the manufacture code 'mmm' to the MTypes$-List. * Add a procedure PROC SentenceType_mmm$:(sentence$,as_number%): LOCAL STypes$(255) STypes$="c" : REM replace c by the format id RETURN SentenceType$:(sentence$,STypes$,as_number%,1) ENDP * Add a procedure PROC NMEA_mmm_c%: like in parts A) and B). That's all. Now the parser is able to interpret this format. (But it will process such sentences only if you have select the manufactures name in program settings!) You can add more propietary formats of this manufactor by the steps of part B). D) Attention --------- Feel free to change and extend the program, but: you have to tell me your changes! (c) Torsten Baumbach, 05.08.1999