Mercurial > public > ostc4
diff 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 |
line wrap: on
line diff
--- a/Discovery/Src/tComm.c Tue Feb 19 21:48:32 2019 +0100 +++ b/Discovery/Src/tComm.c Sat Feb 23 21:10:51 2019 +0100 @@ -340,7 +340,6 @@ char aTxBufferEscapeSequence[50] = "+++"; // limit is 19 chars, with 7 chars shown in BLE advertising mode - //char aTxBufferName[50] = "AT+BNAME=BONEX-HW%4a\r"; //________________________123456789012345678901 char aTxBufferName[50] = "AT+BNAME=OSTC4-12345\r"; char answerOkay[6] = "\r\nOKr\n"; @@ -908,10 +907,7 @@ aTxBuffer[count++] = 0x00; // hardware descriptor HIGH byte aTxBuffer[count++] = 0x3B; // hardware descriptor LOW byte // 0x3B is OSTC4 // 0x1A is OTSC3 aTxBuffer[count++] = 0x00; // feature descriptor HIGH byte - if(getLicence() == LICENCEBONEX) - aTxBuffer[count++] = 0x01; // feature descriptor LOW byte - else - aTxBuffer[count++] = 0x00; // feature descriptor LOW byte + aTxBuffer[count++] = 0x00; // feature descriptor LOW byte aTxBuffer[count++] = 0x43; // model id aTxBuffer[count++] = prompt4D4C(receiveStartByteUart); break;