SEGGER - Jannik Urban SuperModerator
- Member since May 7th 2024
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
SEGGER - Jannik Urban -
Replied to the thread What is the best way of checking if the network is exist?.
PostHi Sener, I would assume that you do not use pfRecvMessageEx (have it as NULL in your IP_MQTT_CLIENT_APP_API that is a parameter of IP_MQTT_CLIENT_Init()). Thus, the IP_MQTT_CLIENT_Publish() would wait for the PUBACK immediately (_ReceiveAck()) and then… -
SEGGER - Jannik Urban -
Replied to the thread What is the best way of checking if the network is exist?.
PostHi Sener, As I'm not sure how your implementation looks like, I will instead refer to the IP_MQTT_CLIENT_PublisherSubscriber_2Tasks.c Sample that is part of the emNet shipment. Ideally your application follows the implementation from that sample. If… -
SEGGER - Jannik Urban -
Replied to the thread What is the best way of checking if the network is exist?.
PostHello Sener, This really depends on what exactly you're doing, ie if the devices are actively and regularly sending and receiving packets to each other, or if it is more like a webserver where you only see if the server disconnected when trying to…