| 72 | UserCode( uint32 const _homeId, uint8 const _nodeId ); |
| 73 | |
| 74 | string CodeStatus( uint8 const _byte ) |
| 75 | { |
| 76 | switch( _byte ) |
| 77 | { |
| 78 | case UserCode_Available: |
| 79 | { |
| 80 | return "Available"; |
| 81 | } |
| 82 | case UserCode_Occupied: |
| 83 | { |
| 84 | return "Occupied"; |
| 85 | } |
| 86 | case UserCode_Reserved: |
| 87 | { |
| 88 | return "Reserved"; |
| 89 | } |
| 90 | case UserCode_NotAvailable: |
| 91 | { |
| 92 | return "Not Available"; |
| 93 | } |
| 94 | case UserCode_Unset: |
| 95 | { |
| 96 | return "Unset"; |
| 97 | } |
| 98 | default: |
| 99 | { |
| 100 | return "Unknown"; |
| 101 | } |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | bool m_queryAll; // True while we are requesting all the user codes. |
| 106 | uint16 m_currentCode; |
nothing calls this directly
no outgoing calls
no test coverage detected