Mercurial > public > ostc4
comparison Small_CPU/Src/GNSS.c @ 957:3420e3ba698d Evo_2_23
External sensor commands: Add sensor ID to command:
In the previous version a command was send without information regarding the target sensor. To have the possibility in future to e.g. calibrate a specific sensor, the sensor ID is now transmitted together with the command. As example in the new implementation the O2 Sensor selected in the sensor menu will blink to enable sensor identification.
author | Ideenmodellierer |
---|---|
date | Mon, 06 Jan 2025 20:06:35 +0100 |
parents | 9b29995d6619 |
children |
comparison
equal
deleted
inserted
replaced
956:083afabc6578 | 957:3420e3ba698d |
---|---|
64 * Parse data to unique chip ID standard. | 64 * Parse data to unique chip ID standard. |
65 * Look at: 32.19.1.1 u-blox 8 Receiver description | 65 * Look at: 32.19.1.1 u-blox 8 Receiver description |
66 * @param GNSS Pointer to main GNSS structure. | 66 * @param GNSS Pointer to main GNSS structure. |
67 */ | 67 */ |
68 void GNSS_ParseUniqID(GNSS_StateHandle *GNSS) { | 68 void GNSS_ParseUniqID(GNSS_StateHandle *GNSS) { |
69 for (int var = 0; var < 5; var++) { | 69 for (int var = 0; var < 4; var++) { |
70 GNSS->uniqueID[var] = GNSS_Handle.uartWorkingBuffer[10 + var]; | 70 GNSS->uniqueID[var] = GNSS_Handle.uartWorkingBuffer[10 + var]; |
71 } | 71 } |
72 } | 72 } |
73 | 73 |
74 /*! | 74 /*! |