uart 0 access in openthread cli

I have successfully formed a mesh and sending data in the format as below

"udp send ff03::1 1234 $01"                                         to  udp '1234' socket

"udp send ff03::1 1234 $02"                                         to  udp '1234' socket

"udp send ff03::1 1234 $03"                                         to  udp '1234' socket

"udp send ff03::1 1234 $04"                                         to  udp '1234' socket

"udp send ff03::1 1234 $05"                                         to  udp '1234' socket

"udp send ff03::1 1234 $06"                                         to  udp '1234' socket

"udp send ff03::1 1234 $07"                                         to  udp '1234' socket

"udp send ff03::1 1234 $08"                                         to  udp '1234' socket

"udp send ff03::1 1234 $09"                                         to  udp '1234' socket

"udp send ff03::1 1234 $10"                                         to  udp '1234' socket

"udp send ff03::1 1234 $11"                                         to  udp '1234' socket

"udp send ff03::1 1234 $12"                                         to  udp '1234' socket

"udp send ff03::1 1234 $13"                                         to  udp '1234' socket

"udp send ff03::1 1234 $14"                                         to  udp '1234' socket

"udp send ff03::1 1234 $15"                                         to  udp '1234' socket

depending upon the value of last two characters (01 to 15 )

I need some gpio pins of nrf to change the state according to last two characters 

is it possible to access the rx character of uart 0 in thread cli ftd main main programm??

Related