{"action":"closed","issue":{"url":"https://api.github.com/repos/platformio/platform-espressif8266/issues/32","repository_url":"https://api.github.com/repos/platformio/platform-espressif8266","labels_url":"https://api.github.com/repos/platformio/platform-espressif8266/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/platformio/platform-espressif8266/issues/32/comments","events_url":"https://api.github.com/repos/platformio/platform-espressif8266/issues/32/events","html_url":"https://github.com/platformio/platform-espressif8266/issues/32","id":228110872,"number":32,"title":"Problem with compiled code","user":{"login":"struthio","id":4520780,"avatar_url":"https://avatars3.githubusercontent.com/u/4520780?v=3","gravatar_id":"","url":"https://api.github.com/users/struthio","html_url":"https://github.com/struthio","followers_url":"https://api.github.com/users/struthio/followers","following_url":"https://api.github.com/users/struthio/following{/other_user}","gists_url":"https://api.github.com/users/struthio/gists{/gist_id}","starred_url":"https://api.github.com/users/struthio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/struthio/subscriptions","organizations_url":"https://api.github.com/users/struthio/orgs","repos_url":"https://api.github.com/users/struthio/repos","events_url":"https://api.github.com/users/struthio/events{/privacy}","received_events_url":"https://api.github.com/users/struthio/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-11T20:26:31Z","updated_at":"2017-05-13T13:47:12Z","closed_at":"2017-05-13T13:47:12Z","body":"Hi,\r\n\r\nI'm trying to compile simple code using WiFiManager.\r\nUnfortunatelly output on terminal seems corrupted, displaying 'Serial.println' which shouldn't be displayed.\r\n\r\n**platform.ini**\r\n`[env:esp12e]\r\nplatform = espressif8266\r\nboard = esp12e\r\nframework = arduino\r\nlib_deps = 567@0.12\r\n`\r\n\r\n\r\n**EntryPoint.cpp**\r\n`\r\n#define PROGRAM_NAME \"cESPDummy\"\r\n\r\n#include <ESP8266WiFi.h>\r\n#include <WiFiUdp.h>\r\n#include <ESP8266mDNS.h>\r\n\r\n#include \"WiFiManager.h\"\r\n\r\nvoid configModeCallback (WiFiManager *myWiFiManager) {\r\n  Serial.println(\"Entered config mode\");\r\n  Serial.println(WiFi.softAPIP());\r\n\r\n  Serial.println(myWiFiManager->getConfigPortalSSID());\r\n}\r\n\r\nvoid setup()\r\n{\r\n\tSerial.begin(115200);\r\n\tSerial.println();\r\n\r\n\tSerial.println(\"Connecting WiFi...\");\r\n\tWiFiManager wifiManager;\r\n\tif (!wifiManager.autoConnect(PROGRAM_NAME))//, \"AP-PASSWORD\"))\r\n\t{\r\n    Serial.println(\"ERROR: Connection failed! Restarting to repeat attempt.\");\r\n    delay(3000);\r\n    ESP.reset();\r\n    delay(5000);\r\n\t}\r\n\r\n\t//led_fill(0, 0, bStartBrightness);\r\n\tSerial.println();\r\n\r\n\tSerial.println(\"IP      : \" + WiFi.localIP());\r\n\tSerial.println(\"NetMask : \" + WiFi.subnetMask());\r\n\tSerial.println(\"RSSI    : \" + WiFi.RSSI());\r\n}\r\n\r\nvoid loop()\r\n{\r\n  Serial.print(\".\");\r\n  delay(1000);\r\n}\r\n`\r\n\r\n**Terminal Output**\r\n`\r\nConnecting WiFi...\r\n*WM:\r\n*WM: AutoConnect\r\n*WM: Connecting as wifi client...\r\n*WM: Using last saved values, should be faster\r\n*WM: Connection result:\r\n*WM: 3\r\n*WM: IP Address:\r\n*WM: 192.168.1.177\r\n\r\nF\r\n\r\nR: Connection failed! Restarting to repeat attempt.\r\nSetup Done!\r\nLoop!\r\nLoop!\r\nLoop!\r\nLoop!\r\nLoop!\r\nLoop!\r\nLoop!\r\nLoop!\r\n`\r\n\r\n<bountysource-plugin>\r\n\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/45100288-problem-with-compiled-code?utm_campaign=plugin&utm_content=tracker%2F38211776&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F38211776&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"}}
{"actor":{"display_login":"struthio"}}