comparison Small_CPU/Src/uart.c @ 785:3c0b16473af4

Change support from Pyroscience -> DiveO2 sensors
author heinrichsweikamp
date Wed, 31 May 2023 08:44:07 +0200
parents 95af969fe0ae
children aeb72882f30a
comparison
equal deleted inserted replaced
784:95af969fe0ae 785:3c0b16473af4
156 break; 156 break;
157 case UART_O2_REQ_INFO: *cmdLength = snprintf((char*)cmdString, 10, "#VERS"); 157 case UART_O2_REQ_INFO: *cmdLength = snprintf((char*)cmdString, 10, "#VERS");
158 break; 158 break;
159 case UART_O2_REQ_ID: *cmdLength = snprintf((char*)cmdString, 10, "#IDNR"); 159 case UART_O2_REQ_ID: *cmdLength = snprintf((char*)cmdString, 10, "#IDNR");
160 break; 160 break;
161 case UART_O2_REQ_O2: *cmdLength = snprintf((char*)cmdString, 10, "#MOXY"); 161 case UART_O2_REQ_O2: *cmdLength = snprintf((char*)cmdString, 10, "#DOXY");
162 break; 162 break;
163 case UART_O2_REQ_RAW: *cmdLength = snprintf((char*)cmdString, 10, "#MRAW"); 163 case UART_O2_REQ_RAW: *cmdLength = snprintf((char*)cmdString, 10, "#DRAW");
164 break; 164 break;
165 default: *cmdLength = 0; 165 default: *cmdLength = 0;
166 break; 166 break;
167 } 167 }
168 if(*cmdLength != 0) 168 if(*cmdLength != 0)