| 443 | |
| 444 | |
| 445 | bool ::ARFCNManager::powerOn(bool warn) |
| 446 | { |
| 447 | int status = sendCommand("POWERON"); |
| 448 | if (status!=0) { |
| 449 | if (warn) { |
| 450 | LOG(ALERT) << "POWERON failed with status " << status; |
| 451 | } else { |
| 452 | LOG(INFO) << "POWERON failed with status " << status; |
| 453 | } |
| 454 | |
| 455 | return false; |
| 456 | } |
| 457 | return true; |
| 458 | } |
| 459 | |
| 460 | bool ::ARFCNManager::trxRunning() |
| 461 | { |