IOT Product(Tread Frezing)

General project discussion / help
Did you make a robotic coffee pot which implements HTCPCP and decafs unauthorized users? Show it off here!

Moderator: phalanx

Post Reply
shahjada.abul
Posts: 1
Joined: Mon Dec 17, 2018 4:26 am

IOT Product(Tread Frezing)

Post by shahjada.abul » Mon Dec 17, 2018 5:18 am

Hello, I am working on IOT product. Over all of this, it collects data from sensor and publish to destination.
Based on our requirement, we have to collect bulk data from sensor and send to it as well. So, I have created 2 thread: 1st for data collection and 2nd for data transmission. It worked fine for few hours. after that, one of the thread got freeze and that freeze thread is not running again until it restart the photon board. While transmitting, I have use Photon MQTT lib. In MQTT lib, i have extend the packer size to 7284 per second minimum.

Post Reply