Placeholder Image

字幕列表 影片播放

  • The Host Controller Interface protocol is designed

  • to expose the firmware services to an external host controller.

  • A detailed feature description is given in corresponding HCI specification.

  • HCI minimizes transmission and processing time due to its binary character in comparison

  • to an ASCII based protocol.

  • The communication between host and the radio is based on HCI messages which can be sent

  • through a UART interface.

  • The HCI protocol defines three different types of messages:

  • 1.

  • Command Messages: always sent from the host controller to the radio module to trigger

  • a function.

  • 2.

  • Response Messages: sent from the radio module to the host controller to answer a preceding

  • HCI request message.

  • 3.

  • Event Messages: can be sent from the radio module to the host controller at any time

  • to indicate an event or to pass data which was received over the radio

  • over the radio link from a peer device.

  • An HCI message consists of a “Destination Endpoint Identifierand a ”Message Identifier”.

  • TheDestination Endpoint Identifieris used to separate between groups of functionalities,

  • likeDevice ManagementorLoRaWAN Radio Services”.

  • The functionalities within a group are distinguished byMessage Identifiersfollowed by the

  • payload of the corresponding message.

  • The HCI messages are protected by a 16 bit Frame Check Sum.

  • Afterwards the binary bit stream

  • is SLIP (Serial Line Interface Protocol) encoded.

  • There are 2 endpoint identifier:

  • - Device Management Endpoint Identifier - LoRaWAN Endpoint Identifier

  • Message Identifier identifies a specific type of message and is used to trigger a corresponding

  • service function or to indicate a service response or event when sent to the host controller.

  • This example shows the output of a request for Get Firmware Information,

  • which corresponds to the Device Management Endpoint Identifier 0x05.

  • The downlink message contains the following information:

  • - Endpoint and Message ID. - Status byte.

  • - Firmware information field which contains:

  • - FW version: In this case 1.16 which correspond with 1001

  • - Build counter: 72 which correspond with 4800 in Hex.

  • Then the date of this version, the Name of Firmware integrated LoRaWAN radio stack

  • band support and application, separated by semicolon

  • All of these parameters are defined in WiMOD LoRaWAN EndNode Modem HCI Specification.

The Host Controller Interface protocol is designed

字幕與單字

單字即點即查 點擊單字可以查詢單字解釋

B1 中級

LoRaWAN HCI (主機控制器接口) (LoRaWAN HCI (Host Controller Interface))

  • 37 2
    Ed 發佈於 2021 年 01 月 14 日
影片單字