Instrument Neutral Distributed Interface INDI 2.2.5
Namespaces | Functions
ikunfocuser_protocol.cpp File Reference
#include "ikunfocuser_protocol.h"
#include <cerrno>
#include <cstdlib>

Go to the source code of this file.

Namespaces

namespace  IKunFocuserProtocol
 

Functions

bool IKunFocuserProtocol::parseMotionStatus (const std::string &response, MotionStatus &status)
 
bool IKunFocuserProtocol::parseVersion (const std::string &response, int &version)
 
bool IKunFocuserProtocol::parseJsonInteger (const std::string &json, const std::string &key, int64_t &value)
 
bool IKunFocuserProtocol::parseJsonNumber (const std::string &json, const std::string &key, double &value)
 
bool IKunFocuserProtocol::parseJsonBoolean (const std::string &json, const std::string &key, bool &value)
 
bool IKunFocuserProtocol::isErrorResponse (const std::string &response)
 
bool IKunFocuserProtocol::isSupportedIdentity (const std::string &response)
 
const char * IKunFocuserProtocol::modelForVersion (int version)
 
bool IKunFocuserProtocol::isSupportedVersion (int version)