GPSbee and Seeeduino stalker, how to?

Try to use this code, upload to your Stalker V2.1 and connect to GPSBee.It could be word.

#include <SD.h>

const int chipSelect = 10;
String buffer = “”;
unsigned char ptr;
File myFile;
byte val;
void setup()
{
Serial.begin(19200);
pinMode(chipSelect,OUTPUT);
if(!SD.begin(chipSelect))
{
return;
}
File myFile = SD.open(“data.log”,FILE_WRITE);
myFile.close();
}

void loop()
{
if(Serial.available() > 0)
{
val = Serial.read();
buffer = String(val);
myFile = SD.open(“data.log”,FILE_WRITE);
myFile.print(buffer);
myFile.close();
}
}