I am currently attempting to create a system whereby I can use a ZigBEE JN5169 Microcontroller to return temperature, using its built-in temperature measuring capabilities.

I need the temperature readings to then be sent to a raspberry pi which has a “ConBee - ZigBee USB stick for intelligent and modern wireless lighting” USB Dongle for ZigBee attached to it. The Information should then be able to be viewed on the raspberry pi.

What I have done so far:

The Chip is currently attached to a DR1048 Sensor Board which is connected to my PC via USB. I have already run a “light sensor” bin file (demo provided by hive) on the devices flash memory and it does print values in Hexa Decimal to the NXP Beyond Studio IDE.
I have a Raspberry Pi 3 with the USB Dongle attached to it.
How would I go about writing the code (in C I believe) for returning the temperature, while using the chips built in temperature reading feature?

Many Thanks,