What chip is your AGPS example is for?
The AT6558, the Bangle 2 GPS chip.
Could you share.
Done on separate post. http://forum.espruino.com/conversations/371360/#comment16328807
thanks!
aidIniMsg[2] = 0x38; // LENGTH aidIniMsg[3] = 0x00;
this tells me U16 should be put as little first. Hmmm... is it this way everywhere?
and in ckSum = 0x010B0038; 0B is class and 01 is msgId. why these are switched, while 0038 is not? weird.
@HughB started
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.
The AT6558, the Bangle 2 GPS chip.
Done on separate post.
http://forum.espruino.com/conversations/371360/#comment16328807