hex - 接收二进制彩信
问题描述
当我通过 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
但是,当我将此网址放入浏览器时,它会将我带到一个空白页面。知道有什么问题吗?
解决方案
来自结果 URL 的响应返回一个Response Code 308 Unknown
,它重定向到https
url 的安全版本;在被重定向后,我收到了一个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
请求中发送正确的标头,因为会显示结果消息。希望这些信息可以引导您朝着正确的方向前进。
推荐阅读
- c# - 如何在 CsvHelper 中为所有类映射设置默认 NULL 值
- python-3.x - 使用递归打印从起点到目的地的所有路径 - Python
- javascript - 访问同一“返回值对象”中的 javascript 函数
- android - 如何在android中比较两个可绘制的图像
- react-native - React Native:uri在flatlist中多次呈现
- javascript - CSS - Microsoft Edge 中的绝对定位抖动
- java - 如何提取 Double [] 类型的元素
- java - 使用符号前缀验证用户名的正则表达式
- jquery - 如何使用 jQuery 在单击时创建选项列表弹出窗口
- c# - 在单元测试期间如何模拟 LUIS?