nRF Connect SDK API 2.8.99
|
#define BT_NSMS_DEF | ( | _nsms, | |
_name, | |||
_slevel, | |||
_status_init, | |||
_len_max ) |
#include <include/bluetooth/services/nsms.h>
Create the Nordic Status Message Service instance.
This macro creates the Nordic Status Message Service instance and prepares it to work. Note that it allows to implement multiple instances and the only difference between them would be the name.
_nsms | Name of Status Message Service instance. |
_name | NULL terminated string used as a CUD for Status Message Characteristic. |
_slevel | Security level to use the characteristic.
|
_status_init | Initial message. |
_len_max | Maximal size of the message. The size of the message buffer. |