发送mdm有效负载 [英] Sending mdm payload

查看:412
本文介绍了发送mdm有效负载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发MDM解决方案.

I am developing an MDM solution.

我已经在设备上安装了配置文件. 所以我拥有所有必需的东西,例如 设备令牌,推送魔术字符串,设备的UDID等.

I have installed a configuration profile on device. So I have all the required things like Device Token, Push Magic String, UDID of device, etc.

现在,我想使用APNS将mdm有效负载发送到设备. 我能够向该设备发送一条简单的警报消息,但是我需要发送一个mdm有效负载.

Now I want to send a mdm payload to the device using APNS. I am able to send a simple alert message to the device, but I need to send a mdm payload.

我不确定如何使用APNS将plist(XML)发送到设备.

I am not sure how to send a plist(XML) to the device using APNS.

我正在使用php发送推送通知.

I am using php to send Push notifications.

如果有人可以帮助我如何将mdm有效负载发送到设备,请

Please if someone could help me how to send a mdm payload to the device.

谢谢, 曼玛

推荐答案

安装iphone配置实用程序.. 创建一个新的配置文件... 创建时转到移动设备管理"选项卡. 我们可以找到服务器网址签入网址.. 我们不需要知道不能通过Apple推送通知服务发送mdm有效负载. 只有我们可以发送{mdm:"push magic token"}. 首先尝试手动安装mdm有效负载. 安装后,带有有效负载的设备将初始(第一次)将响应以发送推送魔术令牌..设备令牌..和被调查的URL的签入. 然后使用推送魔术令牌,我们可以发送推送通知.

install iphone config utility .. create a new Configuration profile... while creating go to mobile device management tab.. we can find server url and check in url... we need not know that mdm payload cannot be send through apple push notification service.. only we can send {mdm:"push magic token"}.. first try to install mdm payload manually.. after installation the device with payload will Initially (first time) will respond to check in url sending push magic token.. device token.. and udid.. then using push magic token we can send the push notification.

然后设备将通过服务器URL轮询命令. 我们可以发送示例命令,例如lock .. unlock ..作为响应(MIME类型:plist),并且我们可以通过发送200来终止连接

then the device will poll commands through server url.. we can send commands like examples lock .. unlock.. in response (mime type : plist)and we can terminate connection by sending 200

这篇关于发送mdm有效负载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆