commit | 5b6e6b2a5a983fd524b29cbfe12f94f16b5abe4a | [log] [tgz] |
---|---|---|
author | Patrick Rohr <prohr@google.com> | Wed Jan 08 12:24:17 2025 -0800 |
committer | Patrick Rohr <prohr@google.com> | Wed Jan 08 15:48:16 2025 -0800 |
tree | 21c95fe4648c02159eef1307c73815e99c6b94b8 | |
parent | d10fa68a5c781592a3185ff973bb1b911ba96b20 [diff] |
Use IntRange for setPsm Configures an IntRange [0, 255] for the L2CAP BLE PSM. Note that L2CAP over Bluetooth Classic uses PSM values that exceed this range though is explicitly not supported. This CL also changes the value for PSM_ANY from -1 to 0 to make the IntRange continuous as 0 is not a valid PSM (in both BLE and Classic). Bug: 388438641 Test: TH Change-Id: I15a69cfb80545c4f3723d089afd3cf026eec0696