首页 > 解决方案 > 接收二进制彩信

问题描述

当我通过 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它转换为以下网址:

http://ttnmmsget.msg.eng.t-mobile.com/mms/wapenc?T=mavodi-6-13b-86-1-9c-660e0cf

但是,当我将此网址放入浏览器时,它会将我带到一个空白页面。知道有什么问题吗?

标签: hexsmsmmsgammu

解决方案


来自结果 URL 的响应返回一个Response Code 308 Unknown,它重定向到httpsurl 的安全版本;在被重定向后,我收到了一个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请求中发送正确的标头,因为会显示结果消息。希望这些信息可以引导您朝着正确的方向前进。


推荐阅读