There are NMEA (CAS00) and CASIC (CFG-CFG) commands that allow to clear, save and load configuration information to/from the chip internal flash.
When I turned on/off the chip, it restarted warmly. I assume it uses the main battery to keep itself warm. But you can restart it fresh even with factory settings.
I believe the second (bigger) long term DAT file is loaded between AID-INI 06 AID-INI 09 commands. The commands are not documented in the docs v3.6 and v4.2. According to AGPS C code the file does not need to be decrypted and should be loaded as is. But I did not try.
I agree that the smaller file can be pushed as is as well even with its text header that should be ignored by the chip. But this feature is not documented as well.
When I send CFG-MSG with query for MSG-GPSUTC it returns ACK-ACK (success). But it does not return the actual MSG-GPSUTC payload.
The paper and links you've found make it very clear that the .DAT files are specifically for Mediatek GPSes. Since we don't use one of those there's no point chasing that red herring.
I just tried the three messages you listed myself and got ACK-ACK for all of them.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
There are NMEA (CAS00) and CASIC (CFG-CFG) commands that allow to clear, save and load configuration information to/from the chip internal flash.
When I turned on/off the chip, it restarted warmly. I assume it uses the main battery to keep itself warm. But you can restart it fresh even with factory settings.
I believe the second (bigger) long term DAT file is loaded between AID-INI 06 AID-INI 09 commands. The commands are not documented in the docs v3.6 and v4.2. According to AGPS C code the file does not need to be decrypted and should be loaded as is. But I did not try.
I agree that the smaller file can be pushed as is as well even with its text header that should be ignored by the chip. But this feature is not documented as well.
When I send CFG-MSG with query for MSG-GPSUTC it returns ACK-ACK (success). But it does not return the actual MSG-GPSUTC payload.
When I pushed last 3 messages from the file I've got NACK for 0x08,0x07 and ACKs for 0x08,0x05 and 0x08,0x06