The field version of the solarnano grid on the ionQubes
Fork of SolarNanoGridv3 by
Diff: Locker/Locker.cpp
- Revision:
- 24:6aba7f16e0c6
- Parent:
- 18:be77ad141fac
- Child:
- 28:e85a86fc8b59
--- a/Locker/Locker.cpp Wed Jun 15 00:23:36 2016 +0000 +++ b/Locker/Locker.cpp Wed Jun 15 00:54:44 2016 +0000 @@ -186,13 +186,16 @@ dataRx[width] = '\0'; //Process the acknowledge if ((pipe>=2)&&(battIn[battPipes[pipe - 2]] == SENDING)) { // A file is being transferred. + DBG("A file is being transferred"); nrf->acknowledgeData("S ", 2, pipe); flagNrf = 1; } else if (dataRx[0] == 'T') { // Sends the time - this is updated in doOneSecond() + DBG("Send Time in acknowledge"); nrf->acknowledgeData(timeValue, strlen(timeValue), pipe); } else if (dataRx[0] == 'M') { // Sends the maxCharge value - this is updated in doOneSecond() + DBG("Sent maxCharge: %s in acknowledge", maxChargeValue); nrf->acknowledgeData(maxChargeValue, strlen(maxChargeValue), pipe); } else { nrf->acknowledgeData(dataRx, 2, pipe);