Query File Version from JN516x Device

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Query File Version from JN516x Device

ソリューションへジャンプ
1,629件の閲覧回数
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?

ラベル(2)
0 件の賞賛
1 解決策
1,379件の閲覧回数
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.

元の投稿で解決策を見る

0 件の賞賛
16 返答(返信)
1,379件の閲覧回数
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 件の賞賛
1,379件の閲覧回数
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 件の賞賛
1,379件の閲覧回数
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 件の賞賛
1,379件の閲覧回数
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 件の賞賛
1,379件の閲覧回数
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 件の賞賛
1,379件の閲覧回数
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 件の賞賛
1,379件の閲覧回数
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 件の賞賛
1,379件の閲覧回数
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 件の賞賛
1,379件の閲覧回数
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 件の賞賛
1,379件の閲覧回数
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 件の賞賛
1,379件の閲覧回数
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 件の賞賛
1,379件の閲覧回数
nguyenanhgiau10
Contributor IV

Ofcouse Mario,

Plz check it.

Thank you so much!

0 件の賞賛
1,379件の閲覧回数
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 件の賞賛
1,379件の閲覧回数
nguyenanhgiau10
Contributor IV

Hi mario_castaneda

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

Regrads!

0 件の賞賛
1,380件の閲覧回数
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.

0 件の賞賛
1,379件の閲覧回数
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 件の賞賛