Need advise to simulate GPS data

Hy

I do receive with my Arduino different values which represent altitude, time , log, lat etc.
I collect them all and send it through the serial port back but in the NMEA format.
I store all vlaues in integer and now I need to put them together with checksum
to send it through serial port:

Example:

time = 191410
lat = 47355634
lon = 7393538
etc

=> $GPRMC,191410,A,4735.5634,N,00739.3538,E,0.0,0.0,181102,0.4,E,A*19

How can I achieve this the fastest way?

Thx
Andy

Try out processing to read on the Port and get the values from there and display as needed.

How can I achieve this the fastest way?

If it is going out over a serial link, I don't really see that speed is all that important.

thats true so sprintf() would be fast enough?