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.
anything wrong?
Solved! Go to Solution.
Hi Mario,
This problem come from firmware for coordinator, not from DimmableLight.
I fixed it, just use JN-AN-1223 for coordinator.
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
What is the return value that you are getting?
Regards,
Mario
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?
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.
Regards,
Mario
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
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
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).
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
Hi Mario,
When I use JN-AN-1223 application, I can get FW version.
Something wrong with JN-AN-1216 on get FW version?
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
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.
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
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
Hi Mario,
This problem come from firmware for coordinator, not from DimmableLight.
I fixed it, just use JN-AN-1223 for coordinator.
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.