-OCStackResult OCAccountManager::joinGroup(const std::string& groupId,
- PostCallback cloudConnectHandler)
-{
- std::string uri = m_host + OC_RSRVD_ACL_GROUP_URI + "/" + groupId;
-
- return checked_guard(m_clientWrapper.lock(), &IClientWrapper::PostResourceRepresentation,
- OCDevAddr(), uri, OCRepresentation(), QueryParamsMap(), HeaderOptions(),
- m_connType, cloudConnectHandler, m_defaultQos);
-}
-
-OCStackResult OCAccountManager::addDeviceToGroup(const std::string& groupId,
- const std::vector<std::string>& deviceId,
- PostCallback cloudConnectHandler)