Changes

no edit summary
Line 186: Line 186:  
* Phone number:
 
* Phone number:
   −
Let’s say we have the following phone number, which would be used as a recipient <b>0011123456789</b> (where 00 is a substitute for a plus sign and 111 represents the country code). This number’s representation in hexadecimal format would be 30 30 31 31 31 32 33 34 35 36 37 38 39, but since <b>10</b> registers are reserved for a phone number, the remaining spaces should be filled with zeroes, resulting in the following phone number representation: <b>0x3030 0x3131 0x3132 0x3334 0x3536 0x3738 0x3900 0 0 0</b>. Here 0x characters are needed for the modbus-cli application to treat input as hexadecimal values.
+
Let’s say we have the following phone number, which would be used as a recipient <b>0011123456789</b> (where 00 is a substitute for a plus sign and 111 represents the country code). This number’s representation in hexadecimal format would be 30 30 31 31 31 32 33 34 35 36 37 38 39, but since <b>10</b> registers are reserved for a phone number, the remaining spaces should be filled with zeroes, resulting in the following phone number representation:  
 +
0x3030 0x3131 0x3132 0x3334 0x3536 0x3738 0x3900 0 0 0
 +
 +
Here 0x characters are needed for the modbus-cli application to treat input as hexadecimal values.
    
* Message:
 
* Message:
   −
If we would want to send <b>Hello, this is a test SMS message</b>, this message’s representation in hexadecimal format would be <b>0x4865 0x6C6C 0x6F2C 0x2074 0x6869 0x7320 0x6973 0x2061 0x2074 0x6573 0x7400</b>.
+
If we would want to send <b>Hello, this is a test SMS message</b>, this message’s representation in hexadecimal format would be  
 +
0x4865 0x6C6C 0x6F2C 0x2074 0x6869 0x7320 0x6973 0x2061 0x2074 0x6573 0x7400
    
* Full command:
 
* Full command:

Navigation menu