values can be combined, for example read & notify
result in 12.
<par2>=characteristic UUID(MANDATORY).
For Example:
AT#Battrib="char","prop=1A","uuid=12A1"
3) "charval"
<type>="charval".
<par1>=perm (MANDATORY).
'perm' is 16-bit hexadecimal value that decodes the
access permissions and authentication requirements.
Based on 'perm' value, read and write permissions of
the characteristic attribute is handled (irrespective of
read and write permissions of 'properties' in
AT#BTTRIB="char",...)
In 16 bits of 'perm', bits 0-3 represents read
permissions; bits 4-7 represents write permissions;
bits 8-15 are reserved.
Read permissions can be: 0(Read not permitted),
1(Read permitted), 2(Read with encryption permitted),
3(Read with encryption and authentication permitted)
Write permissions can be: 0(Write not permitted),
1(Write permitted), 2(Write with encryption
permitted), 3(Write with encryption and authentication
permitted)
For example,
'perm' value for read-write is 0011, 'perm' value for
read-only with encryption is 0002
<par2>=valueLength(MANDATORY).
length range is 1-20. If length=0, the value can be
between 1 to 20 ASCII coded byte stream as
hexadecimal values.
<par3>=value (OPTIONAL).
Value is optional only when length=0. If 0 < length <=
20, value is ASCII coded byte stream as hexadecimal
values