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?


Hello. I correct the code alittle.
i’ve set ‘Enable’ Broadcast Settings-GPS in the CHR Serial Interface.
And attached ‘bit 4 in the CREG_COM_SETTINGS register’ in the code to get GPS_sat information.
Below is the code that i made by mbed. Even this code is compiled, there is no change.

void UM7::commandGpsSat(void)
//char tx_data[]= {‘s’,’n’,’p’,0x00,0x00,0x50,0x00,0x01,0x10,0x01,0xB2};//snp//0x73 + 0x6E + 0x70
//char tx_data[]= {‘s’,’n’,’p’,0x80,0x00,0x50,0x00,0x01,0x10,0x02,0x32};//snp//0x73 + 0x6E + 0x70
char tx_data[]= {‘s’,’n’,’p’,0xc4,0x00,0x50,0x00,0x01,0x10,0x02,0x76};//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++) {
Could you tell me which thing is matter? or Is there other methods to get ‘DREG_GPS_SAT_n_n’ information?