|
@@ -387,7 +387,7 @@ void getBind(void)
|
387
|
387
|
//Serial.println(ccData[2]);
|
388
|
388
|
}
|
389
|
389
|
if ((ccData[3] == txid[0]) && (ccData[4] == txid[1])) {
|
390
|
|
- if(debug2)
|
|
390
|
+ if(debug3)
|
391
|
391
|
{
|
392
|
392
|
Serial.print("ccData[5] = ");
|
393
|
393
|
Serial.println(ccData[5]);
|
|
@@ -396,14 +396,15 @@ void getBind(void)
|
396
|
396
|
}
|
397
|
397
|
if (ccData[5] == bindIdx) {
|
398
|
398
|
for (uint8_t n = 0; n < 5; n++) {
|
399
|
|
- if(debug3)
|
|
399
|
+ if(debug2)
|
400
|
400
|
{
|
401
|
401
|
Serial.print("ccData[6 + n] = ");
|
402
|
402
|
Serial.println(ccData[6 + n]);
|
403
|
403
|
Serial.print("ccData[ccLen - 3] = ");
|
404
|
404
|
Serial.println(ccData[ccLen - 3]);
|
405
|
405
|
}
|
406
|
|
- if (ccData[6 + n] == ccData[ccLen - 3]) {
|
|
406
|
+ //if (ccData[6 + n] == ccData[ccLen - 3]) {
|
|
407
|
+ if (ccData[6 + n] == 3) {
|
407
|
408
|
eol = true;
|
408
|
409
|
#if defined(DEBUG)
|
409
|
410
|
Serial.print("listLength: ");
|