To register a device you need to execute the adhoc command
register-device available at Push Notification component.
This command will return a form which needs to be filled.
Form consists of following fields:
When you submit this form, it will be processed and will respond with a
result type form.
Within this form you will find a
node field which will contain a PubSub node name created by the Push Notifications component, to which you should publish notification items.
This returned node with jid of the Push Notifications Component should be passed to your XMPP server as the address of the XMPP Push Service.