Тёмный

Thread network technology - 06 CoAP (practical example) 

WSN & IoT
Подписаться 2,3 тыс.
Просмотров 3,6 тыс.
50% 1

Опубликовано:

 

7 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 8   
@vigneshs6232
@vigneshs6232 2 года назад
Practical example is so much Knowledgeable....Thankyou ....
@thongphan4277
@thongphan4277 2 года назад
You save my life !!!
@maltevo8691
@maltevo8691 2 месяца назад
Thank you for this brilliant example! I know that this is a basic c question but: how do I convert a real int8_t temperatureValue into this JSON?
@wsniot
@wsniot 2 месяца назад
You can use the function sprintf for example to generate a Json-String: static uint8_t buf[20]; static int buf_length; static int counter=0; while (1) { k_msleep(1000); buf_length= sprintf(buf, "{\"Counter: %d ", counter\"}); counter++; }
@Microcontrollerslab
@Microcontrollerslab Год назад
What if the end device is using a different application layers such as MQTT-SN and the border router is using a different application layer such as COAP? will this work? Also what if client uses MQTT-SN and server uses COAP?
@wsniot
@wsniot Год назад
Only same protocols can communicate with each other. The layer doesn't matter. CoAP with CoAP, MQTT with MQTT, TCP with TCP,... If your server doesn't know MQTT, it won't understand the message. However, forwarding to an MQTT server or client is already possible, since IPv6 is used for this. In theory, you can also implement a CoAP server or MQTT server on your BorderRouter. But that has nothing to do with the BorderRouter functionality. BorderRouter only connects the Thread network to another IP network, generally your LAN.
@Microcontrollerslab
@Microcontrollerslab Год назад
​@@wsniot If you have end devices from different vendors using different application layer protocols, it can be a challenge for the border router to understand the messages being sent between these devices. In this scenario, the border router may need to support all protocols used by the end devices in order to effectively communicate with them. This lack of standardization can prevent devices from being able to communicate with each other and can limit interoperability. Isn't it?
@sultanalshehri9401
@sultanalshehri9401 Год назад
Please provide your personal email here for further implementations, thank you
Далее
POLI и Маша - Сигма бой
00:20
Просмотров 481 тыс.
Find The Real MrBeast, Win $10,000
00:37
Просмотров 53 млн
DOTA 2 - ПРОКЛЯТЫЙ АККАУНТ?!
23:03
Просмотров 222 тыс.
23 NEW Midjourney Tips because I like you
23:28
Просмотров 8 тыс.
POLI и Маша - Сигма бой
00:20
Просмотров 481 тыс.