{"action":"opened","issue":{"url":"https://api.github.com/repos/mossmann/hackrf/issues/463","repository_url":"https://api.github.com/repos/mossmann/hackrf","labels_url":"https://api.github.com/repos/mossmann/hackrf/issues/463/labels{/name}","comments_url":"https://api.github.com/repos/mossmann/hackrf/issues/463/comments","events_url":"https://api.github.com/repos/mossmann/hackrf/issues/463/events","html_url":"https://github.com/mossmann/hackrf/issues/463","id":305146556,"number":463,"title":"Incorrect behavior stop_rx() and stop_tx() ","user":{"login":"cotara","id":37362278,"avatar_url":"https://avatars3.githubusercontent.com/u/37362278?v=4","gravatar_id":"","url":"https://api.github.com/users/cotara","html_url":"https://github.com/cotara","followers_url":"https://api.github.com/users/cotara/followers","following_url":"https://api.github.com/users/cotara/following{/other_user}","gists_url":"https://api.github.com/users/cotara/gists{/gist_id}","starred_url":"https://api.github.com/users/cotara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cotara/subscriptions","organizations_url":"https://api.github.com/users/cotara/orgs","repos_url":"https://api.github.com/users/cotara/repos","events_url":"https://api.github.com/users/cotara/events{/privacy}","received_events_url":"https://api.github.com/users/cotara/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-14T12:55:45Z","updated_at":"2018-03-14T12:55:45Z","closed_at":null,"author_association":"NONE","body":"### Steps to reproduce\r\n1. call hackrf_open_by_serial(serial1, devise1);\r\n2.call functions such as hackrf_set_sample_rate(), hackrf_set_freq(), etc...\r\n3. call hackrf_start_rx(device1, rx_callback, NULL); The device1 was successfully started at the reception.Orange LED on the device1 is turnd on\r\n4. Repeat steps 1-3 for device2. The device2 was successfully started at the reception.Orange LED on the device2 is turnd on. Both devices visit to rx_callback(transfer) with different transfer. Everything is work.\r\n5. call stop_rx(device1). Then device1 stop correctly. Orange LED on the device1 is turned off. Orange LED on the device2 is turned on. But both devices now do not attend rx_callback(transfer)!!\r\n\r\n\r\n### Expected behaviour\r\nonly device1 should be stopped!\r\n\r\n### Actual behaviour\r\nboth devices now don`t visit rx_callback(transfer), though orange LED is turned off only in device1.\r\n\r\n### Version information\r\n**Operating system**: Windows10\r\n\r\n**hackrf_info output:**\r\nFound HackRF\r\nIndex: 0\r\nSerial number: 0000000000000000a06063c8224eb75f\r\nBoard ID Number: 2 (HackRF One)\r\nFirmware Version: 2018.01.1 (API:1.02)\r\nPart ID Number: 0xa000cb3c 0x00684764\r\n\r\nFound HackRF\r\nIndex: 1\r\nSerial number: 0000000000000000a06063c8254a615f\r\nBoard ID Number: 2 (HackRF One)\r\nFirmware Version: 2018.01.1 (API:1.02)\r\nPart ID Number: 0xa000cb3c 0x00514367\r\n\r\nIf you are reporting a problem that involves third party software \r\n(GNU Radio, Gqrx, etc), please report the version here.\r\n\r\nWe write our program with transfer.c as an example.\r\nShould we use separate callbacks for each Hack RF? \r\nIt seems to us that the problem is in threads libusb. When we stop one device, the threads of other devices are corrupted.\r\n"}}
{"actor":{"display_login":"cotara"}}