ATTACH、服务请求值及错误码介绍

2023-11-23 20:20

本文主要是介绍ATTACH、服务请求值及错误码介绍,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

#**1、ATTACH附着相关取值

##1)ATTACH REQUEST消息中“EPS attach type”
8 7 6 5 4 3 2 1
EPS attach type IEI 0
Spare EPS attach type value octet 1

EPS attach type value (octet 1)
Bits
3 2 1
0 0 1 1:EPS attach
0 1 0 2:combined EPS/IMSI attach
0 1 1 3:EPS RLOS attach (NOTE)
1 1 0 6:EPS emergency attach
1 1 1 7:reserved

1代表EPS 附着、2代表联合附着。。。

##2)ATTACH ACCEPT消息中EPS attach result value的取值
EPS attach result value (octet 1)
Bits
3 2 1
0 0 1 EPS only
0 1 0 combined EPS/IMSI attach

All other values are reserved.

Bit 4 of octet 1 is spare and shall be coded as zero.

##3)EMM的具体原因值的编码规则
Cause value (octet 2)

Bits
8 7 6 5 4 3 2 1
0 0 0 0 0 0 1 0 IMSI unknown in HSS
0 0 0 0 0 0 1 1 Illegal UE
0 0 0 0 0 1 0 1 IMEI not accepted
0 0 0 0 0 1 1 0 Illegal ME
0 0 0 0 0 1 1 1 EPS services not allowed
0 0 0 0 1 0 0 0 EPS services and non-EPS services not allowed
0 0 0 0 1 0 0 1 UE identity cannot be derived by the network
0 0 0 0 1 0 1 0 Implicitly detached
0 0 0 0 1 0 1 1 PLMN not allowed
0 0 0 0 1 1 0 0 Tracking Area not allowed
0 0 0 0 1 1 0 1 Roaming not allowed in this tracking area
0 0 0 0 1 1 1 0 EPS services not allowed in this PLMN
0 0 0 0 1 1 1 1 No Suitable Cells In tracking area
0 0 0 1 0 0 0 0 MSC temporarily not reachable
0 0 0 1 0 0 0 1 Network failure
0 0 0 1 0 0 1 0 CS domain not available
0 0 0 1 0 0 1 1 ESM failure
0 0 0 1 0 1 0 0 MAC failure
0 0 0 1 0 1 0 1 Synch failure
0 0 0 1 0 1 1 0 Congestion
0 0 0 1 0 1 1 1 UE security capabilities mismatch
0 0 0 1 1 0 0 0 Security mode rejected, unspecified
0 0 0 1 1 0 0 1 Not authorized for this CSG
0 0 0 1 1 0 1 0 Non-EPS authentication unacceptable
0 0 0 1 1 1 1 1 Redirection to 5GCN required
0 0 1 0 0 0 1 1 Requested service option not authorized in this PLMN
0 0 1 0 0 1 1 1 CS service temporarily not available
0 0 1 0 1 0 0 0 No EPS bearer context activated
0 0 1 0 1 0 1 0 Severe network failure
0 1 0 0 1 1 1 0 PLMN not allowed to operate at the present UE location
0 1 0 1 1 1 1 1 Semantically incorrect message
0 1 1 0 0 0 0 0 Invalid mandatory information
0 1 1 0 0 0 0 1 Message type non-existent or not implemented
0 1 1 0 0 0 1 0 Message type not compatible with the protocol state
0 1 1 0 0 0 1 1 Information element non-existent or not implemented
0 1 1 0 0 1 0 0 Conditional IE error
0 1 1 0 0 1 0 1 Message not compatible with the protocol state
0 1 1 0 1 1 1 1 Protocol error, unspecified

##4)ESM的具体原因值的编码规则
Cause value (octet 2)

Bits
8 7 6 5 4 3 2 1
0 0 0 0 1 0 0 0 Operator Determined Barring
0 0 0 1 1 0 1 0 Insufficient resources
0 0 0 1 1 0 1 1 Missing or unknown APN
0 0 0 1 1 1 0 0 Unknown PDN type
0 0 0 1 1 1 0 1 User authentication or authorization failed
0 0 0 1 1 1 1 0 Request rejected by Serving GW or PDN GW
0 0 0 1 1 1 1 1 Request rejected, unspecified
0 0 1 0 0 0 0 0 Service option not supported
0 0 1 0 0 0 0 1 Requested service option not subscribed
0 0 1 0 0 0 1 0 Service option temporarily out of order
0 0 1 0 0 0 1 1 PTI already in use
0 0 1 0 0 1 0 0 Regular deactivation
0 0 1 0 0 1 0 1 EPS QoS not accepted
0 0 1 0 0 1 1 0 Network failure
0 0 1 0 0 1 1 1 Reactivation requested
0 0 1 0 1 0 0 1 Semantic error in the TFT operation
0 0 1 0 1 0 1 0 Syntactical error in the TFT operation
0 0 1 0 1 0 1 1 Invalid EPS bearer identity
0 0 1 0 1 1 0 0 Semantic errors in packet filter(s)
0 0 1 0 1 1 0 1 Syntactical errors in packet filter(s)
0 0 1 0 1 1 1 0 Unused (see NOTE 2)
0 0 1 0 1 1 1 1 PTI mismatch
0 0 1 1 0 0 0 1 Last PDN disconnection not allowed
0 0 1 1 0 0 1 0 PDN type IPv4 only allowed
0 0 1 1 0 0 1 1 PDN type IPv6 only allowed
0 0 1 1 0 1 0 0 Single address bearers only allowed
0 0 1 1 0 1 0 1 ESM information not received
0 0 1 1 0 1 1 0 PDN connection does not exist
0 0 1 1 0 1 1 1 Multiple PDN connections for a given APN not allowed
0 0 1 1 1 0 0 0 Collision with network initiated request
0 0 1 1 1 0 0 1 PDN type IPv4v6 only allowed
0 0 1 1 1 0 1 0 PDN type non IP only allowed
0 0 1 1 1 0 1 1 Unsupported QCI value
0 0 1 1 1 1 0 0 Bearer handling not supported
0 0 1 1 1 1 0 1 PDN type Ethernet only allowed
0 1 0 0 0 0 0 1 Maximum number of EPS bearers reached
0 1 0 0 0 0 1 0 Requested APN not supported in current RAT and PLMN combination
0 1 0 1 0 0 0 1 Invalid PTI value
0 1 0 1 1 1 1 1 Semantically incorrect message
0 1 1 0 0 0 0 0 Invalid mandatory information
0 1 1 0 0 0 0 1 Message type non-existent or not implemented
0 1 1 0 0 0 1 0 Message type not compatible with the protocol state
0 1 1 0 0 0 1 1 Information element non-existent or not implemented
0 1 1 0 0 1 0 0 Conditional IE error
0 1 1 0 0 1 0 1 Message not compatible with the protocol state
0 1 1 0 1 1 1 1 Protocol error, unspecified
0 1 1 1 0 0 0 0 APN restriction value incompatible with active EPS bearer context
0 1 1 1 0 0 0 1 Multiple accesses to a PDN connection not allowed

##5)S1AP错误码
在这里插入图片描述

#2、EXTENDED SERVICE REQUEST消息中Service type value的取值

8 7 6 5 4 3 2 1
Service type
IEI Service type value octet 1
Service type value (octet 1)

Service type value
Bits
4 3 2 1
0 0 0 0 mobile originating CS fallback or 1xCS fallback
0 0 0 1 mobile terminating CS fallback or 1xCS fallback
0 0 1 0 mobile originating CS fallback emergency call or 1xCS fallback emergency call
0 0 1 1 unused; shall be interpreted as “mobile originating CS fallback or 1xCS fallback”, if received by the network
0 1 0 0 unused; shall be interpreted as “mobile originating CS fallback or 1xCS fallback”, if received by the network
1 0 0 0 packet services via S1
1 0 0 1 unused; shall be interpreted as “packet services via S1”, if received by the network
1 0 1 0 unused; shall be interpreted as “packet services via S1”, if received by the network
1 0 1 1 unused; shall be interpreted as “packet services via S1”, if received by the network

#3、TRACKING AREA UPDATE REQUEST消息中“EPS update type取值
8 7 6 5 4 3 2 1
EPS update type
IEI “Active” flag EPS update type
Value octet 1

EPS update type value (octet 1, bit 1 to 3)

Bits

3 2 1
0 0 0 0:TA updating
0 0 1 1:combined TA/LA updating
0 1 0 2:combined TA/LA updating with IMSI attach
0 1 1 3:periodic updating
1 0 0 4:unused; shall be interpreted as “TA updating”, if received by the network.
1 0 1 5:unused; shall be interpreted as “TA updating”, if received by the network.

“Active” flag (octet 1, bit 4)
Bit
4
0 No bearer establishment requested
1 Bearer establishment requested

#4、DETACH REQUEST消息中DETACH REQUEST消息中Type of detach及Switch off的取值
Type of detach (octet 1)
UE>网络
Bits
3 2 1
0 0 1 EPS detach
0 1 0 IMSI detach
0 1 1 combined EPS/IMSI detach
1 1 0 reserved
1 1 1 reserved

网络>UE:
Bits
3 2 1
0 0 1 re-attach required
0 1 0 re-attach not required
0 1 1 IMSI detach
1 1 0 reserved
1 1 1 reserved

Switch off (octet 1)

UE>网络:
Bit
4
0 normal detach
1 switch off

这篇关于ATTACH、服务请求值及错误码介绍的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/420486

相关文章

Linux创建服务使用systemctl管理详解

《Linux创建服务使用systemctl管理详解》文章指导在Linux中创建systemd服务,设置文件权限为所有者读写、其他只读,重新加载配置,启动服务并检查状态,确保服务正常运行,关键步骤包括权... 目录创建服务 /usr/lib/systemd/system/设置服务文件权限:所有者读写js,其他

Java服务实现开启Debug远程调试

《Java服务实现开启Debug远程调试》文章介绍如何通过JVM参数开启Java服务远程调试,便于在线上排查问题,在IDEA中配置客户端连接,实现无需频繁部署的调试,提升效率... 目录一、背景二、相关图示说明三、具体操作步骤1、服务端配置2、客户端配置总结一、背景日常项目中,通常我们的代码都是部署到远程

5 种使用Python自动化处理PDF的实用方法介绍

《5种使用Python自动化处理PDF的实用方法介绍》自动化处理PDF文件已成为减少重复工作、提升工作效率的重要手段,本文将介绍五种实用方法,从内置工具到专业库,帮助你在Python中实现PDF任务... 目录使用内置库(os、subprocess)调用外部工具使用 PyPDF2 进行基本 PDF 操作使用

Python实现简单封装网络请求的示例详解

《Python实现简单封装网络请求的示例详解》这篇文章主要为大家详细介绍了Python实现简单封装网络请求的相关知识,文中的示例代码讲解详细,感兴趣的小伙伴可以跟随小编一起学习一下... 目录安装依赖核心功能说明1. 类与方法概览2.NetHelper类初始化参数3.ApiResponse类属性与方法使用实

SpringBoot 获取请求参数的常用注解及用法

《SpringBoot获取请求参数的常用注解及用法》SpringBoot通过@RequestParam、@PathVariable等注解支持从HTTP请求中获取参数,涵盖查询、路径、请求体、头、C... 目录SpringBoot 提供了多种注解来方便地从 HTTP 请求中获取参数以下是主要的注解及其用法:1

SpringBoot请求参数传递与接收示例详解

《SpringBoot请求参数传递与接收示例详解》本文给大家介绍SpringBoot请求参数传递与接收示例详解,本文通过实例代码给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋... 目录I. 基础参数传递i.查询参数(Query Parameters)ii.路径参数(Path Va

sysmain服务可以禁用吗? 电脑sysmain服务关闭后的影响与操作指南

《sysmain服务可以禁用吗?电脑sysmain服务关闭后的影响与操作指南》在Windows系统中,SysMain服务(原名Superfetch)作为一个旨在提升系统性能的关键组件,一直备受用户关... 在使用 Windows 系统时,有时候真有点像在「开盲盒」。全新安装系统后的「默认设置」,往往并不尽编

Python 基于http.server模块实现简单http服务的代码举例

《Python基于http.server模块实现简单http服务的代码举例》Pythonhttp.server模块通过继承BaseHTTPRequestHandler处理HTTP请求,使用Threa... 目录测试环境代码实现相关介绍模块简介类及相关函数简介参考链接测试环境win11专业版python

Java中HashMap的用法详细介绍

《Java中HashMap的用法详细介绍》JavaHashMap是一种高效的数据结构,用于存储键值对,它是基于哈希表实现的,提供快速的插入、删除和查找操作,:本文主要介绍Java中HashMap... 目录一.HashMap1.基本概念2.底层数据结构:3.HashCode和equals方法为什么重写Has

使用Python的requests库来发送HTTP请求的操作指南

《使用Python的requests库来发送HTTP请求的操作指南》使用Python的requests库发送HTTP请求是非常简单和直观的,requests库提供了丰富的API,可以发送各种类型的HT... 目录前言1. 安装 requests 库2. 发送 GET 请求3. 发送 POST 请求4. 发送