{"action":"created","issue":{"url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/2425","repository_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware","labels_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/2425/labels{/name}","comments_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/2425/comments","events_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/2425/events","html_url":"https://github.com/nodemcu/nodemcu-firmware/issues/2425","id":340051347,"node_id":"MDU6SXNzdWUzNDAwNTEzNDc=","number":2425,"title":"Apple devices macOS and iOS unable to connect to softAP","user":{"login":"tnavda","id":28634090,"node_id":"MDQ6VXNlcjI4NjM0MDkw","avatar_url":"https://avatars2.githubusercontent.com/u/28634090?v=4","gravatar_id":"","url":"https://api.github.com/users/tnavda","html_url":"https://github.com/tnavda","followers_url":"https://api.github.com/users/tnavda/followers","following_url":"https://api.github.com/users/tnavda/following{/other_user}","gists_url":"https://api.github.com/users/tnavda/gists{/gist_id}","starred_url":"https://api.github.com/users/tnavda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tnavda/subscriptions","organizations_url":"https://api.github.com/users/tnavda/orgs","repos_url":"https://api.github.com/users/tnavda/repos","events_url":"https://api.github.com/users/tnavda/events{/privacy}","received_events_url":"https://api.github.com/users/tnavda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-07-11T00:30:00Z","updated_at":"2018-07-11T19:04:33Z","closed_at":null,"author_association":"NONE","body":"8<------------------------ BUG REPORT -----------------------------------------\r\n### Expected behavior\r\nThe devices should be able to join the AP, open, wpa auth, or wpa2 auth\r\n### Actual behavior\r\nI am unable to join softAP with an iPhone or MBA with latest versions on both devices.  I saw the same issue with Aurdino-esp8266 core as well.  I've tried building a basic firmware with esp8266 2.2.0 and 2.2.1 sdk and have the same issue.  The only AP I have been able to join is the default AP created by esp8266 when it boots up with a sample from SDK.\r\n\r\n\r\n### Test code\r\n\r\n```Lua\r\nprint(\"Ready to start soft ap\")\r\n  \r\nlocal str=wifi.ap.getmac();\r\nlocal ssidTemp=string.format(\"%s%s%s\",string.sub(str,10,11),string.sub(str,13,14),string.sub(str,16,17));\r\n\r\ncfg={}\r\ncfg.ssid=\"ESP8266_\"..ssidTemp;\r\ncfg.pwd=\"12345678\"\r\ncfg.auth=wifi.WPA_PSK\r\nwifi.ap.config(cfg)\r\n\r\ncfg={}\r\ncfg.ip=\"192.168.1.1\";\r\ncfg.netmask=\"255.255.255.0\";\r\ncfg.gateway=\"192.168.1.1\";\r\nwifi.ap.setip(cfg);\r\nwifi.setmode(wifi.SOFTAP)\r\n\r\nstr=nil;\r\nssidTemp=nil;\r\ncollectgarbage();\r\n\r\nprint(\"Soft AP started\")\r\nprint(\"Heep:(bytes)\"..node.heap());\r\nprint(\"MAC:\"..wifi.ap.getmac()..\"\\r\\nIP:\"..wifi.ap.getip());\r\n```\r\n### NodeMCU version\r\n\r\nNodeMCU custom build by frightanic.com\r\n.branch: master\r\n.commit: 8181c3be7aed9f0a0ceb73ac8137c1a519e8a8e9\r\n.SSL: true\r\n.modules: bit,crypto,file,gpio,http,mdns,net,node,pwm,spi,sqlite3,tmr,uart,wifi,wifi_monitor,wps,tls\r\n build created on 2018-07-06 13:48\r\n powered by Lua 5.1.4 on SDK 2.2.1(cfd48f3)\r\n### Hardware\r\nThis is a nodemcu v1.0 device (40mhz crystal)\r\n\r\n8<------------------------ END BUG REPORT -------------------------------------\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/comments/404277323","html_url":"https://github.com/nodemcu/nodemcu-firmware/issues/2425#issuecomment-404277323","issue_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/2425","id":404277323,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDI3NzMyMw==","user":{"login":"FrankX0","id":7318792,"node_id":"MDQ6VXNlcjczMTg3OTI=","avatar_url":"https://avatars3.githubusercontent.com/u/7318792?v=4","gravatar_id":"","url":"https://api.github.com/users/FrankX0","html_url":"https://github.com/FrankX0","followers_url":"https://api.github.com/users/FrankX0/followers","following_url":"https://api.github.com/users/FrankX0/following{/other_user}","gists_url":"https://api.github.com/users/FrankX0/gists{/gist_id}","starred_url":"https://api.github.com/users/FrankX0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrankX0/subscriptions","organizations_url":"https://api.github.com/users/FrankX0/orgs","repos_url":"https://api.github.com/users/FrankX0/repos","events_url":"https://api.github.com/users/FrankX0/events{/privacy}","received_events_url":"https://api.github.com/users/FrankX0/received_events","type":"User","site_admin":false},"created_at":"2018-07-11T19:04:33Z","updated_at":"2018-07-11T19:04:33Z","author_association":"CONTRIBUTOR","body":"I can connect to both iPhone (iOS 11.4.1) and iPad (9.3.5) with a similar build and your code:\r\n```\r\nNodeMCU custom build by frightanic.com\r\n\tbranch: dev\r\n\tcommit: 5d1dae7f1e0a52557858e457f53afbe32b63f2fa\r\n\tSSL: false\r\n\tmodules: enduser_setup,file,gpio,net,node,tmr,uart,wifi,wifi_monitor,wps\r\n build created on 2018-07-04 17:48\r\n powered by Lua 5.1.4 on SDK 2.2.1(cfd48f3)\r\n```"}}
{"actor":{"display_login":"FrankX0"}}