Changeset e2e9ba
- Timestamp:
- 01/12/12 14:27:15 (4 months ago)
- Branches:
- ('master', 'deebf2045e7119c339412580f37a1e653f7d5715')('controller-upgrade', '00f95d22e12d96ef089e0902ef62ae8ce841dc6f')
- Children:
- 01855cac968f05755723356ac8582602264fbffb
- Parents:
- 3ce58f019fbe42e77592b30166a1f44a732eeee5
- git-author:
- Stefan Persson <stefan.persson@telldus.se>2012-01-12 14:27:15+01:00
- git-committer:
- Stefan Persson <stefan.persson@telldus.se>2012-01-12 14:27:15+01:00
- Location:
- telldus-core/service
- Files:
-
- 2 edited
-
TellStick_libftdi.cpp (modified) (5 diffs)
-
TelldusMain.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
telldus-core/service/TellStick_libftdi.cpp
r3ce58f re2e9ba 217 217 218 218 delete[] tempMessage; 219 Log::notice("Message: %s", strMessage.c_str());220 Log::notice("FWVersion: %d", firmwareVersion());221 Log::notice("Pid: %X", pid());222 219 223 220 if(!c){ … … 228 225 if(strMessage.compare("N+") == 0 && ((pid() == 0x0C31 && firmwareVersion() < 5) || (pid() == 0x0C30 && firmwareVersion() < 6))){ 229 226 //these firmware versions doesn't implement ack to noop, just check that the noop can be sent correctly 230 Log::warning("Too old firmware, accepting this, just return success");231 227 return TELLSTICK_SUCCESS; 232 228 } … … 234 230 if(d->ignoreControllerConfirmation){ 235 231 //allow TellStick to finish its air-sending 236 Log::warning("Sleeping");237 232 msleep(1000); 238 233 return TELLSTICK_SUCCESS; 239 234 } 240 241 Log::warning("Continuing");242 235 243 236 int retrycnt = 250; … … 246 239 ret = ftdi_read_data( &d->ftHandle, &in, 1); 247 240 if (ret > 0) { 248 Log::warning("%c", in);249 241 if (in == '\n') { 250 Log::warning("Received an end");251 242 return TELLSTICK_SUCCESS; 252 243 } … … 259 250 } 260 251 261 Log::warning("Error in communication, retrycount ended");262 252 return TELLSTICK_ERROR_COMMUNICATION; 263 253 } -
telldus-core/service/TelldusMain.cpp
rb84e8b re2e9ba 113 113 janitor->popSignal(); 114 114 } 115 Log::debug("Do Janitor cleanup");116 115 controllerManager.queryControllerStatus(); 117 116 }
Note: See TracChangeset
for help on using the changeset viewer.
