24 #ifndef M2M_S2W_BLE_UTIL_H 25 #define M2M_S2W_BLE_UTIL_H VOID m2mb_ble_uuid128_StrToByteArray(char *hexstring, M2MB_BLE_UUID_128_T *uuid)
Converts 128 bit UUID HEX string to byte array.
M2MB_STATUS_T m2mb_ble_check_hex_string(INT8 *str)
Checks the input HEX string is valid or not.
Structure for 128 bit UUID.
VOID m2mb_ble_bdaddr_to_str(M2MB_BLE_BD_ADDR_T board_address, M2MB_BLE_BOARDSTR_T board_str)
Convert BD address into string format.
M2MB_STATUS_T m2mb_ble_str_to_bdaddr(char *board_str, M2MB_BLE_BD_ADDR_T *board_address)
Convert BD address into M2MB_BLE_BD_ADDR_T structure format.
BLE driver functionality.
Structure to store BLE address.
INT8 M2MB_BLE_BOARDSTR_T[16]
Type definition to hold Bluetooth device name in string format.
VOID m2mb_ble_ByteArrayToHexStr(UINT8 *byteArray, UINT16 byteArrayLen, UINT8 *hexStr)
Converts byte array to HEX string.
VOID m2mb_ble_hexStrToByteArray(UINT16 *len, UINT8 *hexStr, UINT8 *byteArray)
Converts HEX string to byte array.
VOID m2mb_ble_uuid16_StrToByteArray(char *hexstring, M2MB_BLE_UUID_16_T *uuid)
Converts 16 bit UUID HEX string to byte array.
Structure for 16 bit UUID.