I am trying to upgrade an existing stack from 1.1 to 1.2 and seems to have a lot of issues with GAP device discovery cancel. I am using the USB dongle, and BTool to scan device, and establish connection.
When a device is found, I tried to cancel the scanning using GAP_DEVICEDiscoveryCancel In 1.1, I received HCI Ext Command Status response (OpCode : 0xFE05 (GAP_DeviceDiscoveryCancel) almost instaneously.
However in 1.2, that could take up a long time, and the BTool eventually time out. Sometimes, it can connect, and I can proceed to establish a connection using Opcode : 0xFE09 (GAP_EstablishLinkRequest. However, there are times where no response (GAP_DeviceDiscoveryCancel, nor GAP_DeviceDiscoveryDone) is received, the USB dongle appears to be locked and I have to remove and reinsert the dongle.
Does anybody encounter something similar?
Thanks for your attention.
Szer Ming