mgaman / PDUlib

Encode/Decode PDU strings for use with most GSM modems. Both 7 bit and 16 bit alphabets are supported.
GNU Lesser General Public License v2.1
22 stars 10 forks source link

Abbreviated number TON=6 #41

Closed asat232 closed 12 months ago

asat232 commented 12 months ago

Here is DPU i received: 07912460800065986004E18866000032114201032240A00500037C02019E531D08FAD43EA5A0E07258D481826B7ADA5E57D3CBA0791A543B0A41E4301DA40F83E6F0F2381D66BBD3A071D95D07C560B0E518A40EAFDFA027B95D76D741FA3028BCA6A7EDE1713A041286D9E971790D82BFE569729A5E06A9CB64F79B5C9F9741F632C81A9EA741D370FBFD16CFD9757D590712A7E92E76FE250EB3D3E3757E1A6C8250

asat232 commented 12 months ago

case 2: // national number case 6: // i added

and all seems to be handling correctly. Just for info, this is service message from SIM card operator https://www.sazkamobil.cz/

mgaman commented 12 months ago

Thanks for your input and sharing your work. I will not change my source code as I have no means of creating test data to verify the change. However I will update the README to reflect your recommendation.