Zigbee Protocol Controller 1.6.0
dotdot_mqtt_parsing_helpers.hpp File Reference
#include "sl_status.h"
#include "uic_typedefs.h"
#include "dotdot_bitmap.hpp"
#include <string>
#include <map>

Go to the source code of this file.

Namespaces

namespace  uic_dotdot_mqtt
 

Functions

bool uic_dotdot_mqtt::parse_topic_no_endpoint (const std::string &topic, std::string &unid)
 Helper function to extract unid from a topic string. More...
 
bool uic_dotdot_mqtt::parse_topic (const std::string &topic, std::string &unid, dotdot_endpoint_id_t &endpoint)
 Helper function to extract unid and endpoint from a topic string. More...
 
bool uic_dotdot_mqtt::parse_topic_group_id (const std::string &&topic, dotdot_group_id_t &group_id)
 Helper function to extract group ID from a topic string. More...
 
sl_status_t uic_dotdot_mqtt::get_topic_last_item (const std::string &topic, std::string &last_item)
 Helper function to extract the last item of an MQTT topic. More...
 
std::map< std::string, bool > uic_dotdot_mqtt::get_bitmap_value_names (uint32_t value, dotdot_bitmap bitmap_handler)
 Finds the list of fields that are set to true/false for a bitmap. More...
 
uint32_t uic_dotdot_mqtt::get_bitmap_decimal_value (std::string key, nlohmann::json &jsn, dotdot_bitmap bitmap_handler)
 Get the bitmap decimal value object. More...
 
uint32_t uic_dotdot_mqtt::get_bitmap_decimal_value_from_array (size_t index, nlohmann::json &jsn, dotdot_bitmap bitmap_handler)
 Get the bitmap decimal value from array object. More...