OK i got it to compile and because of poor satellite signal i stuck to having only statement as
Rmc rmc = Rmc(_gps);
Then later at my statement for the JSON file i have
void addToJSONBuefferWriter &writer){
writer.name("UTCTime").value(_gps.data);
writer.name("A").value(_gps.data[1]);
writer.name("B").value(_gps.data[2]);
This compiles but results show on the particle events as;
UTCTime = true
A = 0
B = 0
The fact it works on the serial port, means i am doing something wrong. I just want the values to pass over same as serial. Not sure where i am going wrong… tricky one…