35 #define KAA_RETURN_IF_ERR(E) \
36 do { if (E) return E; } while (0)
38 #define KAA_RETURN_IF_NIL(p, E) \
39 do { if (!(p)) return E; } while (0)
41 #define KAA_RETURN_IF_NIL2(p1, p2, E) \
42 do { if (!(p1) || !(p2)) return E; } while (0)
44 #define KAA_RETURN_IF_NIL3(p1, p2, p3, E) \
45 do { if (!(p1) || !(p2) || !(p3)) return E; } while (0)
47 #define KAA_RETURN_IF_NIL4(p1, p2, p3, p4, E) \
48 do { if (!(p1) || !(p2) || !(p3) || !(p4)) return E; } while (0)
50 #define KAA_RETURN_IF_NIL5(p1, p2, p3, p4, p5,E) \
51 do { if (!(p1) || !(p2) || !(p3) || !(p4) || !(p5)) return E; } while (0)
77 return first && second && first->
id == second->
id && first->
version == second->
version;
93 #define KAA_ENDPOINT_ID_LENGTH 20
uint8_t kaa_endpoint_id[KAA_ENDPOINT_ID_LENGTH]
static int kaa_transport_protocol_id_equals(const kaa_transport_protocol_id_t *first, const kaa_transport_protocol_id_t *second)
#define KAA_ENDPOINT_ID_LENGTH
Identifier used to uniquely represent transport protocol.
kaa_service_t
Types of Kaa platform services.
uint16_t connection_data_len
const uint8_t * kaa_endpoint_id_p
Connection parameters used by transport channels to establish connection both to Bootstrap and Operat...