Use HOST_ACK (0x96) instead of CMD_ACK (0xD0) if the scanner replies to the INIT_COMMAND (0x90) with a 0x91 response.
If ignored and CMD_ACK is used, the device would lock itself for a few seconds after each action while awaiting for the HOST_ACK that never comes. This change fixes that problem and the scanner becomes available again immediately after a successful scan.
Also fix the handling of scanner search options handling in ScannerCompatActivity where settings from the intent that started the activity would be overridden by defaults, meaning Bluetooth would always be disabled during the search.
Resolves #110
Use HOST_ACK (0x96) instead of CMD_ACK (0xD0) if the scanner replies to the INIT_COMMAND (0x90) with a 0x91 response.
If ignored and CMD_ACK is used, the device would lock itself for a few seconds after each action while awaiting for the HOST_ACK that never comes. This change fixes that problem and the scanner becomes available again immediately after a successful scan.
Also fix the handling of scanner search options handling in
ScannerCompatActivity
where settings from the intent that started the activity would be overridden by defaults, meaning Bluetooth would always be disabled during the search.