Could you please tell me the reason of send binary with coap?I suggest you to use a different protocol or media formats.