lorawan中AppEUI是怎么定义的?

How is AppEUI defined in lorawan?

我正在使用多个 LoRaWAN 平台,我很困惑,因为不同的平台处理 AppEUI 的方式不同。

The Things Network 在我创建应用程序时自动生成应用程序 eui。但是,橙色没有。 Orange 只给我应用程序 eui 的文本输入字段并说,"You can create your own app eui."。

我的问题是:

  1. app eui如何用于加入请求? app eui是用来识别应用服务器的吗?

  2. app EUI在ver 1.0.3和ver 1.1中的使用方式不同吗?

  3. 那么,我该如何定义 App EUI?我可以随意定义应用程序 eui 吗?

这是 lorawan 1.0.3 的一些文字 specification:

923 6.1.2 Application identifier (AppEUI)
924 The AppEUI is a global application ID in IEEE EUI64 address space that uniquely identifies
925 the entity able to process the JoinReq frame.
926 The AppEUI is stored in the end-device before the activation procedure is executed.

和相关的1.1 specification:

1317 6.1.1.1 JoinEUI
1318 The JoinEUI is a global application ID in IEEE EUI64 address space that uniquely identifies 
1319 the Join Server that is able to assist in the processing of the Join procedure and the session 
1320 keys derivation. 
1321 For OTAA devices, the JoinEUI MUST be stored in the end-device before the Join
1322 procedure is executed. The JoinEUI is not required for ABP only end-devices

请注意,在 1.0.3 和 1.1 之间,AppEui 的名称已更改为 JoinEui。

v1.0.3的密钥派生方案 这是 v1.1 的密钥推导方案:

所以回答你的问题:

  1. AppEui (JoinEui) 用于派生会话密钥并向网络服务器识别您的节点。它与 DevEui 一起识别您的节点。应用服务器使用MQTT订阅网络服务器产生的数据流。在 TTN,这是通过以下模式完成的:<AppID>/devices/<DevID>/<up/down>。 Downlink 数据包在网关基础上处理。网络服务器知道哪些网关收到了 uplink 和 chooses a gateway to transmit the downlink over. 如果我们查看物联网,那么您可以看到它们如何确定哪些密钥是哪个应用程序的一部分。您 link 应用程序的每个节点的 appeui 和 deveui,系统将推断哪些数据包是哪个应用程序的一部分。
  2. 如上图所示,加密方案在 1.0.3 和 1.1 之间发生了变化。但这对于只使用库或 API.
  3. 的最终用户来说并不重要
  4. AppEui 分配在一组space 中,就像MAC 地址和USB PID 和VID 号一样。 The Things Network 分配了以 70B3D57ED 开头的地址 space。但是,如果您拥有自己的 AppEui,则可以设置自己的 AppEui。有一个自定义 AppEui 字段的按钮,然后它将允许您设置它。