1technophile / OpenMQTTGateway

MQTT gateway for ESP8266 or ESP32 with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility & LoRa.
https://docs.openmqttgateway.com
GNU General Public License v3.0
3.54k stars 782 forks source link

i take aircon IR raw bigger data when use dump raw data mode,the function has error #343

Closed isharrrry closed 5 years ago

isharrrry commented 5 years ago

Describe the bug i take aircon IR raw bigger data when use dump raw data mode,the function has error

To Reproduce my raw data 3060,3042,3010,4466,526,1692,582,502,524,1690,582,504,522,584,582,1612,524,1668,524,582,582,526,582,1610,584,1610,524,1690,584,1608,586,524,558,1632,560,526,524,1690,556,1636,584,1610,554,550,586,524,552,532,580,526,554,530,552,552,586,524,556,530,580,526,582,528,554,532,582,524,554,532,582,1632,554,1638,584,524,554,532,580,526,584,524,552,530,584,524,554,530,580,526,584,1612,580,526,582,526,552,534,580,526,552,534,580,526,584,524,548,536,582,526,584,524,548,536,580,526,548,538,580,1634,546,540,580,526,584,524,522,562,580,528,582,502,578,528,582,526,524,560,578,528,580,528,500,584,580,526,580,504,578,528,582,526,524,562,580,526,582,526,504,580,582,526,582,502,580,526,582,526,500,584,580,526,584,504,544,562,580,526,558,526,580,528,556,530,546,558,578,530,556,574,478,584,578,528,554,530,578,554,554,550,476,584,580,528,556,528,522,584,580,528,556,528,578,530,554,578,474,1720,530,1636,580,528,556,530,522,584,578,532,498,610,546

Expected behavior the raw data at “trc”,but mqtt nothing

Screenshots qq 20190109141755 qq 20190109141824

Environment (please complete the following information):

isharrrry commented 5 years ago

if raw data need more json buffer, how can use GC format Pub. json

1technophile commented 5 years ago

Before increasing jsonbuffer I would try to increase MQTT_MAX_PACKET_SIZE in pubsublicent.h

1technophile commented 5 years ago

Could you give some feedback on this issue or close it if it is working now