Lines Matching refs:client
161 typedef void (*mqtt_sn_evt_cb_t)(struct mqtt_sn_client *client, const struct mqtt_sn_evt *evt);
196 int (*sendto)(struct mqtt_sn_client *client, void *buf, size_t sz, const void *dest_addr,
205 ssize_t (*recvfrom)(struct mqtt_sn_client *client, void *rx_buf, size_t rx_len,
218 int (*poll)(struct mqtt_sn_client *client);
336 int mqtt_sn_client_init(struct mqtt_sn_client *client, const struct mqtt_sn_data *client_id,
347 void mqtt_sn_client_deinit(struct mqtt_sn_client *client);
360 int mqtt_sn_add_gw(struct mqtt_sn_client *client, uint8_t gw_id, struct mqtt_sn_data gw_addr);
370 int mqtt_sn_search(struct mqtt_sn_client *client, uint8_t radius);
381 int mqtt_sn_connect(struct mqtt_sn_client *client, bool will, bool clean_session);
390 int mqtt_sn_disconnect(struct mqtt_sn_client *client);
400 int mqtt_sn_sleep(struct mqtt_sn_client *client, uint16_t duration);
411 int mqtt_sn_subscribe(struct mqtt_sn_client *client, enum mqtt_sn_qos qos,
423 int mqtt_sn_unsubscribe(struct mqtt_sn_client *client, enum mqtt_sn_qos qos,
439 int mqtt_sn_publish(struct mqtt_sn_client *client, enum mqtt_sn_qos qos,
452 int mqtt_sn_input(struct mqtt_sn_client *client);
464 int mqtt_sn_get_topic_name(struct mqtt_sn_client *client, uint16_t id,