78 void (*receive_cb)(
void *cb_data, uint32_t
id,
struct sol_blob *
message),
122 void (*message_consumed_cb)(
void *cb_data, uint32_t
id,
struct sol_blob *
message),
int sol_ipm_send(uint32_t id, struct sol_blob *message)
Send IPM message.
These routines are used for Soletta types' manipulation.
int sol_ipm_set_receiver(uint32_t id, void(*receive_cb)(void *cb_data, uint32_t id, struct sol_blob *message), const void *data)
Set receiver to IPM messages.
uint32_t sol_ipm_get_max_id(void)
Get maximum IPM message ID for the platform.
static struct sol_mqtt_message message
Definition: mqtt-publish.c:35
int sol_ipm_set_consumed_callback(uint32_t id, void(*message_consumed_cb)(void *cb_data, uint32_t id, struct sol_blob *message), const void *data)
Set callback to be called when sent messaged is consumed.
const char * data
Slice data.
Definition: sol-str-slice.h:86
Data type describing the default blob implementation.
Definition: sol-types.h:468