Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

PSoC™ 6 Forum Discussions

Sachin_Patel
Level 2
10 sign-ins 5 questions asked 5 replies posted
Level 2

Hi i am working on AWS_OTA using MQTT example.But i am unable to get update notification.Here I attached log.

python3 start_ota.py --profile AWS_OTA_Profile --name Device_1 --role OTA_fw_Update --s3bucket awsfwota123 --otasigningprofile AWS_OTA_Profile --appversion 1_1_0 --buildlocation "D:\Project_2\New_WB\AWS_IoT_OTA_Using_MQTT\build\CY8CKIT-064S0S2-4343W\Debug"
Session Profile: AWS_OTA_Profile
Available profiles: ['AWS_OTA_Profile', 'default']
Region: ap-south-1
Certificate ARN: ************************************************************ (Got correct certificate)
in ota
Name of binary for uploading to AWS: D:\Project_2\New_WB\AWS_IoT_OTA_Using_MQTT\build\CY8CKIT-064S0S2-4343W\Debug\mtb-example-aws-iot-ota-mqtt_1_1_0.bin
Build File Name: D:\Project_2\New_WB\AWS_IoT_OTA_Using_MQTT\build\CY8CKIT-064S0S2-4343W\Debug\mtb-example-aws-iot-ota-mqtt.bin
BuildFirmwareFileNames
CopyFirmwareFileToS3
GetLatestS3FileVersion
Searching for profile AWS_OTA_Profile
Found Profile AWS_OTA_Profile in account
CreateSigningProfile
Files for update: [{'fileName': 'mtb-example-aws-iot-ota-mqtt_1_1_0.bin', 'fileType': 141, 'fileVersion': '1', 'fileLocation': {'s3Location': {'bucket': 'awsfwota123', 'key': 'mtb-example-aws-iot-ota-mqtt_1_1_0.bin', 'version': 'dKOfKSumGyZVEWUgFTz5vw6N_oMeeotg'}}, 'codeSigning': {'startSigningJobParameter': {'signingProfileName': 'AWS_OTA_Profile', 'destination': {'s3Destination': {'bucket': 'awsfwota123'}}}}}]
OTA Update Status: {'ResponseMetadata': {'RequestId': '4e167961-9765-4a5f-97ec-8738098b1909', 'HTTPStatusCode': 200, 'HTTPHeaders': {'date': 'Tue, 02 Aug 2022 05:01:21 GMT', 'content-type': 'application/json', 'content-length': '192', 'connection': 'keep-alive', 'x-amzn-requestid': '4e167961-9765-4a5f-97ec-8738098b1909'}, 'RetryAttempts': 0}, 'otaUpdateId': 'update-60127-1_1_0', 'otaUpdateArn': '(got correct)update-60127-1_1_0', 'otaUpdateStatus': 'CREATE_PENDING'}
CreateOTAJob
ota Done

 

Some of print I added in script.

 

0 Likes
1 Reply
Rakesh_BG
Moderator
Moderator 10 likes received 25 solutions authored 50 replies posted
Moderator

Hi @Sachin_Patel ,

We are analyzing the issue .  We will get back to you as soon as possible.

 

Thanks,

Rakesh B G

0 Likes