+/* send a hello message */
+int8_t rc_proto_send_hello(uint64_t addr, void *data, uint8_t data_len)
+{
+ struct rc_proto_echo_req hdr;
+ struct xbee_msg msg;
+
+ hdr.type = RC_PROTO_HELLO;
+ hdr.datalen = data_len;
+
+ msg.iovlen = 2;
+ msg.iov[0].buf = &hdr;
+ msg.iov[0].len = sizeof(hdr);
+ msg.iov[1].buf = data;
+ msg.iov[1].len = data_len;
+
+ return xbeeapp_send_msg(addr, &msg, 1);
+}
+
+