Hi everyone,
I am using nRF52 which has 52832 on it. Currently, I am working on 2 nRFs and one RPi with MQTT on the softdevice 132. One nRF is the publisher, another one is a sub and RPi is a router. Publisher senses the temperature and publish this data to subscriber. Router is recording data to Sql database. What I want to do is to make subscribed my publisher nRF to the topic that is managed by broker/router. For example, when the sensed data is recorded to database it is first checked that temperature does not exceed the critical value. If exceeds broker sends turn on the led on the publisher nRF. I can do these actions seperately, however, when try to integrate both of them into one application, the first happening operation works but second does not. At the same time, I am using ADC in publisher. Actually, I have searched related questions and found the below but I could not get any result. Additionally, I changed the max number of clients setting from 1 to 2 in sdk_config but I do not think it is the point. What should be done to integrate my scenario? Thank you in advance.