/* function receives a message from a connection-mode socket 
recv */
INT16 CC3000_EXPORT() recv(INT32 sd, void *buf, INT32 len, INT32 flags)
/* function receives a message from a connection-mode socket 
recv */
INT16 CC3000_EXPORT() recv(INT32 sd, void *buf, INT32 len, INT32 flags)
{
	return(simple_link_recv(sd, buf, len, flags, NULL, NULL, HCI_CMND_RECV));
}