Core bluetooth Smart mi band encrypt CCM

How to encrypt bytes with CCM method in KMP?