comparison Discovery/Src/tComm.c @ 138:cc9c18075e00 FlipDisplay

Removed no longer supported scooter code
author Ideenmodellierer
date Sat, 23 Feb 2019 21:10:51 +0100
parents b7689d9e888a
children 255eedad4155
comparison
equal deleted inserted replaced
137:9eda5a75c5fd 138:cc9c18075e00
338 338
339 // char aTxFactoryDefaults[50] = "AT&F1\r"; 339 // char aTxFactoryDefaults[50] = "AT&F1\r";
340 340
341 char aTxBufferEscapeSequence[50] = "+++"; 341 char aTxBufferEscapeSequence[50] = "+++";
342 // limit is 19 chars, with 7 chars shown in BLE advertising mode 342 // limit is 19 chars, with 7 chars shown in BLE advertising mode
343 //char aTxBufferName[50] = "AT+BNAME=BONEX-HW%4a\r";
344 //________________________123456789012345678901 343 //________________________123456789012345678901
345 char aTxBufferName[50] = "AT+BNAME=OSTC4-12345\r"; 344 char aTxBufferName[50] = "AT+BNAME=OSTC4-12345\r";
346 char answerOkay[6] = "\r\nOKr\n"; 345 char answerOkay[6] = "\r\nOKr\n";
347 346
348 gfx_number_to_string(5,1,&aTxBufferName[15],serial); 347 gfx_number_to_string(5,1,&aTxBufferName[15],serial);
906 // get model + features 905 // get model + features
907 case 0x60: 906 case 0x60:
908 aTxBuffer[count++] = 0x00; // hardware descriptor HIGH byte 907 aTxBuffer[count++] = 0x00; // hardware descriptor HIGH byte
909 aTxBuffer[count++] = 0x3B; // hardware descriptor LOW byte // 0x3B is OSTC4 // 0x1A is OTSC3 908 aTxBuffer[count++] = 0x3B; // hardware descriptor LOW byte // 0x3B is OSTC4 // 0x1A is OTSC3
910 aTxBuffer[count++] = 0x00; // feature descriptor HIGH byte 909 aTxBuffer[count++] = 0x00; // feature descriptor HIGH byte
911 if(getLicence() == LICENCEBONEX) 910 aTxBuffer[count++] = 0x00; // feature descriptor LOW byte
912 aTxBuffer[count++] = 0x01; // feature descriptor LOW byte
913 else
914 aTxBuffer[count++] = 0x00; // feature descriptor LOW byte
915 aTxBuffer[count++] = 0x43; // model id 911 aTxBuffer[count++] = 0x43; // model id
916 aTxBuffer[count++] = prompt4D4C(receiveStartByteUart); 912 aTxBuffer[count++] = prompt4D4C(receiveStartByteUart);
917 break; 913 break;
918 914
919 // get model 915 // get model