On Page 273 of the Core Specification, do not make the same mistake as other L2CAP implementations that the value of PSM is always 2bytes. It is defined as being a minimum of 2bytes, this makes a definition of MAX_PSM meaningless as that value is not defined.
From: David LIBAULT [mailto:firstname.lastname@example.org]
Sent: 02 August 2000 13:27
Subject: [bluetooth-dev] L2CAP ping implementation + PSM 0x1231
After some time I found out that
- The echo request is already implemented in the stack.
- PSM 0x1231 is already taken into account in L2CAP when UNPLUG_TEST
is defined and the test layer is registered with PSM = MAX_PSM-1.
I would have appreciated a short email from someone at Axis telling me
It would have saved me some time.