Question: how can a bluetooth peripheral keep working after switching the adapter(CSR chip) on pc from hid to hci mode ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi developers ,

I have a embeded device (named Device) which is paired with a
peripheral (named Peripheral),
Device is a CSR chip supporting BR/EDR and BLE, working under hid mode,
Peripheral supports  BLE HID

I intend to achive this :
log into to Device like ssh,
then excute hid2hci , so Device goes into hci mode,
how can the Peripheral keep working without end-user's extra actions
like pressing button on Device or Peripheral ?

My thought:
On Device, I can use bccmd to read all ps_keys ,
and from CSR documents, it mentioned ps_keys related to paring,
like EDIV, RAND, LTK .
can I creat files under /var/lib/bluetooth/<Device bdaddr>/<Peripheral bdaddr>/
before excuting hid2hci ?
which files and items in it are mandatory ?

if this way doesn't make sense, do you have some suggestions ?
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux