{"action":"created","issue":{"url":"https://api.github.com/repos/gammu/gammu/issues/136","labels_url":"https://api.github.com/repos/gammu/gammu/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/gammu/gammu/issues/136/comments","events_url":"https://api.github.com/repos/gammu/gammu/issues/136/events","html_url":"https://github.com/gammu/gammu/issues/136","id":106509135,"number":136,"title":"Too slow initialization","user":{"login":"nijel","id":212189,"avatar_url":"https://avatars.githubusercontent.com/u/212189?v=3","gravatar_id":"","url":"https://api.github.com/users/nijel","html_url":"https://github.com/nijel","followers_url":"https://api.github.com/users/nijel/followers","following_url":"https://api.github.com/users/nijel/following{/other_user}","gists_url":"https://api.github.com/users/nijel/gists{/gist_id}","starred_url":"https://api.github.com/users/nijel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nijel/subscriptions","organizations_url":"https://api.github.com/users/nijel/orgs","repos_url":"https://api.github.com/users/nijel/repos","events_url":"https://api.github.com/users/nijel/events{/privacy}","received_events_url":"https://api.github.com/users/nijel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gammu/gammu/labels/bug","name":"bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-15T08:36:45Z","updated_at":"2015-09-15T09:21:44Z","closed_at":null,"body":"When phone sends many unsolicited messages, the initialization takes too long:\r\n\r\n```\r\nTue 2015/09/15 09:56:52: Sending simple AT command to wake up some devices\r\nTue 2015/09/15 09:56:52: SENDING frametype 0x00/length 0x03/3\r\nTue 2015/09/15 09:56:52: 41A|54T|0D                                                      AT.\r\nTue 2015/09/15 09:56:52: 1 \"AT\"\r\nTue 2015/09/15 09:56:52: 2 \"OK\"\r\nTue 2015/09/15 09:56:52: Checking line: OK\r\nTue 2015/09/15 09:56:52: AT reply state: 1\r\nTue 2015/09/15 09:56:52: RECEIVED frametype 0x00/length 0x09/9\r\nTue 2015/09/15 09:56:52: 41A|54T|0D |0D |0A |4FO|4BK|0D |0A                              AT...OK..\r\nTue 2015/09/15 09:56:53: 1 \"^RSSI:23\"\r\nTue 2015/09/15 09:56:53: Checking line: ^RSSI:23\r\nTue 2015/09/15 09:56:53: AT reply state: 4\r\nTue 2015/09/15 09:56:53: RECEIVED frametype 0x00/length 0x0A/10\r\nTue 2015/09/15 09:56:53: 5E^|52R|53S|53S|49I|3A:|322|333|0D |0A                          ^RSSI:23..\r\nTue 2015/09/15 09:56:53: 1 \"^CSNR:-66,-3\"\r\nTue 2015/09/15 09:56:53: Checking line: ^CSNR:-66,-3\r\nTue 2015/09/15 09:56:53: AT reply state: 4\r\nTue 2015/09/15 09:56:53: RECEIVED frametype 0x00/length 0x0E/14\r\nTue 2015/09/15 09:56:53: 5E^|43C|53S|4EN|52R|3A:|2D-|366|366|2C,|2D-|333|0D |0A          ^CSNR:-66,-3..\r\nTue 2015/09/15 09:56:56: 1 \"^RSSI:23\"\r\nTue 2015/09/15 09:56:56: Checking line: ^RSSI:23\r\nTue 2015/09/15 09:56:56: AT reply state: 4\r\n\r\n... Continues for 5 minutes this way (receiving boot, rssi, at ok and boot signal) ...\r\n\r\nTue 2015/09/15 10:01:30: Enabling echo\r\nTue 2015/09/15 10:01:30: SENDING frametype 0x00/length 0x05/5\r\nTue 2015/09/15 10:01:30: 41A|54T|45E|311|0D                                              ATE1.\r\nTue 2015/09/15 10:01:30: 1 \"ATE1\"\r\nTue 2015/09/15 10:01:30: 2 \"OK\"\r\nTue 2015/09/15 10:01:30: Checking line: OK\r\nTue 2015/09/15 10:01:30: AT reply state: 1\r\nTue 2015/09/15 10:01:30: RECEIVED frametype 0x00/length 0x0B/11\r\n```\r\n\r\nThis is spin off from #135 \r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26694774-too-slow-initialization?utm_campaign=plugin&utm_content=tracker%2F253405&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F253405&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/gammu/gammu/issues/comments/140334758","html_url":"https://github.com/gammu/gammu/issues/136#issuecomment-140334758","issue_url":"https://api.github.com/repos/gammu/gammu/issues/136","id":140334758,"user":{"login":"Bowser","id":322039,"avatar_url":"https://avatars.githubusercontent.com/u/322039?v=3","gravatar_id":"","url":"https://api.github.com/users/Bowser","html_url":"https://github.com/Bowser","followers_url":"https://api.github.com/users/Bowser/followers","following_url":"https://api.github.com/users/Bowser/following{/other_user}","gists_url":"https://api.github.com/users/Bowser/gists{/gist_id}","starred_url":"https://api.github.com/users/Bowser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bowser/subscriptions","organizations_url":"https://api.github.com/users/Bowser/orgs","repos_url":"https://api.github.com/users/Bowser/repos","events_url":"https://api.github.com/users/Bowser/events{/privacy}","received_events_url":"https://api.github.com/users/Bowser/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T09:21:44Z","updated_at":"2015-09-15T09:21:44Z","body":"This is the log of a test with the branch version.\r\nWe're not coming out: it took even longer now (7 minutes), but probably it's depends on chance and not on the changes.\r\n\r\nhttp://pastebin.com/fbgF6irW"}}