Microchip® Advanced Software Framework

wilc/common/source/nm_common.c File Reference

This module contains WILC common APIs declarations.

Copyright (c) 2016-2018 Microchip Technology Inc. and its subsidiaries.

#include "common/include/nm_common.h"

Functions

uint8 m2m_checksum (uint8 *buf, int sz)
 Calculates checksum for the specified number of data bytes in specified data buffer. More...
 
sint8 m2m_memcmp (uint8 *pu8Buff1, uint8 *pu8Buff2, uint32 u32Size)
 Compare specified number of data bytes in pu8Buff1 and pu8Buff2 and decide if they all match. More...
 
void m2m_memcpy (uint8 *pDst, uint8 *pSrc, uint32 sz)
 Copy specified number of bytes from source buffer to destination buffer. More...
 
void m2m_memset (uint8 *pBuf, uint8 val, uint32 sz)
 Set specified number of data bytes in specified data buffer to specified value. More...
 
uint16 m2m_strlen (uint8 *pcStr)
 Returns the length of a null terminated string buffer. More...
 
uint8 m2m_strncmp (uint8 *pcS1, uint8 *pcS2, uint16 u16Len)
 Compare specified number of data bytes in string buffers pcS1 and pcS2. More...
 
uint8m2m_strstr (uint8 *pcIn, uint8 *pcStr)
 Find the occurrence of pcStr string in pcIn string. More...