• Marcel Holtmann's avatar
    Bluetooth: bpa10x: Read revision information in setup stage · ddd68ec8
    Marcel Holtmann authored
    For debugging pruposes, read the revision string of the BPA-10x devices
    and print it. For example one of the latest devices respond with the
    string SNIF_102,BB930,02/01/18,10:37:56.
    
      < HCI Command: Vendor (0x3f|0x000e) plen 1
              07                                               .
      > HCI Event: Command Complete (0x0e) plen 49
            Vendor (0x3f|0x000e) ncmd 1
              Status: Success (0x00)
              53 4e 49 46 5f 31 30 32 2c 42 42 39 33 30 2c 30  SNIF_102,BB930,0
              32 2f 30 31 2f 31 38 2c 31 30 3a 33 37 3a 35 36  2/01/18,10:37:56
              00 00 00 00 00 00 00 00 00 00 00 00 00           .............
    Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
    Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
    ddd68ec8
bpa10x.c 10.5 KB