Skip to content

Commit 84a8d43

Browse files
committed
Add a define for the notification header packet size
1 parent 1f8c221 commit 84a8d43

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

include/bluelib.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ int bl_change_mtu(int value);
301301
* ATT_OP_HANDLE_NOTIFY for a notification
302302
* ATT_OP_HANDLE_IND for a indication
303303
*/
304+
#define NOTIF_PDU_HEADER_SIZE 3
304305

305306
// Add a notification by UUID.
306307
int bl_add_notif(char *uuid_str, bl_primary_t *bl_primary,

0 commit comments

Comments
 (0)