{"action":"created","issue":{"url":"https://api.github.com/repos/ARDroneSDK3/ARSDKBuildUtils/issues/5","labels_url":"https://api.github.com/repos/ARDroneSDK3/ARSDKBuildUtils/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/ARDroneSDK3/ARSDKBuildUtils/issues/5/comments","events_url":"https://api.github.com/repos/ARDroneSDK3/ARSDKBuildUtils/issues/5/events","html_url":"https://github.com/ARDroneSDK3/ARSDKBuildUtils/issues/5","id":53332345,"number":5,"title":"Trouble connecting to Bebop on OS X","user":{"login":"simon-o-matic","id":459120,"avatar_url":"https://avatars.githubusercontent.com/u/459120?v=3","gravatar_id":"","url":"https://api.github.com/users/simon-o-matic","html_url":"https://github.com/simon-o-matic","followers_url":"https://api.github.com/users/simon-o-matic/followers","following_url":"https://api.github.com/users/simon-o-matic/following{/other_user}","gists_url":"https://api.github.com/users/simon-o-matic/gists{/gist_id}","starred_url":"https://api.github.com/users/simon-o-matic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simon-o-matic/subscriptions","organizations_url":"https://api.github.com/users/simon-o-matic/orgs","repos_url":"https://api.github.com/users/simon-o-matic/repos","events_url":"https://api.github.com/users/simon-o-matic/events{/privacy}","received_events_url":"https://api.github.com/users/simon-o-matic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-04T10:30:23Z","updated_at":"2015-01-06T20:30:49Z","closed_at":null,"body":"Hi Bebob SDK Team,\r\n\r\nI'm trying to build a pure OS X client (no iOS, no Android libraries). I've made a minimal program at this point that just starts up the listener threads. I've connected my mac book to the bebop wireless network (and can telnet so I know its running) but my program responds with: \r\n\r\n    ARNETWORKAL_WifiNetwork_Receive:825 - connection lost (too long time without reception)\r\n\r\nThe basic flow of my code of the sdk calls is:\r\n\r\n    ARNETWORKAL_Manager_t* alManager = ARNETWORKAL_Manager_New(&networkAlError);\r\n    ARNETWORKAL_Manager_InitWifiNetwork(alManager, IP_ADDRESS, SENDING_PORT, READING_PORT, NETWORK_RESPONSE_TIMEOUT_SEC); // timeout = 10 seconds\r\n    ARNETWORK_Manager_New(alManager, num_c2d_params, c2d_params, num_d2c_params, d2c_params, PING_DELAY, managerDisconnect, NULL, &networkError);\r\n    ARSAL_Thread_Create(&rxThread, ARNETWORK_Manager_ReceivingThreadRun, netManager);\r\n    ARSAL_Thread_Create(&txThread, ARNETWORK_Manager_SendingThreadRun, netManager);\r\n\r\nI sleep for a while and then after 10 seconds I get that error. What am I missing? \r\n\r\nHere is some other info:\r\n\r\n    #define SENDING_PORT \t54321\r\n    #define READING_PORT \t43210\r\n    #define IP_ADDRESS \t\t\"192.168.42.1\"\r\n\r\nWireshark says the incoming client to drone UDP is ok, but ICMP d2c is not getting through:\r\n\r\n    1335\t2781.930156000\t192.168.42.2\t192.168.42.1\tUDP\t46\tSource port: 55670  Destination port: 192\r\n    1333\t2781.416428000\t192.168.42.1\t192.168.42.2\tICMP\t93\tDestination unreachable (Port unreachable)\r\n\r\nIO Buffers are as follows:\r\n\r\n    {\r\n        .ID = iobuffer_c2d_nack,\r\n        .dataType = ARNETWORKAL_FRAME_TYPE_DATA,\r\n        .sendingWaitTimeMs = 20, // 1\r\n        .ackTimeoutMs = -1,\r\n        .numberOfRetry = -1,\r\n        .numberOfCell = 2,\r\n        .dataCopyMaxSize = 128,\r\n        .isOverwriting = 1,\r\n    },\r\n    {\r\n        .ID = iobuffer_c2d_ack,\r\n        .dataType = ARNETWORKAL_FRAME_TYPE_DATA_WITH_ACK,\r\n        .sendingWaitTimeMs = 20,\r\n        .ackTimeoutMs = 500,\r\n        .numberOfRetry = 3,\r\n        .numberOfCell = 20,\r\n        .dataCopyMaxSize = 128,\r\n        .isOverwriting = 0,\r\n    },\r\n    {\r\n        .ID = iobuffer_c2d_emergency,\r\n        .dataType = ARNETWORKAL_FRAME_TYPE_DATA_WITH_ACK,\r\n        .sendingWaitTimeMs = 20, // 1\r\n        .ackTimeoutMs = 100,\r\n        .numberOfRetry = ARNETWORK_IOBUFFERPARAM_INFINITE_NUMBER,\r\n        .numberOfCell = 1,\r\n        .dataCopyMaxSize = 128,\r\n        .isOverwriting = 0,\r\n    }\r\n\r\nAnd,\r\n\r\n    {\r\n        .ID = iobuffer_d2c_navdata,\r\n        .dataType = ARNETWORKAL_FRAME_TYPE_DATA,\r\n        .sendingWaitTimeMs = 20,\r\n        .ackTimeoutMs = -1,\r\n        .numberOfRetry = -1,\r\n        .numberOfCell = 20,\r\n        .dataCopyMaxSize = 128,\r\n        .isOverwriting = 0,\r\n    },\r\n    {\r\n        .ID = iobuffer_d2c_events,\r\n        .dataType = ARNETWORKAL_FRAME_TYPE_DATA_WITH_ACK,\r\n        .sendingWaitTimeMs = 20,\r\n        .ackTimeoutMs = 500,\r\n        .numberOfRetry = 3,\r\n        .numberOfCell = 20,\r\n        .dataCopyMaxSize = 128,\r\n        .isOverwriting = 0,\r\n    }\r\n\r\nThanks for any help.\r\n"},"comment":{"url":"https://api.github.com/repos/ARDroneSDK3/ARSDKBuildUtils/issues/comments/68928470","html_url":"https://github.com/ARDroneSDK3/ARSDKBuildUtils/issues/5#issuecomment-68928470","issue_url":"https://api.github.com/repos/ARDroneSDK3/ARSDKBuildUtils/issues/5","id":68928470,"user":{"login":"simon-o-matic","id":459120,"avatar_url":"https://avatars.githubusercontent.com/u/459120?v=3","gravatar_id":"","url":"https://api.github.com/users/simon-o-matic","html_url":"https://github.com/simon-o-matic","followers_url":"https://api.github.com/users/simon-o-matic/followers","following_url":"https://api.github.com/users/simon-o-matic/following{/other_user}","gists_url":"https://api.github.com/users/simon-o-matic/gists{/gist_id}","starred_url":"https://api.github.com/users/simon-o-matic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simon-o-matic/subscriptions","organizations_url":"https://api.github.com/users/simon-o-matic/orgs","repos_url":"https://api.github.com/users/simon-o-matic/repos","events_url":"https://api.github.com/users/simon-o-matic/events{/privacy}","received_events_url":"https://api.github.com/users/simon-o-matic/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T20:30:49Z","updated_at":"2015-01-06T20:30:49Z","body":"Thanks very much for that. I will add that and give it a try. Thought I didn't need that bit because I already knew the IP. "}}