void BTrecv(notification_data* data) { Bluetooth bt = bluetooth_get_instance(); String recv=NULL; bool b=bt->FileRecv(bt,&recv); sprintf(data->result_text,"%s",b?"File Receiving on":"reciving failed"); }