Patent ID: 7734737

Claim:
A method for device management, comprising: receiving in a client device, bootstrapping information and device management (DM) session initiation information within a same message from a DM server; determining by said client device, a client device state; wherein said client device state is selected from the group consisting of provisioned and unprovisioned; selecting by said client device one of said bootstrapping information or said DM session initiation information based on the client device state as determined by said client device so as to accordingly (i) bootstrap said client device, whereby said client device state is changed from unprovisioned to provisioned, and said client device is operable to initiate a DM session with a DM server indicated in said same message or (ii) initiate by said client device a device management session in said device, wherein said device management session includes a DM Server indicated in said same message; wherein only bootstrapping information is selected and DM session initiation information is discarded, if said client device state is unprovisioned, and wherein only DM session initiation information is selected, and bootstrapping information is discarded if said client device state is provisioned