Interfacing with Zigbee

I created a firmware with UART enabled in P0.2 as shown here and I flashed it. But now, how should I interact with the CC2530 from the ESP8266?

At the end of the day, what I would like to do is being able to read if a door is open or closed.