Recently, I decided to undertake an SMS project to send and receive SMS, although mobile.
Data is sent in PDU format - I need to change the ASCII characters to 7-bit characters of the GSM alphabet. For this, I came across several examples, such as http://www.dreamfabric.com/sms/hello.html
This example shows the rightmost bits of the second septet that are inserted into the first septet to create an octet.
Bitwise shifts do not cause this to happen, as → will be inserted to the left, and <to the right. As far as I understand, I need something bitwise rotation to create this - can someone tell me how to move bits from the right hand and insert them on the left?
Thank,
source
share