the code
“
”
I add the api otThreadSetJoinerAdvertisement in the joiner. and How do I parse out "const uint8_t adv_data[] = {0x7E,0x01,0x02,0x03};" in commissioner?
the code
“
”
I add the api otThreadSetJoinerAdvertisement in the joiner. and How do I parse out "const uint8_t adv_data[] = {0x7E,0x01,0x02,0x03};" in commissioner?
Hi liisa,
I tried to look into the OpenThread Commissioner API but can't find anything regarding extracting this advertisement yet.
Meanwhile, could you please clarify what kind of commissioner device you are talking about here?
Hieu
the commissioner device is FTD device,it create the thread network and become leader. I also can't find the api of commissioner to parsing the "otThreadSetJoinerAdvertisement ",How do I report joiner's device information and which coap services are supported to my commissioner?
I have tried to ask internally, but I haven't received an answer so far.
Could you please also ask in openthread GitHub discussion?
Hi liisa,
My apology for the late reply. I have been out of office.
Our team also confirmed that there isn't any built-in API to get the advertiser data out. It seems to be a feature that was not completed.
If you want to use it, you will need to extend the handling of MLE Discovery Request messages at the MLE layer, not at the commissioner.
As it is, I think the maintainers in the OpenThread GitHub repository would have some insight to share on whether this feature should be used.
May I ask what your use case for this feature is?
Hi liisa,
My apology for the late reply. I have been out of office.
Our team also confirmed that there isn't any built-in API to get the advertiser data out. It seems to be a feature that was not completed.
If you want to use it, you will need to extend the handling of MLE Discovery Request messages at the MLE layer, not at the commissioner.
As it is, I think the maintainers in the OpenThread GitHub repository would have some insight to share on whether this feature should be used.
May I ask what your use case for this feature is?