Allow LLCP socket creation before link establishment.

This enables to register a server socket prior to LLCP link
establishement and avoid any race condition between the local
server and the remote client.

The modification implies a LLCP socket API change (added the
device handle parameter  in all LLCP API that can lead to
active data exchange). The LLCP socket internal structures are
now initialized during LLCP link parameter configuration step
instead of LLCP compliancy check to save socket state
independently from peer detection.

Also removed unused socket states and added some traces.

Change-Id: I961c48af4ca9ace68d41b9569dc1038bb2bbdc71
4 files changed
tree: 3365a0c4f24e4d413d40a5382a5931e6403b66f3
  1. inc/
  2. Linux_x86/
  3. src/
  4. Android.mk