Free Advertising Forums | Free Advertising Board | Post Free Ads Forum | Free Advertising Forums Directory | Best Free Advertising Methods | Advertising Forums

Free Advertising Forums | Free Advertising Board | Post Free Ads Forum | Free Advertising Forums Directory | Best Free Advertising Methods | Advertising Forums (http://www.freeadvertisingzone.com/index.php)
-   Guest Books Directory (http://www.freeadvertisingzone.com/forumdisplay.php?f=59)
-   -   Find a extra renowned above the SMS-PDU constructo (http://www.freeadvertisingzone.com/showthread.php?t=1232076)

05-20-2011 12:29 PM

Find a extra renowned above the SMS-PDU constructo
 
Had wanted to detect a ready-made conversion of python's sms PDU level can no ascertain half-day,GHD Purple Butterfly 2011, find the retinue,GHD Purple Straighteners, prepared to make a python's lib

an sample to explain this to mail a PDU SMS AT mandates the entire process If I want to send the following message:
Receive No: +8613602433649
SMS content: a merry go!
SMS center number: +8613800200500

1 SMS center number processing: string addr said
1, the short information centre number to remove the + sign to look if the width of Even if I were you, increase F
the final addr = 2, the odd bits and even bits commute.
=> addr = ; => addr = > ambition remove the + phone number to see if the length is even, if it were not for, add F
that the last phone = => phone =
=> phone = converted to Unicode code,GHD Rare Straighteners, such as keep the number of two 16-band, that 5DE54F5C61095FEBFF01 = 20 / 2 => br> Fourth, the composition of
1,GHD Red Butterfly 2011, cell phone number added before the string 11000D91 (1100: fixed, 0D: phone number length, not the + sign, hexadecimal, 91: Send to phone 91, sent to the PHS to 81),
the phone = ; 2, with 000,800 mobile phone number and just behind the short message content, 000,GHD Blue Butterfly 2011,800 have died ashore it
book that phone = phone + that 11000D91683106423346F9 + 000800 + 0A5DE54F5C61095FEBFF01
=> phone = 11000D91683106423346F90008000A5DE54F5C61095FEBFF01
3, phone length divided at 2, formatted into two decimal number
that 11000D91683106423346F90008000A5DE54F5C61095FEBFF01 => 50 位 / 2 => 25

5,GHD Green Butterfly 2011, so the content to be sent
AT + CMGF = 0
OK
AT + CMGS = 25
> addr + phone

six, if the return is not ERROR, Congratulations, send a success ^ _ ^


All times are GMT. The time now is 01:50 PM.

Powered by vBulletin Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Free Advertising Forums | Free Advertising Message Boards | Post Free Ads Forum