接收二进制彩信
Receiving a binary MMS
当我通过 gammu 接收彩信时,它会收到二进制十六进制代码:
Location 100010, folder "Inbox", phone memory, Inbox folder
SMS message
SMSC number : "+12063130055"
Sent : Fri 14 Dec 2018 09:43:16 AM -0600
Class : 1
Coding : 8-bit
Remote number : "2300"
Status : Read
User Data Header : User UDH
8 bit SMS, cannot be displayed here
(hex: 83687474703A2F2F74746E6D6D736765742E6D73672E656E672E742D6D6F62696C652E636F6D2F6D6D732F776170656E633F543D6D61766F64692D362D3133622D38362D312D39632D36363065306366)
当我将十六进制代码放入十六进制解码器时:http://www.convertstring.com/EncodeDecode/HexDecode 它转换为以下内容 url:
http://ttnmmsget.msg.eng.t-mobile.com/mms/wapenc?T=mavodi-6-13b-86-1-9c-660e0cf
但是,当我将此 url 放入浏览器时,它会将我带到一个空白页面。知道哪里出了问题吗?
结果 URL returns 的响应 Response Code 308 Unknown
,重定向到 url 的安全 https
版本;重定向后,我收到 400 Bad Request
:
HTTP/1.1 400 Bad Request
Warning 299 GBA "Generic Bootstrapping Architecture (3GPP TS 33.220) support is required to access the requested resource"
Content-Length 0
Content-Type text/html; charset=UTF-8
Connection close
为了显示任何内容,您需要在 GET
请求中发送正确的 headers,因为会显示结果消息。希望这些信息可以引导您朝着正确的方向前进。
当我通过 gammu 接收彩信时,它会收到二进制十六进制代码:
Location 100010, folder "Inbox", phone memory, Inbox folder
SMS message
SMSC number : "+12063130055"
Sent : Fri 14 Dec 2018 09:43:16 AM -0600
Class : 1
Coding : 8-bit
Remote number : "2300"
Status : Read
User Data Header : User UDH
8 bit SMS, cannot be displayed here
(hex: 83687474703A2F2F74746E6D6D736765742E6D73672E656E672E742D6D6F62696C652E636F6D2F6D6D732F776170656E633F543D6D61766F64692D362D3133622D38362D312D39632D36363065306366)
当我将十六进制代码放入十六进制解码器时:http://www.convertstring.com/EncodeDecode/HexDecode 它转换为以下内容 url:
http://ttnmmsget.msg.eng.t-mobile.com/mms/wapenc?T=mavodi-6-13b-86-1-9c-660e0cf
但是,当我将此 url 放入浏览器时,它会将我带到一个空白页面。知道哪里出了问题吗?
结果 URL returns 的响应 Response Code 308 Unknown
,重定向到 url 的安全 https
版本;重定向后,我收到 400 Bad Request
:
HTTP/1.1 400 Bad Request
Warning 299 GBA "Generic Bootstrapping Architecture (3GPP TS 33.220) support is required to access the requested resource"
Content-Length 0
Content-Type text/html; charset=UTF-8
Connection close
为了显示任何内容,您需要在 GET
请求中发送正确的 headers,因为会显示结果消息。希望这些信息可以引导您朝着正确的方向前进。