I have a problem setting write permissions.
For read characteristic all works as expected, with
PERM(RD, ENABLE) | PERM(RP, AUTH)
only paired devices can read.
But for write characteristic with
PERM(WRITE_REQ, ENABLE) | PERM(WRITE_REQ, AUTH)
any (also unpaired) device can write.
Please help - how to restrict access to write characteristic?