{"action":"created","issue":{"url":"https://api.github.com/repos/espressif/arduino-esp32/issues/1756","repository_url":"https://api.github.com/repos/espressif/arduino-esp32","labels_url":"https://api.github.com/repos/espressif/arduino-esp32/issues/1756/labels{/name}","comments_url":"https://api.github.com/repos/espressif/arduino-esp32/issues/1756/comments","events_url":"https://api.github.com/repos/espressif/arduino-esp32/issues/1756/events","html_url":"https://github.com/espressif/arduino-esp32/issues/1756","id":350412826,"node_id":"MDU6SXNzdWUzNTA0MTI4MjY=","number":1756,"title":"Ibeacon and wifi in esp32","user":{"login":"hanadjerbi1","id":42064288,"node_id":"MDQ6VXNlcjQyMDY0Mjg4","avatar_url":"https://avatars3.githubusercontent.com/u/42064288?v=4","gravatar_id":"","url":"https://api.github.com/users/hanadjerbi1","html_url":"https://github.com/hanadjerbi1","followers_url":"https://api.github.com/users/hanadjerbi1/followers","following_url":"https://api.github.com/users/hanadjerbi1/following{/other_user}","gists_url":"https://api.github.com/users/hanadjerbi1/gists{/gist_id}","starred_url":"https://api.github.com/users/hanadjerbi1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanadjerbi1/subscriptions","organizations_url":"https://api.github.com/users/hanadjerbi1/orgs","repos_url":"https://api.github.com/users/hanadjerbi1/repos","events_url":"https://api.github.com/users/hanadjerbi1/events{/privacy}","received_events_url":"https://api.github.com/users/hanadjerbi1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":24,"created_at":"2018-08-14T12:47:20Z","updated_at":"2018-08-15T10:16:25Z","closed_at":null,"author_association":"NONE","body":"I'm working with esp32 as ibeacon generator to be detected on other devices and with wifi to send data via mqtt to google cloud..but I have not found a way to make them work together ... suggestions?"},"comment":{"url":"https://api.github.com/repos/espressif/arduino-esp32/issues/comments/413154569","html_url":"https://github.com/espressif/arduino-esp32/issues/1756#issuecomment-413154569","issue_url":"https://api.github.com/repos/espressif/arduino-esp32/issues/1756","id":413154569,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzE1NDU2OQ==","user":{"login":"Sauro98","id":18312080,"node_id":"MDQ6VXNlcjE4MzEyMDgw","avatar_url":"https://avatars2.githubusercontent.com/u/18312080?v=4","gravatar_id":"","url":"https://api.github.com/users/Sauro98","html_url":"https://github.com/Sauro98","followers_url":"https://api.github.com/users/Sauro98/followers","following_url":"https://api.github.com/users/Sauro98/following{/other_user}","gists_url":"https://api.github.com/users/Sauro98/gists{/gist_id}","starred_url":"https://api.github.com/users/Sauro98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sauro98/subscriptions","organizations_url":"https://api.github.com/users/Sauro98/orgs","repos_url":"https://api.github.com/users/Sauro98/repos","events_url":"https://api.github.com/users/Sauro98/events{/privacy}","received_events_url":"https://api.github.com/users/Sauro98/received_events","type":"User","site_admin":false},"created_at":"2018-08-15T10:16:25Z","updated_at":"2018-08-15T10:16:25Z","author_association":"NONE","body":"Are you calling it from `setup()` or from `loop()`? I am not using nkolban's library for BLE but my setup looks like this:\r\n```c++\r\n    nvs_flash_init();\r\n    ESP_ERROR_CHECK(esp_bt_controller_mem_release(ESP_BT_MODE_CLASSIC_BT));\r\n    esp_bt_controller_config_t bt_cfg = BT_CONTROLLER_INIT_CONFIG_DEFAULT();\r\n    ESP_ERROR_CHECK(esp_bt_controller_init(&bt_cfg));\r\n    ESP_ERROR_CHECK(esp_bt_controller_enable(ESP_BT_MODE_BLE));\r\n```\r\nWhich is basically what you do when you call `BLEDevice::init`, which you could call just at the beginning of the program instead than at every loop"}}
{"actor":{"display_login":"Sauro98"}}