Cube Cell HTCC-AB02S 868-915- GPS malfunction

Dear all,

I have the module on the title, and I configure and test using the codes from the exemples,
with lorawan it work fine I was ailing to join the TTN and send data, unlikely with GPS examples there wasn’t chance get any positive results.
Module remain with gps searching all the time, I tried indoor and outdoor with same results.
I configure with GPS_glonass, but nothing. I connect two antenna on top and on the bottom of the module, no results. It seems that not working at ll. I use LoRaWan_OnBoardGPS_Air530 example code. I currently don’t know what config or anything to do.With configAir530 code I receive on the serial monitor some correct info on the position( using GPRMC & GPGGA decoder). My target is to send the correct gps coord. to cayenne my device dashboard (using the example code). Someone can give me a tip or suggestion that not being an expert perhaps I have not considered.

hi,

Do you mind post your decoder(.js file)?

Hi,

This is the decode string, if is that what you mean:

$GNGGA,000040.028,028,5711.1134,N,00211.5114,W,0,0,101.7,M,48.3,M,*4D

to obtain this info on the serial monitor I use configAir530 example.

thanks

Hello I am using an decoder
function Decode(fPort, bytes, variables) {

// usando LSB (least significant byte first)
var unalectura = bytes[3]<<24 | bytes[2]<<16 | bytes[1]<<8 | bytes[0]; var unsigno = (unalectura>>>31 === 0) ? 1.0 : -1.0;
var exponente = unalectura>>>23 & 0xff;
var mantisa = (exponente === 0) ? (unalectura & 0x7fffff)<<1 : (unalectura & 0x7fffff) | 0x800000;
var NumReal = unsigno * mantisa * Math.pow(2, exponente - 150);
NumReal = +NumReal.toFixed(2);

// usando LSB (least significant byte first)
var unalectura = bytes[7]<<24 | bytes[6]<<16 | bytes[5]<<8 | bytes[4]; var unsigno = (unalectura>>>31 === 0) ? 1.0 : -1.0;
var exponente = unalectura>>>23 & 0xff;
var mantisa = (exponente === 0) ? (unalectura & 0x7fffff)<<1 : (unalectura & 0x7fffff) | 0x800000;
var NumReal2 = unsigno * mantisa * Math.pow(2, exponente - 150);
NumReal2 = +NumReal2.toFixed(2);

var appData = {‘Lat’: NumReal, ‘Long’: NumReal2};
return appData;
}

But only have the lat and long with 2 digit, how can resolv this problem, thanks