Query File Version from JN516x Device

cancel
Showing results for 
Search instead for 
Did you mean: 

Query File Version from JN516x Device

Jump to solution
454 Views
nguyenanhgiau10
Contributor IV

Hi all,

I facing a problem when I query file version, manufacture code, image type of JN516x device.

I work on JN-AN-1218-ZigBee-LightBulb and using ZGWUI tool for coordinator. With basic attribute, such as ManufacturerName, DateCode, ModelIdentifier, etc, I query normaly, but with OTA attribute, I can not.

pastedImage_2.png

anything wrong?

Labels (2)
0 Kudos
1 Solution
204 Views
nguyenanhgiau10
Contributor IV

Hi Mario,

This problem come from firmware for coordinator, not from DimmableLight.

I fixed it, just use JN-AN-1223 for coordinator.

View solution in original post

0 Kudos
16 Replies
204 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Giau,

Are you sure that you are flashing the bin file for the OTA?

I did the same process as you did and it works the device is answered for the attribute that I request

pastedImage_1.png

What is the return value that you are getting?

Regards,

Mario

0 Kudos
204 Views
nguyenanhgiau10
Contributor IV

Hi Mario,

Sorry for late reply. I flashed ExtendedColorLight_GpCombo_Ota_JN5169_DR1175.bin. I have tried many times, but got the same result.

Which light-bulb application do you using? DimmableLight, ColorTemperatureLight or ExtendedColorLight?

By the way, which tool did you use for reading?

0 Kudos
204 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Giau,

I used the DimmableLight, could you please try with this example by your side?

I am using the Ubiqua SW and capture the packets in the air.

A.6 USB Dongles

Regards,

Mario

0 Kudos
204 Views
nguyenanhgiau10
Contributor IV

Hi Mario,

I also use the DimmableLight application, but I always get value 00 00 00 00. I just read attribute 0x0002 of cluster 0x0019.

Regrads,

Giau

0 Kudos
204 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Giau,

What is the AN version and SDK version that you are working on?

Could you please delete and download the AN again?

Please let me know your findings and if you have the sniffer log could you please share it?

Regards,

Mario

0 Kudos
204 Views
nguyenanhgiau10
Contributor IV

Hi Mario,

I using JN-AN-1218-Zigbee-3-0-Light-Bulb version 1008 and JN-SW-4170 for SDK. I tried to delete and download AN again, but I got the same result.

Below is the photo when I read attribute FileVersion (0x0002) on Cluster OTA (0x0019).Capture.PNG

0 Kudos
204 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Giau,

Could you please change the Client Attribute? The frame is  0 - from server to client.

In this case, the control bridge is the OTA server and the client the dimmable light.

Please let me know your findings.

Regards,

Mario

0 Kudos
204 Views
nguyenanhgiau10
Contributor IV

Hi Mario,

When I use JN-AN-1223 application, I can get FW version.

Something wrong with JN-AN-1216 on get FW version?

0 Kudos
204 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Giau,

Jn-AN-1216 Version 101.

What is the bin file that you are using? Coordinator or Full Functionality?

What is the issue that you are seeing getting the FW version?

Regards,

Mario

0 Kudos
204 Views
nguyenanhgiau10
Contributor IV

Hi Mario,

I also use JN-AN-1216 version 1011, Full Functionallity, I just get 0x00000000 for version 1 on device (DimmableLightBulb).

If I switch to use JN-AN-1223 for Coordinator, I get exactly FW version.

0 Kudos
204 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Giau,

Could you please provide the bin files that you are working on?

I will run by my side. The coordinator, and the dimmable light also the OTA file.

Regards,

Mario

0 Kudos
204 Views
nguyenanhgiau10
Contributor IV

Ofcouse Mario,

Plz check it.

Thank you so much!

0 Kudos
204 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Giau,

I was checking the value that you mentioned.

The attribute that you are calling is not implemented. This attribute is optional.

You could modify in the OTA.c file 

#ifdef OTA_CLD_ATTR_CURRENT_ZIGBEE_STACK_VERSION
    sOta.u16CurrentStackVersion = 0xffff;
#endif

Regards,

Mario

0 Kudos
204 Views
nguyenanhgiau10
Contributor IV

Hi mario_castaneda

I fixed the problem get FW version on JN-AN-1216. You can check it.

Regrads!

0 Kudos
205 Views
nguyenanhgiau10
Contributor IV

Hi Mario,

This problem come from firmware for coordinator, not from DimmableLight.

I fixed it, just use JN-AN-1223 for coordinator.

View solution in original post

0 Kudos
204 Views
nguyenanhgiau10
Contributor IV

Hi Mario,

Which application do you using for Coordinator (JN-AN-1216 or other)? Can you send it to me?

I think my problem come from ZigBeeNodeControlBridge application.

0 Kudos