src/core/meshcop/meshcop_tlvs.hpp
void SetAdvData(const uint8_t *aAdvData, uint8_t aAdvDataLength)
    {
        OT_ASSERT((aAdvData != nullptr) && (aAdvDataLength > 0) && (aAdvDataLength <= kAdvDataMaxLength));

        SetLength(aAdvDataLength + sizeof(mOui));
        memcpy(mAdvData, aAdvData, aAdvDataLength);
    }
/**
     * This method sets the Adv Data value.
     *
     * @param[in]  aAdvData        A pointer to the AdvData value.
     * @param[in]  aAdvDataLength  The length of AdvData in bytes.
     *
     */
This method sets the Adv Data value.
@param[in]  aAdvData        A pointer to the AdvData value.
@param[in]  aAdvDataLength  The length of AdvData in bytes.
This method sets the Adv Data value . @param [ in ] aAdvData A pointer to the AdvData value . @param [ in ] aAdvDataLength The length of AdvData in bytes .
void SetAdvData(const uint8_t *aAdvData, uint8_t aAdvDataLength)
    {
        OT_ASSERT((aAdvData != nullptr) && (aAdvDataLength > 0) && (aAdvDataLength <= kAdvDataMaxLength));
        SetLength(aAdvDataLength + sizeof(mOui));
        memcpy(mAdvData, aAdvData, aAdvDataLength);
    }
void SetAdvData ( const uint8_t * aAdvData , uint8_t aAdvDataLength ) { OT_ASSERT ( ( aAdvData != nullptr ) && ( aAdvDataLength > 0 ) && ( aAdvDataLength <= kAdvDataMaxLength ) ) ; SetLength ( aAdvDataLength + sizeof ( mOui ) ) ; memcpy ( mAdvData , aAdvData , aAdvDataLength ) ; }
This method sets the Adv Data value.
This method sets the Adv Data value .