1
0
Fork 0
This repository has been archived on 2023-11-30. You can view files and clone it, but cannot push or open issues or pull requests.
dtux__zigateplugin/zigatecmd.cpp

468 lines
4.3 KiB
C++
Raw Normal View History

2023-05-08 14:30:32 +02:00
#include "zigateplugin.h"
2023-05-08 13:32:20 +02:00
#include <unistd.h>
#include <iostream>
using namespace std;
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::resetCoordinator()
2023-05-08 13:32:20 +02:00
{
bool returnCode = false;
cout << "Sending reset to coordinator" << endl;
sendCmd("0011", "");
cout << "***************************************************" << endl;
//sleep(5);
return returnCode;
}
2023-05-08 14:30:32 +02:00
void ZigatePlugin::getVersion()
2023-05-08 13:32:20 +02:00
{
sendCmd("0010", "");
}
/*
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::setHeartBeat()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::getNetworkState()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::erasePersistentData()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::factoryNewReset()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::permitJoin()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::setExpendedPANID()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::setChannelMask()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::setSecurityStateKey()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::setDeviceType()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::startNetwork()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::startNetworkScan()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::removeDevice()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::enablePermissionsControlledJoins()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::authenticateDevice()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::outOfBandCommissioningDataRequest()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::userDescriptorSet()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::userDescriptorRequest()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::bind()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::unbind()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::complexDescriptorRequest()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::networkAddressRequest()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::iEEEAddressRequest()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::nodeDescriptorRequest()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::simpleDescriptorRequest()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::powerDescriptorRequest()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::activeEndpointRequest()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::matchDescriptorRequest()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::managementLeaveRequest()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::permitJoiningRequest()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::managementNetworkUpdateRequest()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::systemServerDiscoveryRequest()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::managementLQIRequest()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::addGroup()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::viewGroup()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::getGroupMembership()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::removeGroup()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::removeAllGroups()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::addGroupIfIdentify()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::identifySend()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::identifyQuery()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::moveToLevel()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::moveToLevelWithWithoutOnOoff()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::moveStep()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::moveStopMove()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::moveStopWithOnOff()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::onOffWithNEffects()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::onOffWithEffects()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::onOffTimedSend()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::onOffTimed()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::onOffWithEffectsSend()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::viewScene()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::addScene()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::removeScene()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::removeAllScenes()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::storeScene()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::recallScene()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::sceneMembershipRequest()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::addEnhancedScene()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::viewEnhancedHostToNodeScene()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::copyScene()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::moveToHue()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::moveHue()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::stepHue()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::moveToSaturation()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::moveSaturation()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::stepSaturation()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::moveToHueAndSaturation()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::moveToColour()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::moveColour()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::stepColour()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::enhancedMoveToHue()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::enhancedMoveHue()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::enhancedStepHue()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::enhancedMoveToHueAndSaturation()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::colourLoopSet()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::stopMoveStep()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::moveToColourTemperature()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::moveColourTemperature()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::stepColourTemperature()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::initiateTouchlink()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::touchLinkFactoryResetTarget()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::identifyTriggerEffect()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::lockUnlockDoor()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::readAttributerequest()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::writeAttributeRequest()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::configureReportingRequest()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::attributeDiscoveryRequest()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::iASZoneEnrollResponse()
2023-05-08 13:32:20 +02:00
{
}
2023-05-08 14:30:32 +02:00
bool ZigatePlugin::rawAPSDataRequest()
2023-05-08 13:32:20 +02:00
{
}
*/