Sensors, Electronics and Prototyping

Reply To: how do i use sat` information?

Welcome to Redshift Labs Forums UM7 Product Support how do i use sat` information? Reply To: how do i use sat` information?

#845
John
Guest

Hello i’ve set ‘bit 4 in the CREG_COM_SETTINGS register’ to get GPS_sat information.
Below is what i make code by mbed. Even this code is compiled, there is no change.

void UM7::commandGpsSat(void)
{
char tx_data[11]= {‘s’,’n’,’p’,0x00,0x00,0x50,0x00,0x01,0x10,0x01,0xB2};//snp//0x73 + 0x6E + 0x70
//pt// resi//50000110
// s n p ‘Packet Type byte’ ‘Address of GET_FW_REVISION register’ ‘Checksum high byte’ ‘Checksum low byte’
for(int i=0; i<11; i++) {
_um7.putc(tx_data[i]);
}
return;
}

could you offer me the solution?