I am working on some bluetooth project which sends the value in the form of 8 bit data from two characteristics i.e 8 bit data from one characteristic uuid and one more 8 bit data from another characteristic uuid.
I need to consider first 8 bit data is most significant byte and second 8 bit data is least significant byte.
Now i need to do combine them into a 16 bit value and display the result.
I am new to bit and bytes conversion in swift.
Please help me out.
Thanks in advance.