How to send/recieve UDP data? OpenHab2 on Raspberry (OpenHabian)

I just installed OH2 (OpenHabian) on Raspberry Pi 2.
I learning examples https://community.openhab.org/search?q=udp, but its all not worked on me.

  1. How to send HEX data (c0a801FA48444C4D495241434C45AAAA1001040079003101070600000003f806) on UDP port 6000 to_IP=192.168.1.250?
    If I send this from android app (https://pp.vk.me/c638230/v638230174/22de1/q4grj8owj00.jpg) my lamp goes out

  2. How listen UDP port 6000 and processing recieving data?
    If recieve HEX data c0a801FA48444C4D495241434C45AAAA1001040079003101070600000003f806,
    then need disassemble AAAA1001040079003101070600000003f806:
    07 device ID of targeted device (my dimmer)
    06 channel No (my room)
    00 intensity (turn off)

And how it state send to OH_switch?

I am interested too.

I do sending UDP data through bash on OpenHabian on Raspberry pi 2.
From rules OH i send data:

rule "RULE_RelayZal"
    when
    	Item RelayZal changed
    then
    	if (RelayZal.state==ON)  {executeCommandLine("bash /etc/openhab2/scripts/UDPsend.sh c0a801FA48444C4D495241434C45AAAA10010400790031010706640000036B25")}
    	if (RelayZal.state==OFF) {executeCommandLine("bash /etc/openhab2/scripts/UDPsend.sh c0a801FA48444C4D495241434C45AAAA1001040079003101070600000003f806")}
    end

In UDPsend.sh:

#!/bin/bash

echo $@ | xxd -r -p>/dev/udp/192.168.1.250/6000
echo 11

And do command:
chmod +x ./UDPsend.sh