zephyr/subsys/bluetooth
Johan Hedberg df4220b213 Bluetooth: L2CAP: Add support for dynamically allocated PSM values
The Bluetooth core specification splits the valid LE L2CAP PSM range
into two subranges:

 - Standard, SIG-assigned fixed PSM values in the range 0x0001-0x007f
 - Dynamic, allocated at runtime in the range 0x0080-0x00ff

Previously the bt_l2cap_server_register() API was assuming that the
app would always decide the PSM, which effectively made it impossible
to have collision-free dynamic PSMs. This patch extends the
implementation so that if server->psm is 0, then the stack will look
for a free PSM from the dynamic range and take it into use.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2018-05-18 12:39:58 +03:00
..
common Bluetooth: Move HCI command buffer user data into separate array 2018-02-12 09:48:32 +02:00
controller Bluetooth: controller: Use hal/ticker.h to abstract SoC specifics 2018-04-09 10:34:04 +02:00
host Bluetooth: L2CAP: Add support for dynamically allocated PSM values 2018-05-18 12:39:58 +03:00
shell Bluetooth: GATT: Make BT_GATT_CHARACTERISTIC declare its value 2018-05-14 18:51:22 +03:00
CMakeLists.txt Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
Kconfig samples: Bluetooth: add HCI SPI raw handler sample 2017-08-15 22:58:02 +03:00