<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Callback on Object Instance CREATE</title><link>https://community.arm.com/developer/f/pelion-iot-platform/47554/callback-on-object-instance-create</link><description> If we publish an Object that allows the CREATE operation (ie POST allowed on the M2MObject), is there a way to get a callback when the server completes the CREATE and the new Object Instance has been created? 
 
 Thanks </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Callback on Object Instance CREATE</title><link>https://community.arm.com/thread/167433?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 20:36:56 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:46881d1b-78e5-43be-bd46-017772259618</guid><dc:creator>Alex E</dc:creator><description>&lt;p&gt;Just in case anyone is reading this later, here are my observations:&amp;nbsp; This (and M2MObject::set_value_update_callback)&amp;nbsp;works, but you don&amp;#39;t get the id of the new object instance.&amp;nbsp; So it makes it hard to use to stay synchronized.&amp;nbsp; Also, there&amp;#39;s no callback I can find for when an Object Instance DELETE happens&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Callback on Object Instance CREATE</title><link>https://community.arm.com/thread/167294?ContentTypeID=1</link><pubDate>Fri, 04 Sep 2020 01:40:17 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:891bc7d8-d721-4b61-8bb5-84ced8c3af61</guid><dc:creator>Desmond Chen</dc:creator><description>&lt;p&gt;Hi Alex,&lt;/p&gt;
&lt;p&gt;In PDMC, there is a&amp;nbsp;callback in MbedCloudClientCallback class&lt;br /&gt;void value_updated(M2MBase *base, M2MBase::BaseType type) = 0;&lt;br /&gt;This returns you the newly created object instance pointer which will indicate on the application level that object instance has been created.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Desmond&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>