Lines Matching refs:params

420 	p.params.subscribe.msg_id = topic->con.msg_id;  in mqtt_sn_do_subscribe()
421 p.params.subscribe.qos = topic->qos; in mqtt_sn_do_subscribe()
422 p.params.subscribe.topic_type = topic->type; in mqtt_sn_do_subscribe()
423 p.params.subscribe.dup = dup; in mqtt_sn_do_subscribe()
426 p.params.subscribe.topic.topic_name.data = topic->name; in mqtt_sn_do_subscribe()
427 p.params.subscribe.topic.topic_name.size = topic->namelen; in mqtt_sn_do_subscribe()
431 p.params.subscribe.topic.topic_id = topic->topic_id; in mqtt_sn_do_subscribe()
454 p.params.unsubscribe.msg_id = topic->con.msg_id; in mqtt_sn_do_unsubscribe()
455 p.params.unsubscribe.topic_type = topic->type; in mqtt_sn_do_unsubscribe()
458 p.params.unsubscribe.topic.topic_name.data = topic->name; in mqtt_sn_do_unsubscribe()
459 p.params.unsubscribe.topic.topic_name.size = topic->namelen; in mqtt_sn_do_unsubscribe()
463 p.params.unsubscribe.topic.topic_id = topic->topic_id; in mqtt_sn_do_unsubscribe()
486 p.params.reg.msg_id = topic->con.msg_id; in mqtt_sn_do_register()
490 p.params.reg.topic.data = topic->name; in mqtt_sn_do_register()
491 p.params.reg.topic.size = topic->namelen; in mqtt_sn_do_register()
516 p.params.publish.data.data = pub->pubdata; in mqtt_sn_do_publish()
517 p.params.publish.data.size = pub->datalen; in mqtt_sn_do_publish()
518 p.params.publish.msg_id = pub->con.msg_id; in mqtt_sn_do_publish()
519 p.params.publish.retain = pub->retain; in mqtt_sn_do_publish()
520 p.params.publish.topic_id = pub->topic->topic_id; in mqtt_sn_do_publish()
521 p.params.publish.topic_type = pub->topic->type; in mqtt_sn_do_publish()
522 p.params.publish.qos = pub->qos; in mqtt_sn_do_publish()
523 p.params.publish.dup = dup; in mqtt_sn_do_publish()
532 p.params.searchgw.radius = CONFIG_MQTT_SN_LIB_BROADCAST_RADIUS; in mqtt_sn_do_searchgw()
550 response.params.gwinfo.gw_id = gw->gw_id; in mqtt_sn_do_gwinfo()
553 response.params.gwinfo.gw_add = addr; in mqtt_sn_do_gwinfo()
571 p.params.pingreq.client_id.data = client->client_id.data; in mqtt_sn_do_ping()
572 p.params.pingreq.client_id.size = client->client_id.size; in mqtt_sn_do_ping()
947 p.params.connect.clean_session = clean_session; in mqtt_sn_connect()
948 p.params.connect.will = will; in mqtt_sn_connect()
949 p.params.connect.duration = CONFIG_MQTT_SN_KEEPALIVE; in mqtt_sn_connect()
950 p.params.connect.client_id.data = client->client_id.data; in mqtt_sn_connect()
951 p.params.connect.client_id.size = client->client_id.size; in mqtt_sn_connect()
967 p.params.disconnect.duration = 0; in mqtt_sn_disconnect()
984 p.params.disconnect.duration = duration; in mqtt_sn_sleep()
1222 response.params.willtopic.qos = client->will_qos; in handle_willtopicreq()
1223 response.params.willtopic.retain = client->will_retain; in handle_willtopicreq()
1224 response.params.willtopic.topic.data = client->will_topic.data; in handle_willtopicreq()
1225 response.params.willtopic.topic.size = client->will_topic.size; in handle_willtopicreq()
1234 response.params.willmsg.msg.data = client->will_msg.data; in handle_willmsgreq()
1235 response.params.willmsg.msg.size = client->will_msg.size; in handle_willmsgreq()
1256 response.params.regack.ret_code = MQTT_SN_CODE_ACCEPTED; in handle_register()
1257 response.params.regack.topic_id = p->topic_id; in handle_register()
1258 response.params.regack.msg_id = p->msg_id; in handle_register()
1291 response.params.puback.topic_id = p->topic_id; in handle_publish()
1292 response.params.puback.msg_id = p->msg_id; in handle_publish()
1293 response.params.puback.ret_code = MQTT_SN_CODE_ACCEPTED; in handle_publish()
1298 response.params.pubrec.msg_id = p->msg_id; in handle_publish()
1333 response.params.pubrel.msg_id = p->msg_id; in handle_pubrec()
1342 response.params.pubcomp.msg_id = p->msg_id; in handle_pubrel()
1431 handle_advertise(client, &p.params.advertise, rx_addr); in handle_msg()
1434 handle_searchgw(client, &p.params.searchgw); in handle_msg()
1437 handle_gwinfo(client, &p.params.gwinfo, rx_addr); in handle_msg()
1440 handle_connack(client, &p.params.connack); in handle_msg()
1449 handle_register(client, &p.params.reg); in handle_msg()
1452 handle_regack(client, &p.params.regack); in handle_msg()
1455 handle_publish(client, &p.params.publish); in handle_msg()
1458 handle_puback(client, &p.params.puback); in handle_msg()
1461 handle_pubrec(client, &p.params.pubrec); in handle_msg()
1464 handle_pubrel(client, &p.params.pubrel); in handle_msg()
1467 handle_pubcomp(client, &p.params.pubcomp); in handle_msg()
1470 handle_suback(client, &p.params.suback); in handle_msg()
1473 handle_unsuback(client, &p.params.unsuback); in handle_msg()
1482 handle_disconnect(client, &p.params.disconnect); in handle_msg()