Searched refs:connectedNode (Results 1 – 2 of 2) sorted by relevance
671 int connectedNode = openDeviceNode("connected", O_RDONLY); in getConnectedState() local672 if(connectedNode >= 0) { in getConnectedState()674 ssize_t bytesRead = read(connectedNode, opStr, sizeof(opStr) - 1); in getConnectedState()685 close(connectedNode); in getConnectedState()
693 int connectedNode = openDeviceNode("connected", O_RDONLY); in getConnectedState() local694 if(connectedNode >= 0) { in getConnectedState()696 ssize_t bytesRead = read(connectedNode, opStr, sizeof(opStr) - 1); in getConnectedState()707 close(connectedNode); in getConnectedState()