Macros | Typedefs
Defines
BLE » BLE_MSG

## Macros
#define | ARRAY_LEN(array) (sizeof((array))/sizeof((array)[0]))
| Get the number of elements within an array, give also number of rows in a 2-D array. More...

## Typedefs
typedef uint16_t | ke_msg_id_t
typedef uint16_t | ke_task_id_t
| Task Identifier. Composed by the task type and the task index. More...

## Detailed Description

## Macro Definition Documentation

## ◆ ARRAY_LEN

#define ARRAY_LEN | ( |  | array | ) | (sizeof((array))/sizeof((array)[0]))

Get the number of elements within an array, give also number of rows in a 2-D array.

Definition at line 58 of file ble_msg.h.

## Typedef Documentation

## ◆ ke_msg_id_t

typedef uint16_t ke_msg_id_t

Message Identifier. The number of messages is limited to 0xFFFF. The message ID is divided in two parts: bits[15~8]: task index (no more than 255 tasks support) bits[7~0]: message index(no more than 255 messages per task)

Definition at line 64 of file ble_msg.h.

## ◆ ke_task_id_t

typedef uint16_t ke_task_id_t

Task Identifier. Composed by the task type and the task index.

Definition at line 67 of file ble_msg.h.