SMPUtils

object SMPUtils

Utility class to convert the data into different data types

Functions

Link copied to clipboard
Link copied to clipboard
fun compareEpochTimeStamp(appSosTimeStamp: Long, accessoryTimeStamp: Long): Long
Link copied to clipboard

Convert byte array to integer

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getValuableData(receivedPacket: ByteArray, startIndex: Int): ByteArray
Link copied to clipboard
Link copied to clipboard
fun stringToBytesOfFixedSize(str: String, numberOfBytes: Int): ByteArray
Link copied to clipboard
fun trimMobileNumber(mobileNumber: String): String