NIBTSG_ATTR_PACKET_TYPE
- Updated2025-04-08
- 7 minute(s) read
Specifies the Bluetooth packet type.
Syntax
NIBTSG_ATTR_PACKET_TYPE
Numeric Value | Data Type | Access | Applies To |
---|---|---|---|
7 | int32 | Read/Write | N/A |
Remarks
The default value is NIBTSG_VAL_PACKET_TYPE_DH1.
Get Function: niBTSG_GetPacketType
Set Function: niBTSG_SetPacketType
Name | Value | Description |
---|---|---|
NIBTSG_VAL_PACKET_TYPE_NULL | 0 (0x0) | Specifies that the packet type is NULL. This packet has no payload and consists of the channel access code and packet header only. Refer to Section 6.5.1.2, Part B, Volume 2 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_POLL | 1 (0x1) | Specifies that the packet type is POLL. The POLL packet does not have a payload. Refer to Section 6.5.1.3, Part B, Volume 2 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_FHS | 2 (0x2) | Specifies that the packet type is frequency hop synchronization (FHS). The FHS packet is a special control packet containing the Bluetooth device address and the sender's clock. Refer to Section 6.5.1.4, Part B, Volume 2 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_DM1 | 3 (0x3) | Specifies that the packet type is DM1. The DM1 packet carries only data information. The information and cyclic redundancy check (CRC) bits are coded with a rate 2/3 FEC. The DM1 packet occupies a single time slot. Refer to Sections 6.5.1.5 and 6.5.4.1, Part B, Volume 2 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_DH1 | 4 (0x4) | Specifies that the packet type is DH1. This packet is similar to the DM1 packet, except that the information in the payload is not forward error correction (FEC) encoded. The DH1 packet occupies a single time slot. Refer to Sections 6.5.1.5 and 6.5.4.2, Part B, Volume 2 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_2DH1 | 5 (0x5) | Specifies that the packet type is 2-DH1. This packet is similar to the DH1 packet, except that the information in the payload is modulated using pi/4-QPSK. Refer to Section 6.5.4.8, Part B, Volume 2 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_HV1 | 6 (0x6) | Specifies that the packet type is HV1. The HV1 packet has 10 information bytes. Refer to Section 6.5.2.1, Part B, Volume 2 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_HV2 | 7 (0x7) | Specifies that the packet type is HV2. The HV2 packet has 20 information bytes. Refer to Section 6.5.2.3, Part B, Volume 2 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_2EV3 | 8 (0x8) | Specifies that the packet type is 2-EV3. This packet is similar to the EV3 packet, except that the payload is modulated using pi/4-DQPSK. It has 1 and 60 information bytes, inclusive, and a 16-bit CRC code. Refer to Section 6.5.3.4, Part B, Volume 2 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_HV3 | 9 (0x9) | Specifies that the packet type is HV3. The HV3 packet has 30 information bytes. The information bytes are not protected by forward error correction (FEC). Refer to Section 6.5.2.3, Part B, Volume 2 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_EV3 | 10 (0xa) | Specifies that the packet type is EV3. The EV3 packet has 1 to 30 information bytes, inclusive, and a 16-bit CRC code. Refer to Section 6.5.3.1, Part B, Volume 2 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_3EV3 | 11 (0xb) | Specifies that the packet type is 3-EV3. The 3-EV3 packet is similar to the EV3 packet, except that the payload is modulated using 8-DPSK. The 3-EV3 packet has 1 to 90 information bytes, inclusive and a 16-bit CRC code. Refer to Section 6.5.3.6, Part B, Volume 2 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_DV | 12 (0xc) | Specifies that the packet type is data voice (DV). The DV packet is a combined data-voice packet. Refer to Section 6.5.2.4, Part B, Volume 2 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_3DH1 | 13 (0xd) | Specifies that the packet type is 3-DH1. This packet is similar to the DH1 packet, except that the payload is modulated using 8-DPSK. Refer to Section 6.5.4.11, Part B, Volume 2 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_AUX1 | 14 (0xe) | Specifies that the packet type is AUX1. This packet resembles a DH1 packet but has no cyclic redundancy check (CRC) code. Refer to Section 6.5.4.7, Part B, Volume 2 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_DM3 | 15 (0xf) | Specifies that the packet type is DM3. This packet may occupy up to three time slots. The payload has 2 to 123 information bytes, inclusive (including the 2-byte payload header) and a 16-bit CRC code. Refer to Section 6.5.4.3, Part B, Volume 2 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_2DH3 | 16 (0x10) | Specifies that the packet type is 2-DH3. This packet is similar to the DH3 packet, except that the payload is modulated using pi/4-DQPSK. Refer to Section 6.5.4.9, Part B, Volume 2 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_DH3 | 17 (0x11) | Specifies that the packet type is DH3. This packet is similar to the DM3 packet, except that the information in the payload is not forward error correction (FEC) encoded. Refer to Section 6.5.4.4, Part B, Volume 2 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_3DH3 | 18 (0x12) | Specifies that the packet type is 3-DH3. This packet is similar to the DH3 packet, except that the payload is modulated using 8-DPSK. Refer to Section 6.5.4.12, Part B, Volume 2 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_EV4 | 19 (0x13) | Specifies that the packet type is EV4. The EV4 packet has 1 to 120 information bytes, inclusive, and a 16-bit CRC code. Refer to Section 6.5.3.2, Part B, Volume 2 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_2EV5 | 20 (0x14) | Specifies that the packet type is 2-EV5. The 2-EV5 packet is similar to the EV5 packet, except that the payload is modulated using pi/4-DQPSK. Refer to Section 6.5.3.5, Part B, Volume 2 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_EV5 | 21 (0x15) | Specifies that the packet type is EV5. The EV5 packet has 1 to 180 information bytes, inclusive, and a 16-bit CRC code. Refer to Section 6.5.3.3, Part B, Volume 2 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_3EV5 | 22 (0x16) | Specifies that the packet type is 3-EV5. The 3-EV5 packet is similar to the EV5 packet, except that the payload is modulated using 8-DPSK. Refer to Section 6.5.3.7, Part B, Volume 2 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_DM5 | 23 (0x17) | Specifies that the packet type is DM5. The payload has 2 to 226 information bytes (including the 2-byte payload header), inclusive, and a 16-bit CRC code. Refer to Section 6.5.4.6, Part B, Volume 2 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_2DH5 | 24 (0x18) | Specifies that the packet type is 2-DH5. This packet is similar to the DH5 packet, except that the payload is modulated using pi/4-DQPSK. Refer to Section 6.5.4.10, Part B, Volume 2 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_DH5 | 25 (0x19) | Specifies that the packet type is DH5. This packet is similar to the DM5 packet, except that the information in the payload is not forward error correction (FEC) encoded. Refer to Section 6.5.4.6, Part B, Volume 2 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_3DH5 | 26 (0x1a) | Specifies that the packet type is 3-DH5. This packet is similar to the DH5 packet, except that the payload is modulated using 8-DPSK. Refer to Section 6.5.4.13, Part B, Volume 2 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_LE_TP | 27 (0x1b) | Specifies that the packet type is LE-TP. Refer to Section 2.1, Part B, Volume 6 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_LE_TP_EXT | 28 (0x1c) | Specifies that the packet type is LE-TP-EXT. This packet is similar to the LE-TP packet, except that the payload length is extended up to 8191 bytes. For payload length up to 255 bytes, typical LE packet is generated. For payload length greater than 255 bytes, Hyper Length LE packet is generated. Refer to Section 2.1, Part B, Volume 6 of the Bluetooth Specification v4.2 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_LE_ENHANCED | 29 (0x1d) | Specifies that the packet type is LE-Enhanced. This is an LE packet type with a symbol rate of 2 Ms/s and maximum payload length of 8191 bytes. For payload length up to 255 bytes, typical LE packet is generated. For payload length greater than 255 bytes, Hyper Length LE packet is generated. Refer to Section 2.1, Part B, Volume 6 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_LE_LR_125K | 30 (0x1e) | Specifies that the packet type is LE-LR-125k. This is an LE packet type which supports long range communication at a data rate of 125 kbps. Refer to Section 2.2, Part B, Volume 6 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_LE_LR_500K | 31 (0x1f) | Specifies that the packet type is LE-LR-500k. This is an LE packet type which supports long range communication at a data rate of 500 kbps. Refer to Section 2.2, Part B, Volume 6 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_LE_CS_1M | 32 (0x20) | Specifies that the packet type is LE-CS-1M. This is a LE packet type which supports channel sounding feature at a data rate of 1Ms/s. Refer to Section 2, Part H, Volume 6 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_LE_CS_2M | 33 (0x21) | Specifies that the packet type is LE-CS-2M. This is a LE packet type which supports channel sounding feature at a data rate of 2Ms/s. Refer to Section 2, Part H, Volume 6 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_LE_HDT | 34 (0x22) | Specifies that the packet type is LE-HDT. This is a LE packet type which supports higher data rates (2 Mb/s, 3 Mb/s, 4 Mb/s, 6 Mb/s, and 7.5Mb/s). |
NIBTSG_VAL_PACKET_TYPE_ID | 254 (0xfe) | Specifies that the packet type is ID. The identity, or ID, packet consists of the device access code (DAC) or inquiry access code (IAC). Refer to Section 6.5.1.1, Part B, Volume 2 of the Bluetooth Specification v6.0 for more information about this packet. |
NIBTSG_VAL_PACKET_TYPE_IDLE | 255 (0xff) | Specifies that the packet type is Idle. This packet type is not defined in the Bluetooth Specification v6.0. You can use this packet to create empty slots between Bluetooth packets. |