Here are the results. (quick answer - no change)
(only modifications I’m making for the forum are suppressing my auth key and munging the URLs a bit)
BEFORE Attempting the modification - delivery method = HTTP
curl ‘(URL)/inventory/managedObjects/30296346’ \
-H ‘Accept: application/json, text/plain, /’
-H ‘Accept-Language: en-US,en;q=0.9,es;q=0.8’
-H ‘Authorization: Basic Authen key here’
-H ‘Connection: keep-alive’
-H ‘DNT: 1’
-H ‘Referer: Device management’
-H ‘Sec-Fetch-Dest: empty’
-H ‘Sec-Fetch-Mode: cors’
-H ‘Sec-Fetch-Site: same-origin’
-H ‘UseXBasic: true’
-H ‘User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36’
-H ‘X-Cumulocity-Application-Key: devicemanagement-application-key’
-H ‘sec-ch-ua: " Not A;Brand";v=“99”, “Chromium”;v=“102”, “Google Chrome”;v=“102”’
-H ‘sec-ch-ua-mobile: ?0’
-H ‘sec-ch-ua-platform: “macOS”’
-H ‘sec-gpc: 1’
–compressed
{“additionParents”:{“references”:,“self”:“(URL)/inventory/managedObjects/30296346/additionParents”},“owner”:“device_jim_F3B4_HTTP”,“childDevices”:{“references”:,“self”:“(URL)/inventory/managedObjects/30296346/childDevices”},“childAssets”:{“references”:,“self”:“(URL)inventory/managedObjects/30296346/childAssets”},“creationTime”:“2022-07-14T15:42:37.533Z”,“type”:“c8y_lwm2m”,“lastUpdated”:“2022-07-20T18:41:08.915Z”,“childAdditions”:{“references”:,“self”:“(URL)/inventory/managedObjects/30296346/childAdditions”},“name”:“LwM2M Laird Connectivity, Inc. jim_F3B4_HTTP”,“assetParents”:{“references”:,“self”:“(URL)/inventory/managedObjects/30296346/assetParents”},“deviceParents”:{“references”:,“self”:“(URL)inventory/managedObjects/30296346/deviceParents”},“self”:“https://t220788092.us.cumulocity.com/inventory/managedObjects/30296346",“id”:“30296346”,“c8y_Lwm2m_0!1”:{“instance”:“1”,“operations”:true},“c8y_Lwm2m_1!0”:{“instance”:“0”,“operations”:true},“c8y_Firmware”:{“name”:"IG60LL non-SD”,“version”:“10.40.0.10”,“url”:“(URL)/inventory/binaries/31920571”},“defaultMinimumPeriod”:35,“c8y_Availability”:{“lastMessage”:“2022-07-20T18:41:08.957Z”,“status”:“UNAVAILABLE”},“c8y_Lwm2m_0!0”:{“instance”:“0”,“operations”:true},“c8y_Lwm2m_5!0”:{“1”:“”,“2”:“”,“instance”:“0”,“operations”:true,“3”:0,“5”:0,“9”:2},“c8y_Lwm2m_4!0”:{“0”:41,“1”:“{"0":41}”,“12”:[68,112],“2”:-82,“instance”:“0”,“operations”:true,“4”:“"192.168.1.174"”,“7”:“"iot0119.com.attz.mnc170.mcc310.gprs"”,“8”:44827912,“9”:410,“10”:310},“lwm2m psk_id”:“jim_F3B4_HTTP”,“c8y_Lwm2m_3!0”:{“12”:“”,“13”:1658334940000,“instance”:“0”,“14”:“UTC+00:00”,“0”:“Laird Connectivity, Inc.”,“1”:“Sentrius IG60”,“operations”:true,“3”:“10.40.0.10”,“4”:“”,“5”:“”,“6”:“{"0":0}”,“21”:257699,“10”:117559},“c8y_Lwm2m_9!0”:{“0”:“lwm2m-python-client”,“11”:“”,“1”:“0.2”,“instance”:“0”,“operations”:true,“4”:“”,“6”:“”,“10”:“”},“lwm2m server uri”:“coap://lwm2m.us.cumulocity.com:5784”,“registrationLifetime”:35,“endpoint id”:“jim_F3B4_HTTP”,“c8y_Mobile”:{“mnc”:“410”,“cellId”:“44827912”,“mcc”:“310”},“c8y_ActiveAlarmsStatus”:{“major”:3,“warning”:2},“bootstrapShortServerId”:“0”,“generateBootstrapServerConfig”:true,“fwUpdateSupportedDeviceProtocol”:“HTTP”,“c8y_lwm2m_commons_model_fwupdate_Lwm2mFirmwareUpdate”:{“result”:“UPDATE_SUCCESSFUL”,“protocol”:“HTTP”,“deliveryMethod”:“PULL_AND_PUSH_SUPPORTED”,“currentStatus”:“SUCCESS”,“endpointUrl”:“(URL):8773/firmware/bf77f8c6-9505-45be-8220-0ef595864e61”,“history”:[{“date”:“2022-07-20T11:35:48.577Z”,“status”:“STARTED”},{“date”:“2022-07-20T11:35:48.619Z”,“status”:“READING_DEVICE_CONFIG”},{“date”:“2022-07-20T11:35:48.960Z”,“status”:“DEVICE_CONFIG_READY”},{“date”:“2022-07-20T11:35:49.732Z”,“status”:“DELIVERING_FIRMWARE”},{“date”:“2022-07-20T11:36:11.444Z”,“status”:“FIRMWARE_DELIVERED”},{“date”:“2022-07-20T11:36:11.491Z”,“status”:“TRIGGERING_UPDATE”},{“date”:“2022-07-20T11:36:11.522Z”,“status”:“FIRMWARE_DELIVERED”},{“date”:“2022-07-20T11:36:12.205Z”,“status”:“TRIGGERING_UPDATE”},{“date”:“2022-07-20T11:36:12.409Z”,“status”:“UPDATE_TRIGGERED”},{“date”:“2022-07-20T11:36:34.193Z”,“status”:“SUCCESS”}],“endpointUuid”:“bf77f8c6-9505-45be-8220-0ef595864e61”,“firmware”:{“name”:“IG60LL non-SD”,“version”:“10.40.0.10”,“url”:“(URL)/inventory/binaries/31920571”},“startDate”:“2022-07-20T11:35:48.577Z”},“c8y_Lwm2m_10259!0”:{“instance”:“0”,“operations”:true},“bootstrap psk_id”:“jim_F3B4_HTTP”,“c8y_GenericUi”:{},“com_cumulocity_model_Agent”:{},“c8y_Connection”:{“status”:“CONNECTED”},“c8y_RequiredAvailability”:{“responseInterval”:2},“c8y_Lwm2m_13!0”:{“instance”:“0”,“operations”:true},“c8y_SupportedOperations”:[“c8y_Command”,“c8y_Restart”,“c8y_Firmware”,“c8y_Software”],“lwm2m psk_key”:“123456789012345678901234567890ab”,“lwm2mShortServerId”:“1”,“c8y_Lwm2m_12!0”:{“0”:“wlan0”,“instance”:“0”,“operations”:true},“securityMode”:“PSK”,“c8y_Hardware”:{“serialNumber”:null,“model”:“Sentrius IG60”,“revision”:“10.40.0.10”},“c8y_IsDevice”:{},“bootstrap psk_key”:“098765432109876543210987654321cc”}
Excerpt from blob above:
“generateBootstrapServerConfig”:true,“fwUpdateSupportedDeviceProtocol”:“HTTP”,“c8y_lwm2m_commons_model_fwupdate_Lwm2mFirmwareUpdate”
Attempting the modification - delivery method to COAP
curl ‘(URL)/inventory/managedObjects/30296346’ \
-X ‘PUT’
-H ‘Accept: application/json, text/plain, /’
-H ‘Accept-Language: en-US,en;q=0.9,es;q=0.8’
-H ‘Authorization: Basic Authen key here’
-H ‘Connection: keep-alive’
-H ‘Content-Type: application/json;charset=UTF-8’
-H ‘DNT: 1’
-H ‘Origin: (URL)’
-H ‘Referer: (URL)/apps/devicemanagement/index.html’
-H ‘Sec-Fetch-Dest: empty’
-H ‘Sec-Fetch-Mode: cors’
-H ‘Sec-Fetch-Site: same-origin’
-H ‘UseXBasic: true’
-H ‘User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36’
-H ‘X-Cumulocity-Application-Key: devicemanagement-application-key’
-H ‘sec-ch-ua: " Not A;Brand";v=“99”, “Chromium”;v=“102”, “Google Chrome”;v=“102”’
-H ‘sec-ch-ua-mobile: ?0’
-H ‘sec-ch-ua-platform: “macOS”’
-H ‘sec-gpc: 1’
–data-raw ‘{“fwUpdateSupportedDeviceProtocol”: “COAP”}’
–compressed
Querying to see if there was any change
curl ‘(URL)/inventory/managedObjects/30296346’ \
-H ‘Accept: application/json, text/plain, /’
-H ‘Accept-Language: en-US,en;q=0.9,es;q=0.8’
-H ‘Authorization: Basic Authen Key’
-H ‘Connection: keep-alive’
-H ‘DNT: 1’
-H ‘Referer: (URL)/apps/devicemanagement/index.html’
-H ‘Sec-Fetch-Dest: empty’
-H ‘Sec-Fetch-Mode: cors’
-H ‘Sec-Fetch-Site: same-origin’
-H ‘UseXBasic: true’
-H ‘User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36’
-H ‘X-Cumulocity-Application-Key: devicemanagement-application-key’
-H ‘sec-ch-ua: " Not A;Brand";v=“99”, “Chromium”;v=“102”, “Google Chrome”;v=“102”’
-H ‘sec-ch-ua-mobile: ?0’
-H ‘sec-ch-ua-platform: “macOS”’
-H ‘sec-gpc: 1’
–compressed
{“additionParents”:{“references”:,“self”:“(URL)/inventory/managedObjects/30296346/additionParents”},“owner”:“device_jim_F3B4_HTTP”,“childDevices”:{“references”:,“self”:“(URL)/inventory/managedObjects/30296346/childDevices”},“childAssets”:{“references”:,“self”:“(URL)/inventory/managedObjects/30296346/childAssets”},“creationTime”:“2022-07-14T15:42:37.533Z”,“type”:“c8y_lwm2m”,“lastUpdated”:“2022-07-20T18:41:08.915Z”,“childAdditions”:{“references”:,“self”:“(URL)/inventory/managedObjects/30296346/childAdditions”},“name”:“LwM2M Laird Connectivity, Inc. jim_F3B4_HTTP”,“assetParents”:{“references”:,“self”:“(URL)/inventory/managedObjects/30296346/assetParents”},“deviceParents”:{“references”:,“self”:“(URL)/inventory/managedObjects/30296346/deviceParents”},“self”:“https://t220788092.us.cumulocity.com/inventory/managedObjects/30296346",“id”:“30296346”,“c8y_Lwm2m_0!1”:{“instance”:“1”,“operations”:true},“c8y_Lwm2m_1!0”:{“instance”:“0”,“operations”:true},“c8y_Firmware”:{“name”:"IG60LL non-SD”,“version”:“10.40.0.10”,“url”:“(URL)/inventory/binaries/31920571”},“defaultMinimumPeriod”:35,“c8y_Availability”:{“lastMessage”:“2022-07-20T18:41:08.957Z”,“status”:“UNAVAILABLE”},“c8y_Lwm2m_0!0”:{“instance”:“0”,“operations”:true},“c8y_Lwm2m_5!0”:{“1”:“”,“2”:“”,“instance”:“0”,“operations”:true,“3”:0,“5”:0,“9”:2},“c8y_Lwm2m_4!0”:{“0”:41,“1”:“{"0":41}”,“12”:[68,112],“2”:-82,“instance”:“0”,“operations”:true,“4”:“"192.168.1.174"”,“7”:“"iot0119.com.attz.mnc170.mcc310.gprs"”,“8”:44827912,“9”:410,“10”:310},“lwm2m psk_id”:“jim_F3B4_HTTP”,“c8y_Lwm2m_3!0”:{“12”:“”,“13”:1658334940000,“instance”:“0”,“14”:“UTC+00:00”,“0”:“Laird Connectivity, Inc.”,“1”:“Sentrius IG60”,“operations”:true,“3”:“10.40.0.10”,“4”:“”,“5”:“”,“6”:“{"0":0}”,“21”:257699,“10”:117559},“c8y_Lwm2m_9!0”:{“0”:“lwm2m-python-client”,“11”:“”,“1”:“0.2”,“instance”:“0”,“operations”:true,“4”:“”,“6”:“”,“10”:“”},“lwm2m server uri”:“coap://lwm2m.us.cumulocity.com:5784”,“registrationLifetime”:35,“endpoint id”:“jim_F3B4_HTTP”,“c8y_Mobile”:{“mnc”:“410”,“cellId”:“44827912”,“mcc”:“310”},“c8y_ActiveAlarmsStatus”:{“major”:3,“warning”:2},“bootstrapShortServerId”:“0”,“generateBootstrapServerConfig”:true,“fwUpdateSupportedDeviceProtocol”:“HTTP”,“c8y_lwm2m_commons_model_fwupdate_Lwm2mFirmwareUpdate”:{“result”:“UPDATE_SUCCESSFUL”,“protocol”:“HTTP”,“deliveryMethod”:“PULL_AND_PUSH_SUPPORTED”,“currentStatus”:“SUCCESS”,“endpointUrl”:“(URL):8773/firmware/bf77f8c6-9505-45be-8220-0ef595864e61”,“history”:[{“date”:“2022-07-20T11:35:48.577Z”,“status”:“STARTED”},{“date”:“2022-07-20T11:35:48.619Z”,“status”:“READING_DEVICE_CONFIG”},{“date”:“2022-07-20T11:35:48.960Z”,“status”:“DEVICE_CONFIG_READY”},{“date”:“2022-07-20T11:35:49.732Z”,“status”:“DELIVERING_FIRMWARE”},{“date”:“2022-07-20T11:36:11.444Z”,“status”:“FIRMWARE_DELIVERED”},{“date”:“2022-07-20T11:36:11.491Z”,“status”:“TRIGGERING_UPDATE”},{“date”:“2022-07-20T11:36:11.522Z”,“status”:“FIRMWARE_DELIVERED”},{“date”:“2022-07-20T11:36:12.205Z”,“status”:“TRIGGERING_UPDATE”},{“date”:“2022-07-20T11:36:12.409Z”,“status”:“UPDATE_TRIGGERED”},{“date”:“2022-07-20T11:36:34.193Z”,“status”:“SUCCESS”}],“endpointUuid”:“bf77f8c6-9505-45be-8220-0ef595864e61”,“firmware”:{“name”:“IG60LL non-SD”,“version”:“10.40.0.10”,“url”:“(URL)/inventory/binaries/31920571”},“startDate”:“2022-07-20T11:35:48.577Z”},“c8y_Lwm2m_10259!0”:{“instance”:“0”,“operations”:true},“bootstrap psk_id”:“jim_F3B4_HTTP”,“c8y_GenericUi”:{},“com_cumulocity_model_Agent”:{},“c8y_Connection”:{“status”:“DISCONNECTED”},“c8y_RequiredAvailability”:{“responseInterval”:2},“c8y_Lwm2m_13!0”:{“instance”:“0”,“operations”:true},“c8y_SupportedOperations”:[“c8y_Command”,“c8y_Restart”,“c8y_Firmware”,“c8y_Software”],“lwm2m psk_key”:“123456789012345678901234567890ab”,“lwm2mShortServerId”:“1”,“c8y_Lwm2m_12!0”:{“0”:“wlan0”,“instance”:“0”,“operations”:true},“securityMode”:“PSK”,“c8y_Hardware”:{“serialNumber”:null,“model”:“Sentrius IG60”,“revision”:“10.40.0.10”},“c8y_IsDevice”:{},“bootstrap psk_key”:“098765432109876543210987654321cc”}
Excerpt from blob above:
“generateBootstrapServerConfig”:true,“fwUpdateSupportedDeviceProtocol”:“HTTP”,"c8y_lwm2m_commons_model_fwupdate_Lwm2mFirmwareUpdate
No change.