Announcements

Ever wondered how you could shape the future in collaboration with others? Join us at OktoberTech Asia Pacific and get inspired. Click here to sign up FREE of charge.

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

PSoC™ 6 Forum Discussions

Sachin_Patel
Level 3
10 replies posted 5 likes given 10 sign-ins
Level 3

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 100 replies posted 100 sign-ins 10 likes received
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