notes for android bluetooth source code

notes for android bluetooth source code

from this one, I use English to write my blog

I've read android source code for half a month, here is some notes and thinking

abbreviations

related to bt profile

first I need to read the fucking bluetooth profiles

abbreviation meaning
HID human interface device
HSP Headset Profile
HFP Hands-Free Profile

A2DPAdvanced Audio Distribution Profile

not related to bt profile

second I need to read the fucking source code directory to overview bluetooth module

abbreviation meaning
co call out
ci call in
if interface
btm bluetooth manager
bta Bluetooth Application
osi Operating System Interface

some thinking

api:api is used by other module
act:receive from other module, usually use call back
jni native:just encapsulation to if

reflection

I've read nfc code for a month but find no vulnerable, the main reason is
that I just read it, but think nothing.
why I cannt think, because too many abbreviation I dont know, I just lost my
self in the codes.
when read a module of android, we must take question to read.

example:

  • how to trigger the vulnerability
  • android how to init nfc/bt stack control block
  • data flow in handset

你可能感兴趣的:(notes for android bluetooth source code)