set FCTN name instead of UACN
This commit is contained in:
parent
82f5a61cb2
commit
96fa743548
|
@ -39,7 +39,7 @@ namespace ACN {
|
|||
Appliance::Appliance(UUID::uuid cid)
|
||||
: Component(cid)
|
||||
{
|
||||
assignUserName("libESTA ACN Appliance");
|
||||
fctn_ = "libESTA ACN Appliance";
|
||||
|
||||
RlpRegisterVectorHandler(SDT::SDT_PROTOCOL_ID,
|
||||
std::bind(&Appliance::SdtReceiver, this,
|
||||
|
|
|
@ -50,26 +50,27 @@ public:
|
|||
|
||||
void assignUserName(const std::string s) { uacn_ = s; }
|
||||
|
||||
protected:
|
||||
// EPI 19: ACN Discovery on IP Networks
|
||||
// 3. Component Name Strings
|
||||
// Each component shall maintain two text identifier strings intended to
|
||||
// indicate the function of the component in human readable terms for browsing
|
||||
// purposes.
|
||||
|
||||
/**
|
||||
* @brief 3.1. Fixed Component Type Name (FCTN)
|
||||
* shall be a UTF-8 string that is assigned during manufacture.
|
||||
*/
|
||||
std::string fctn_;
|
||||
|
||||
/**
|
||||
* @brief 3.2. User Assigned Component Name (UACN)
|
||||
* shall be a UTF-8 string that may be assigned by the user.
|
||||
*/
|
||||
std::string uacn_;
|
||||
|
||||
private:
|
||||
const UUID::uuid cid_;
|
||||
|
||||
// EPI 19: ACN Discovery on IP Networks
|
||||
// 3. Component Name Strings
|
||||
// Each component shall maintain two text identifier strings intended to
|
||||
// indicate the function of the component in human readable terms for browsing
|
||||
// purposes.
|
||||
|
||||
/**
|
||||
* @brief 3.1. Fixed Component Type Name (FCTN)
|
||||
* shall be a UTF-8 string that is assigned during manufacture.
|
||||
*/
|
||||
const std::string fctn_;
|
||||
|
||||
/**
|
||||
* @brief 3.2. User Assigned Component Name (UACN)
|
||||
* shall be a UTF-8 string that may be assigned by the user.
|
||||
*/
|
||||
std::string uacn_;
|
||||
};
|
||||
|
||||
}; // ACN
|
||||
|
|
|
@ -5,7 +5,7 @@ namespace SACN {
|
|||
Node::Node(UUID::uuid cid)
|
||||
: Appliance(cid)
|
||||
{
|
||||
assignUserName("libESTA sACN Node");
|
||||
fctn_ = "libESTA sACN Node";
|
||||
}
|
||||
|
||||
} // SACN
|
||||
|
|
|
@ -35,7 +35,7 @@ namespace SACN {
|
|||
Receiver::Receiver(UUID::uuid cid)
|
||||
: Appliance(cid)
|
||||
{
|
||||
assignUserName("libESTA sACN Receiver");
|
||||
fctn_ = "libESTA sACN Receiver";
|
||||
|
||||
RlpRegisterVectorHandler(VECTOR_ROOT_E131_DATA,
|
||||
std::bind(&Receiver::dataReceiver, this, std::placeholders::_1));
|
||||
|
|
|
@ -32,7 +32,7 @@ namespace SACN {
|
|||
Source::Source(UUID::uuid cid)
|
||||
: Appliance(cid)
|
||||
{
|
||||
assignUserName("libESTA sACN Source");
|
||||
fctn_ = "libESTA sACN Source";
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue