Update blufi.rst

This commit is contained in:
Jin Fang Cheng Cheng 2018-06-06 12:05:27 +08:00
parent ad48c2689f
commit 4a25f18f21

View file

@ -117,187 +117,187 @@ The format of Ack Frame8 bit
**1.1 Control Frame (0x0b00)** **1.1 Control Frame (0x0b00)**
+-------------------------+--------------------------------------------------------------+---------------------------------------------------------------+---------------------------------------------------------------+ +-------------------------+--------------------------------------------------------------+---------------------------------------------------------------+---------------------------------------------------------------+
| Control Frame / 0x0b00 | Implication | Explanation | Note | | Control Frame / 0x0b00 | Implication | Explanation | Note |
+=========================+==============================================================+===============================================================+===============================================================+ +=========================+==============================================================+===============================================================+===============================================================+
| 0x0b000000 | Ack | The data field of the Ack frame uses the same | The data field consumes a byte and its value is | | 0x0b000000 | Ack | The data field of the Ack frame uses the same | The data field consumes a byte and its value is |
| | | sequence value of the frame to reply to. | the same as the sequence field of the frame to reply to. | | | | sequence value of the frame to reply to. | the same as the sequence field of the frame to reply to. |
+-------------------------+--------------------------------------------------------------+---------------------------------------------------------------+---------------------------------------------------------------+ +-------------------------+--------------------------------------------------------------+---------------------------------------------------------------+---------------------------------------------------------------+
| 0x1b000001 | Set ESP32 to the security mode. | To inform ESP32 of the security mode to use | The data field consumes a byte. | | 0x1b000001 | Set ESP32 to the security mode. | To inform ESP32 of the security mode to use | The data field consumes a byte. |
| | | when sending data, which is allowed to be reset | The higher 4 bits are for the security mode setting | | | | when sending data, which is allowed to be reset | The higher 4 bits are for the security mode setting |
| | | multiple times during the process. | of the control frame, and the lower 4 bits are for | | | | multiple times during the process. | of the control frame, and the lower 4 bits are for |
| | | Each setting affects the subsequent security mode used. | the security mode setting of the data frame. | | | | Each setting affects the subsequent security mode used. | the security mode setting of the data frame. |
+ + + If it is not set, ESP32 will send the control frame +---------------------------------------------------------------+ + + + If it is not set, ESP32 will send the control frame +---------------------------------------------------------------+
| | | and data frame with no checksum and encryption by default. | b0000: no checksum and no encryption; | | | | and data frame with no checksum and encryption by default. | b0000: no checksum and no encryption; |
+ + + The data transmission from the mobile phone to ESP32 is +---------------------------------------------------------------+ + + + The data transmission from the mobile phone to ESP32 is +---------------------------------------------------------------+
| | | controlled by this control frame. | b0001: with checksum but no encryption; | | | | controlled by this control frame. | b0001: with checksum but no encryption; |
+ + + +---------------------------------------------------------------+ + + + +---------------------------------------------------------------+
| | | | b0010: no checksum but with encryption; | | | | | b0010: no checksum but with encryption; |
+ + + +---------------------------------------------------------------+ + + + +---------------------------------------------------------------+
| | | | b0011: with both checksum and encryption. | | | | | b0011: with both checksum and encryption. |
+-------------------------+--------------------------------------------------------------+---------------------------------------------------------------+---------------------------------------------------------------+ +-------------------------+--------------------------------------------------------------+---------------------------------------------------------------+---------------------------------------------------------------+
| 0x2b000010 | Set the opmode of Wi-Fi. | The frame contains opmode settings for | data[0] is for opmode settings, including: | | 0x2b000010 | Set the opmode of Wi-Fi. | The frame contains opmode settings for | data[0] is for opmode settings, including: |
+ + + configuring for the Wi-Fi mode of ESP32. +---------------------------------------------------------------+ + + + configuring for the Wi-Fi mode of ESP32. +---------------------------------------------------------------+
| | | | 0x00: NULL | | | | | 0x00: NULL |
+ + + +---------------------------------------------------------------+ + + + +---------------------------------------------------------------+
| | | | 0x01: STA; | | | | | 0x01: STA; |
+ + + +---------------------------------------------------------------+ + + + +---------------------------------------------------------------+
| | | | 0x02: SoftAP; | | | | | 0x02: SoftAP; |
+ + + +---------------------------------------------------------------+ + + + +---------------------------------------------------------------+
| | | | 0x03: SoftAP&STA. | | | | | 0x03: SoftAP&STA. |
+ + + +---------------------------------------------------------------+ + + + +---------------------------------------------------------------+
| | | | Please set the SSID/Password/Max Connection Number of | | | | | Please set the SSID/Password/Max Connection Number of |
| | | | the AP mode in the first place if an AP gets involved. | | | | | the AP mode in the first place if an AP gets involved. |
+-------------------------+--------------------------------------------------------------+---------------------------------------------------------------+---------------------------------------------------------------+ +-------------------------+--------------------------------------------------------------+---------------------------------------------------------------+---------------------------------------------------------------+
| 0x3b000011 | Connect ESP32 to the AP. | To notify ESP32 that the essential information has been sent | No data field is contained. | | 0x3b000011 | Connect ESP32 to the AP. | To notify ESP32 that the essential information has been sent | No data field is contained. |
| | | and it is allowed to connect to the AP. | | | | | and it is allowed to connect to the AP. | |
+-------------------------+--------------------------------------------------------------+---------------------------------------------------------------+---------------------------------------------------------------+ +-------------------------+--------------------------------------------------------------+---------------------------------------------------------------+---------------------------------------------------------------+
| 0x4b000100 | Disconnect ESP32 from the AP. | | No data field is contained. | | 0x4b000100 | Disconnect ESP32 from the AP. | | No data field is contained. |
+-------------------------+--------------------------------------------------------------+---------------------------------------------------------------+---------------------------------------------------------------+ +-------------------------+--------------------------------------------------------------+---------------------------------------------------------------+---------------------------------------------------------------+
| 0x5b000101 | To get the information of ESP32s Wi-Fi mode and its status. | | No data field is contained. | | 0x5b000101 | To get the information of ESP32s Wi-Fi mode and its status. | | No data field is contained. |
| | | | When receiving this control frame, ESP32 will send back | | | | | When receiving this control frame, ESP32 will send back |
| | | | a follow-up frame of Wi-Fi connection state report to | | | | | a follow-up frame of Wi-Fi connection state report to |
| | | | the mobile phone with the information of the current opmode, | | | | | the mobile phone with the information of the current opmode, |
| | | | connection status, SSID and so on. | | | | | connection status, SSID and so on. |
| | | | The types of information sent to the mobile phone is | | | | | The types of information sent to the mobile phone is |
| | | | defined by the application installed on the phone. | | | | | defined by the application installed on the phone. |
+-------------------------+--------------------------------------------------------------+---------------------------------------------------------------+---------------------------------------------------------------+ +-------------------------+--------------------------------------------------------------+---------------------------------------------------------------+---------------------------------------------------------------+
| 0x6b000110 | Disconnect the STA device from the SoftAP (in SoftAP mode). | | Date[0~5] is taken as the MAC address for the STA device. | | 0x6b000110 | Disconnect the STA device from the SoftAP (in SoftAP mode). | | Date[0~5] is taken as the MAC address for the STA device. |
| | | | If there is a second STA device, then it uses data[6-11] | | | | | If there is a second STA device, then it uses data[6-11] |
| | | | and the rest can be done in the same manner. | | | | | and the rest can be done in the same manner. |
+-------------------------+--------------------------------------------------------------+---------------------------------------------------------------+---------------------------------------------------------------+ +-------------------------+--------------------------------------------------------------+---------------------------------------------------------------+---------------------------------------------------------------+
| 0x7b'000111 | Get the version information. | | | | 0x7b'000111 | Get the version information. | | |
+-------------------------+--------------------------------------------------------------+---------------------------------------------------------------+---------------------------------------------------------------+ +-------------------------+--------------------------------------------------------------+---------------------------------------------------------------+---------------------------------------------------------------+
| 0x8b001000 | Disconnect the BLE GATT link. | | ESP32 will disconnect the BLE GATT link | | 0x8b001000 | Disconnect the BLE GATT link. | | ESP32 will disconnect the BLE GATT link |
| | | | after receives this command. | | | | | after receives this command. |
+-------------------------+--------------------------------------------------------------+---------------------------------------------------------------+---------------------------------------------------------------+ +-------------------------+--------------------------------------------------------------+---------------------------------------------------------------+---------------------------------------------------------------+
| 0x9b001001 | Get the Wi-Fi list. | To get ESP32 to scan the Wi-Fi access points around. | No data field is contained. | | 0x9b001001 | Get the Wi-Fi list. | To get ESP32 to scan the Wi-Fi access points around. | No data field is contained. |
| | | | When receiving this control frame, | | | | | When receiving this control frame, |
| | | | ESP32 will send back a follow-up frame of Wi-Fi list | | | | | ESP32 will send back a follow-up frame of Wi-Fi list |
| | | | report to the mobile phone. | | | | | report to the mobile phone. |
+-------------------------+--------------------------------------------------------------+---------------------------------------------------------------+---------------------------------------------------------------+ +-------------------------+--------------------------------------------------------------+---------------------------------------------------------------+---------------------------------------------------------------+
**1.2 Data Frame (0x1b01)** **1.2 Data Frame (0x1b01)**
+--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+ +--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+
| Data Frame | Implication | Explanation | Note | | Data Frame | Implication | Explanation | Note |
+==============+====================================================+===============================================================+=======================================================================+ +==============+====================================================+===============================================================+=======================================================================+
| 0x0b000000 | Send the negotiation data. | The negotiation data will be sent to the callback | The length of the data depends on the length field. | | 0x0b000000 | Send the negotiation data. | The negotiation data will be sent to the callback | The length of the data depends on the length field. |
| | | function registered in the application layer. | | | | | function registered in the application layer. | |
+--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+ +--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+
| 0x1b000001 | Send the BSSID for STA mode. | To send the BSSID of the AP for the STA device to | The length of the data depends on the length field. | | 0x1b000001 | Send the BSSID for STA mode. | To send the BSSID of the AP for the STA device to | The length of the data depends on the length field. |
| | | connect under the condition that the SSID is hidden. | When the transmission direction is ESP32 to the mobile phone, | | | | connect under the condition that the SSID is hidden. | When the transmission direction is ESP32 to the mobile phone, |
| | | | it means to provide the mobile phone with the needed information. | | | | | it means to provide the mobile phone with the needed information. |
+--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+ +--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+
| 0x2b000010 | Send the SSID for STA mode. | To send the SSID of the AP for the STA device to connect. | The length of the data depends on the length field. | | 0x2b000010 | Send the SSID for STA mode. | To send the SSID of the AP for the STA device to connect. | The length of the data depends on the length field. |
| | | | When the transmission direction is ESP32 to the mobile phone, | | | | | When the transmission direction is ESP32 to the mobile phone, |
| | | | it means to provide the mobile phone with the needed information. | | | | | it means to provide the mobile phone with the needed information. |
+--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+ +--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+
| 0x3b000011 | Send the password for STA mode. | To send the password of the AP for the STA device to connect. | The length of the data depends on the length field. | | 0x3b000011 | Send the password for STA mode. | To send the password of the AP for the STA device to connect. | The length of the data depends on the length field. |
| | | | When the transmission direction is ESP32 to the mobile phone, | | | | | When the transmission direction is ESP32 to the mobile phone, |
| | | | it means to provide the mobile phone with the needed information. | | | | | it means to provide the mobile phone with the needed information. |
+--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+ +--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+
| 0x4b000100 | Send the SSID for SoftAP mode. | | The length of the data depends on the length field. | | 0x4b000100 | Send the SSID for SoftAP mode. | | The length of the data depends on the length field. |
| | | | When the transmission direction is ESP32 to the mobile phone, | | | | | When the transmission direction is ESP32 to the mobile phone, |
| | | | it means to provide the mobile phone with the needed information. | | | | | it means to provide the mobile phone with the needed information. |
+--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+ +--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+
| 0x5b000101 | Send the password for SoftAPmode. | | The length of the data depends on the length field. | | 0x5b000101 | Send the password for SoftAPmode. | | The length of the data depends on the length field. |
| | | | When the transmission direction is ESP32 to the mobile phone, | | | | | When the transmission direction is ESP32 to the mobile phone, |
| | | | it means to provide the mobile phone with the needed information. | | | | | it means to provide the mobile phone with the needed information. |
+--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+ +--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+
| 0x6b000110 | Set the maximum connection number for SoftAP mode. | | data[0] represents the value of the connection number, | | 0x6b000110 | Set the maximum connection number for SoftAP mode. | | data[0] represents the value of the connection number, |
| | | | ranging from 1 to 4. When the transmission direction is ESP32 | | | | | ranging from 1 to 4. When the transmission direction is ESP32 |
| | | | to the mobile phone, it means to provide the mobile phone with | | | | | to the mobile phone, it means to provide the mobile phone with |
| | | | the needed information. | | | | | the needed information. |
+--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+ +--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+
| 0x7b000111 | Set the authentication mode for the SoftAP. | | data[0] | | 0x7b000111 | Set the authentication mode for the SoftAP. | | data[0] |
+ + + +-----------------------------------------------------------------------+ + + + +-----------------------------------------------------------------------+
| | | | 0x00: OPEN | | | | | 0x00: OPEN |
+ + + +-----------------------------------------------------------------------+ + + + +-----------------------------------------------------------------------+
| | | | 0x01: WEP | | | | | 0x01: WEP |
+ + + +-----------------------------------------------------------------------+ + + + +-----------------------------------------------------------------------+
| | | | 0x02: WPA_PSK | | | | | 0x02: WPA_PSK |
+ + + +-----------------------------------------------------------------------+ + + + +-----------------------------------------------------------------------+
| | | | 0x03: WPA2_PSK | | | | | 0x03: WPA2_PSK |
+ + + +-----------------------------------------------------------------------+ + + + +-----------------------------------------------------------------------+
| | | | 0x04: WPA_WPA2_PSK | | | | | 0x04: WPA_WPA2_PSK |
+ + + +-----------------------------------------------------------------------+ + + + +-----------------------------------------------------------------------+
| | | | When the transmission direction is ESP32 to the mobile phone, | | | | | When the transmission direction is ESP32 to the mobile phone, |
| | | | it means to provide the mobile phone with the needed information. | | | | | it means to provide the mobile phone with the needed information. |
+--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+ +--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+
| 0x8b001000 | Set the channel amount for SoftAP mode. | | data[0] represents the quantity of the supported channels, | | 0x8b001000 | Set the channel amount for SoftAP mode. | | data[0] represents the quantity of the supported channels, |
| | | | ranging from 1 to 14. | | | | | ranging from 1 to 14. |
| | | | When the transmission direction is ESP32 to the mobile phone, | | | | | When the transmission direction is ESP32 to the mobile phone, |
| | | | it means to provide the mobile phone with the needed information. | | | | | it means to provide the mobile phone with the needed information. |
+--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+ +--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+
| 0x9b001001 | Username | It provides the username of the GATT client when using | The length of the data depends on the length field. | | 0x9b001001 | Username | It provides the username of the GATT client when using | The length of the data depends on the length field. |
| | | encryption of enterprise level. | | | | | encryption of enterprise level. | |
+--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+ +--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+
| 0xab001010 | CA Certification | It provides the CA Certification when using encryption | The length of the data depends on the length field. | | 0xab001010 | CA Certification | It provides the CA Certification when using encryption | The length of the data depends on the length field. |
| | | of enterprise level. | The frame supports to be fragmented if the data length is not enough. | | | | of enterprise level. | The frame supports to be fragmented if the data length is not enough. |
+--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+ +--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+
| 0xbb001011 | Client Certification | It provides the client certification when | The length of the data depends on the length field. | | 0xbb001011 | Client Certification | It provides the client certification when | The length of the data depends on the length field. |
| | | using encryption of enterprise level. | The frame supports to be fragmented if the data length is not enough. | | | | using encryption of enterprise level. | The frame supports to be fragmented if the data length is not enough. |
| | | Whether the private key is contained or not | | | | | Whether the private key is contained or not | |
| | | depends on the content of the certification. | | | | | depends on the content of the certification. | |
+--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+ +--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+
| 0xcb001100 | Server Certification | It provides the sever certification when using | The length of the data depends on the length field. | | 0xcb001100 | Server Certification | It provides the sever certification when using | The length of the data depends on the length field. |
| | | encryption of enterprise level. Whether the private key is | The frame supports to be fragmented if the data length is not enough. | | | | encryption of enterprise level. Whether the private key is | The frame supports to be fragmented if the data length is not enough. |
| | | contained or not depends on the content of the certification. | | | | | contained or not depends on the content of the certification. | |
+--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+ +--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+
| 0xdb001101 | ClientPrivate Key | It provides the private key of the client when | The length of the data depends on the length field. | | 0xdb001101 | ClientPrivate Key | It provides the private key of the client when | The length of the data depends on the length field. |
| | | using encryption of enterprise level. | The frame supports to be fragmented if the data length is not enough. | | | | using encryption of enterprise level. | The frame supports to be fragmented if the data length is not enough. |
+--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+ +--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+
| 0xeb001110 | ServerPrivate Key | It provides the private key of the sever when | The length of the data depends on the length field. | | 0xeb001110 | ServerPrivate Key | It provides the private key of the sever when | The length of the data depends on the length field. |
| | | using encryption of enterprise level. | The frame supports to be fragmented if the data length is not enough. | | | | using encryption of enterprise level. | The frame supports to be fragmented if the data length is not enough. |
+--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+ +--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+
| 0xfb001111 | Wi-Fi Connection State Report | To notify the phone of the ESP32's Wi-Fi status, | data[0] represents opmode, including: | | 0xfb001111 | Wi-Fi Connection State Report | To notify the phone of the ESP32's Wi-Fi status, | data[0] represents opmode, including: |
+ + + including STA status and SoftAP status. +-----------------------------------------------------------------------+ + + + including STA status and SoftAP status. +-----------------------------------------------------------------------+
| | | It is for the STA device to connect to the | 0x00: NULL | | | | It is for the STA device to connect to the | 0x00: NULL |
+ + + mobile phone or the SoftAP. +-----------------------------------------------------------------------+ + + + mobile phone or the SoftAP. +-----------------------------------------------------------------------+
| | | However, when the mobile phone receives the Wi-Fi status, | 0x01: STA | | | | However, when the mobile phone receives the Wi-Fi status, | 0x01: STA |
+ + + it can reply to other frames in addition to this frame. +-----------------------------------------------------------------------+ + + + it can reply to other frames in addition to this frame. +-----------------------------------------------------------------------+
| | | | 0x02: SoftAP | | | | | 0x02: SoftAP |
+ + + +-----------------------------------------------------------------------+ + + + +-----------------------------------------------------------------------+
| | | | 0x03: SoftAP&STA | | | | | 0x03: SoftAP&STA |
+ + + +-----------------------------------------------------------------------+ + + + +-----------------------------------------------------------------------+
| | | | data[1]the connection state of the STA device, | | | | | data[1]the connection state of the STA device, |
| | | | 0x0 indicates a connection state, | | | | | 0x0 indicates a connection state, |
| | | | and others represent a disconnected state; | | | | | and others represent a disconnected state; |
+ + + +-----------------------------------------------------------------------+ + + + +-----------------------------------------------------------------------+
| | | | data[2]the connection state of the SoftAP, | | | | | data[2]the connection state of the SoftAP, |
| | | | that is, how many STA devices have been connected. | | | | | that is, how many STA devices have been connected. |
+ + + +-----------------------------------------------------------------------+ + + + +-----------------------------------------------------------------------+
| | | | data[3] and the subsequent is in accordance with the | | | | | data[3] and the subsequent is in accordance with the |
| | | | format of SSID/BSSID information. | | | | | format of SSID/BSSID information. |
+--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+ +--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+
| 0x10b010000 | Version | | data[0]= great versiondata[1]= sub version | | 0x10b010000 | Version | | data[0]= great versiondata[1]= sub version |
+--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+ +--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+
| 0x11B010001 | Wi-Fi List | To send the Wi-Fi list to ESP32. | The format of the data frame is length + RSSI + SSID | | 0x11B010001 | Wi-Fi List | To send the Wi-Fi list to ESP32. | The format of the data frame is length + RSSI + SSID |
| | | | and it supports to be sent into fragments | | | | | and it supports to be sent into fragments |
| | | | if the data length is too long. | | | | | if the data length is too long. |
+--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+ +--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+
| 0x12B010010 | Report Error | To notify the mobile phone that there is an error with BluFi. | 0x00: sequence error | | 0x12B010010 | Report Error | To notify the mobile phone that there is an error with BluFi. | 0x00: sequence error |
+ + + +-----------------------------------------------------------------------+ + + + +-----------------------------------------------------------------------+
| | | | 0x01: checksum error | | | | | 0x01: checksum error |
+ + + +-----------------------------------------------------------------------+ + + + +-----------------------------------------------------------------------+
| | | | 0x02: decrypt error | | | | | 0x02: decrypt error |
+ + + +-----------------------------------------------------------------------+ + + + +-----------------------------------------------------------------------+
| | | | 0x03: encrypt error | | | | | 0x03: encrypt error |
+ + + +-----------------------------------------------------------------------+ + + + +-----------------------------------------------------------------------+
| | | | 0x04: init security error | | | | | 0x04: init security error |
+ + + +-----------------------------------------------------------------------+ + + + +-----------------------------------------------------------------------+
| | | | 0x05: dh malloc error | | | | | 0x05: dh malloc error |
+ + + +-----------------------------------------------------------------------+ + + + +-----------------------------------------------------------------------+
| | | | 0x06: dh param error | | | | | 0x06: dh param error |
+ + + +-----------------------------------------------------------------------+ + + + +-----------------------------------------------------------------------+
| | | | 0x07: read param error | | | | | 0x07: read param error |
+ + + +-----------------------------------------------------------------------+ + + + +-----------------------------------------------------------------------+
| | | | 0x08: make public error | | | | | 0x08: make public error |
+--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+ +--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+
| 0x13B010011 | Custom Data | To send or receive custom data. | The data frame supports to be sent into | | 0x13B010011 | Custom Data | To send or receive custom data. | The data frame supports to be sent into |
| | | | fragments if the data length is too long. | | | | | fragments if the data length is too long. |
+--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+ +--------------+----------------------------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------+
2. Frame Control 2. Frame Control