{"action":"created","issue":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/8490","repository_url":"https://api.github.com/repos/ARMmbed/mbed-os","labels_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/8490/labels{/name}","comments_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/8490/comments","events_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/8490/events","html_url":"https://github.com/ARMmbed/mbed-os/issues/8490","id":372468890,"node_id":"MDU6SXNzdWUzNzI0Njg4OTA=","number":8490,"title":"Ethernet connect fails with LWIP in mbed os","user":{"login":"UsmanKhan0392","id":42835165,"node_id":"MDQ6VXNlcjQyODM1MTY1","avatar_url":"https://avatars2.githubusercontent.com/u/42835165?v=4","gravatar_id":"","url":"https://api.github.com/users/UsmanKhan0392","html_url":"https://github.com/UsmanKhan0392","followers_url":"https://api.github.com/users/UsmanKhan0392/followers","following_url":"https://api.github.com/users/UsmanKhan0392/following{/other_user}","gists_url":"https://api.github.com/users/UsmanKhan0392/gists{/gist_id}","starred_url":"https://api.github.com/users/UsmanKhan0392/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UsmanKhan0392/subscriptions","organizations_url":"https://api.github.com/users/UsmanKhan0392/orgs","repos_url":"https://api.github.com/users/UsmanKhan0392/repos","events_url":"https://api.github.com/users/UsmanKhan0392/events{/privacy}","received_events_url":"https://api.github.com/users/UsmanKhan0392/received_events","type":"User","site_admin":false},"labels":[{"id":515345275,"node_id":"MDU6TGFiZWw1MTUzNDUyNzU=","url":"https://api.github.com/repos/ARMmbed/mbed-os/labels/component:%20networking","name":"component: networking","color":"5319e7","default":false},{"id":531808219,"node_id":"MDU6TGFiZWw1MzE4MDgyMTk=","url":"https://api.github.com/repos/ARMmbed/mbed-os/labels/devices:%20ublox","name":"devices: ublox","color":"0052cc","default":false},{"id":28847983,"node_id":"MDU6TGFiZWwyODg0Nzk4Mw==","url":"https://api.github.com/repos/ARMmbed/mbed-os/labels/type:%20question","name":"type: question","color":"cccccc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-10-22T10:32:53Z","updated_at":"2018-10-24T12:56:58Z","closed_at":null,"author_association":"NONE","body":"### Description\n\n**Ethernet connect fails with LWIP in mbed os**\n\nI'm using an mbed enabled board(ublox_030) for development, i need to run an Ethernet application on it.\n\nI tried to create a connection by using the following code:\n\n```\n`network = new EthernetInterface();\nnetwork->connect();\n// Show the network address\n\n\nconst char *ip = network->get_ip_address();\nprintf(\"IP address is: %s\\n\", ip ? ip : \"No IP\");`\n```\n\nNormally it should work, But it fails in the LWIPInteraface class's bringup API at osSemaphoreAcquire, returning a timeout error.\n\n\n```\nif (!netif_is_link_up(&netif)) {\nif (blocking){\nif (osSemaphoreAcquire(linked, 15000) != osOK){\nif (ppp){\n(void) ppp_lwip_disconnect(hw);\n}\nreturn NSAPI_ERROR_NO_CONNECTION;\n}\n}\n}\n\n```\n### Issue request type\n\n[x] Question \n[ ] Enhancement \n[ ] Bug \n"},"comment":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/comments/432643863","html_url":"https://github.com/ARMmbed/mbed-os/issues/8490#issuecomment-432643863","issue_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/8490","id":432643863,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjY0Mzg2Mw==","user":{"login":"kjbracey-arm","id":11025917,"node_id":"MDQ6VXNlcjExMDI1OTE3","avatar_url":"https://avatars3.githubusercontent.com/u/11025917?v=4","gravatar_id":"","url":"https://api.github.com/users/kjbracey-arm","html_url":"https://github.com/kjbracey-arm","followers_url":"https://api.github.com/users/kjbracey-arm/followers","following_url":"https://api.github.com/users/kjbracey-arm/following{/other_user}","gists_url":"https://api.github.com/users/kjbracey-arm/gists{/gist_id}","starred_url":"https://api.github.com/users/kjbracey-arm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjbracey-arm/subscriptions","organizations_url":"https://api.github.com/users/kjbracey-arm/orgs","repos_url":"https://api.github.com/users/kjbracey-arm/repos","events_url":"https://api.github.com/users/kjbracey-arm/events{/privacy}","received_events_url":"https://api.github.com/users/kjbracey-arm/received_events","type":"User","site_admin":false},"created_at":"2018-10-24T12:56:58Z","updated_at":"2018-10-24T12:56:58Z","author_association":"CONTRIBUTOR","body":"Thanks - and do you have a `mbed_app.json` in the application folder?"}}
{"actor":{"display_login":"kjbracey-arm"}}