Lines Matching refs:spp_node

113 	xml_node_t *spp_node;  in build_spp_post_dev_data()  local
117 spp_node = xml_node_create_root(ctx->xml, SPP_NS_URI, "spp", &ns, in build_spp_post_dev_data()
119 if (spp_node == NULL) in build_spp_post_dev_data()
124 xml_node_add_attr(ctx->xml, spp_node, ns, "sppVersion", "1.0"); in build_spp_post_dev_data()
125 xml_node_add_attr(ctx->xml, spp_node, NULL, "requestReason", reason); in build_spp_post_dev_data()
127 xml_node_add_attr(ctx->xml, spp_node, ns, "sessionID", in build_spp_post_dev_data()
129 xml_node_add_attr(ctx->xml, spp_node, NULL, "redirectURI", in build_spp_post_dev_data()
132 xml_node_create_text(ctx->xml, spp_node, ns, "supportedSPPVersions", in build_spp_post_dev_data()
134 xml_node_create_text(ctx->xml, spp_node, ns, "supportedMOList", in build_spp_post_dev_data()
138 add_mo_container(ctx->xml, ns, spp_node, URN_OMA_DM_DEVINFO, in build_spp_post_dev_data()
140 add_mo_container(ctx->xml, ns, spp_node, URN_OMA_DM_DEVDETAIL, in build_spp_post_dev_data()
143 return spp_node; in build_spp_post_dev_data()
868 xml_node_t *spp_node, *node; in build_spp_update_response() local
870 spp_node = xml_node_create_root(ctx->xml, SPP_NS_URI, "spp", &ns, in build_spp_update_response()
872 if (spp_node == NULL) in build_spp_update_response()
875 xml_node_add_attr(ctx->xml, spp_node, ns, "sppVersion", "1.0"); in build_spp_update_response()
876 xml_node_add_attr(ctx->xml, spp_node, ns, "sessionID", session_id); in build_spp_update_response()
877 xml_node_add_attr(ctx->xml, spp_node, ns, "sppStatus", spp_status); in build_spp_update_response()
880 node = xml_node_create(ctx->xml, spp_node, ns, "sppError"); in build_spp_update_response()
886 return spp_node; in build_spp_update_response()