{"action":"created","issue":{"url":"https://api.github.com/repos/knolleary/pubsubclient/issues/98","labels_url":"https://api.github.com/repos/knolleary/pubsubclient/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/knolleary/pubsubclient/issues/98/comments","events_url":"https://api.github.com/repos/knolleary/pubsubclient/issues/98/events","html_url":"https://github.com/knolleary/pubsubclient/issues/98","id":122330806,"number":98,"title":"subscribe more than 5 topics in sequence","user":{"login":"Pfannex","id":7262813,"avatar_url":"https://avatars.githubusercontent.com/u/7262813?v=3","gravatar_id":"","url":"https://api.github.com/users/Pfannex","html_url":"https://github.com/Pfannex","followers_url":"https://api.github.com/users/Pfannex/followers","following_url":"https://api.github.com/users/Pfannex/following{/other_user}","gists_url":"https://api.github.com/users/Pfannex/gists{/gist_id}","starred_url":"https://api.github.com/users/Pfannex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pfannex/subscriptions","organizations_url":"https://api.github.com/users/Pfannex/orgs","repos_url":"https://api.github.com/users/Pfannex/repos","events_url":"https://api.github.com/users/Pfannex/events{/privacy}","received_events_url":"https://api.github.com/users/Pfannex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-12-15T18:05:00Z","updated_at":"2015-12-19T13:39:17Z","closed_at":null,"body":"Hi,\r\n\r\nat first I like to say thanks for your great work!\r\n\r\nRight now I try to subscribe more than 5 topics in sequence.\r\n\r\n```\r\n//Loop until we're reconnected\r\n  while (!mqtt_client.connected() && WiFi.status() == WL_CONNECTED) {\r\n       Serial.print(\"WIFI-Status: \");\r\n       //Serial.println(WiFi.status());\r\n    Serial.print(\"Attempting MQTT connection...\");\r\n    // Attempt to connect\r\n    if (mqtt_client.connect(char_MQTT_DeviceName)) {\r\n      Serial.println(\"connected\");\r\n      //broker_subcribe();\r\n\r\n  mqtt_client.subscribe(\"36/Output/01\");\r\n  mqtt_client.subscribe(\"36/Output/02\");\r\n  mqtt_client.subscribe(\"36/Output/03\");\r\n  mqtt_client.subscribe(\"36/Output/04\");\r\n  mqtt_client.subscribe(\"36/Output/05\");\r\n  //mqtt_client.subscribe(\"36/Output/06\");\r\n  //mqtt_client.subscribe(\"36/Output/07\");\r\n  //mqtt_client.subscribe(\"36/Output/08\");\r\n \r\n``` \r\nSubscribing 5 topics work fine......\r\nSubscribing more then 5 topics in sequence will force a disconnect from the broker.\r\n\r\nI´m not shure where to search the fault:\r\n\r\n   - Is thies a PubSubClient problem\r\n   - or a Mosquitto MQTT problem \r\n   - or, how so often, my problem...... :-)\r\n\r\nCan anybody check this out...\r\nThanks for your Help\r\nPf@nne\r\n\r\nRight now I work around with the wildcard option.\r\n\r\n```\r\n  mqtt_client.subscribe(\"36/Output/+\");\r\n\r\n```\r\n\r\nBut should the other method not also work?"},"comment":{"url":"https://api.github.com/repos/knolleary/pubsubclient/issues/comments/165984878","html_url":"https://github.com/knolleary/pubsubclient/issues/98#issuecomment-165984878","issue_url":"https://api.github.com/repos/knolleary/pubsubclient/issues/98","id":165984878,"user":{"login":"Pfannex","id":7262813,"avatar_url":"https://avatars.githubusercontent.com/u/7262813?v=3","gravatar_id":"","url":"https://api.github.com/users/Pfannex","html_url":"https://github.com/Pfannex","followers_url":"https://api.github.com/users/Pfannex/followers","following_url":"https://api.github.com/users/Pfannex/following{/other_user}","gists_url":"https://api.github.com/users/Pfannex/gists{/gist_id}","starred_url":"https://api.github.com/users/Pfannex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pfannex/subscriptions","organizations_url":"https://api.github.com/users/Pfannex/orgs","repos_url":"https://api.github.com/users/Pfannex/repos","events_url":"https://api.github.com/users/Pfannex/events{/privacy}","received_events_url":"https://api.github.com/users/Pfannex/received_events","type":"User","site_admin":false},"created_at":"2015-12-19T13:39:16Z","updated_at":"2015-12-19T13:39:16Z","body":"Right now I receive commands from highest institution.\r\nAfter that I will have a look on the communication with Wireshark.\r\n\r\nBtw. does anyone uses MQTT with the ESP8266 WIFI-Module?\r\nI also got problems by sending a publish within a interrupt.\r\n\r\n@chaeplin \r\nThanks for this hint!\r\nI guessed that \"call\" means a Ping-procedure."}}