Linux, BlueZ, Initiating an hid BlueTooth Connection -


use-case

  • ubuntu machine simulating keyboard
  • ubuntu machine ( virtual keyboard ) imitates connection remote device controlled

question

in normal scenario, hid desc reported through sdp, , thus, when device connects keyboard knows hid desc used, in use-case, virtual keyboard ( ubuntu machine ) initiate connection, , thus, it's not triggered using sdp, having said, how should send device hidreport descriptor used? possible, at-all, connect keyboard device in manner? can push hid report desc device ( controlled ) ?

implementation

  1. pair device ubuntu machine ( done manually )
  2. initiate l2cap connection on psms 0x11 & 0x13
  3. handshake

all working far, point when expect report hid descriptor device, how should done ?

as far understand it, hid host reads service descriptor once. afterwards, can initiate connection must conform have told host via sdp.

i have not come across way push information hid host later.

if need change something, must clear host's memory of device ("uninstall device" in windows, example) , reconnect (host initiating connection), reading new information updated sdp records.

if don't need change hid descriptors, believe don't need have sdpd running after initial connection. ever.


Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -