Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Commit dbe74ef

Browse files
committed
Adding how the I2C parsing works
For myself and my future self
1 parent 0f07694 commit dbe74ef

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Theory.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
How I2C library works
2+
===========================================================
3+
4+
When the user calls one of the methods the library will poll the Ublox module for new data.
5+
6+
* Wait for a minimum of 25 ms between polls (configured dynamically when update rate is set)
7+
* Write 0xFD to module
8+
* Read two bytes (0xFD and 0xFE) for bytes available
9+
* If 0x7F or 0xFF then no bytes are available
10+
* Otherwise, read number of bytes and process into NMEA, UBX, or RTCM frame.
11+
* If checksum is valid, flag frame as complete.
12+
13+

0 commit comments

Comments
 (0)