Fortinet white logo
Fortinet white logo

CLI Reference

diagnose bluetooth

diagnose bluetooth

Diagnose command for bluetooth

This topic includes the following commands:

diagnose bluetooth bootloader

enable/disable bootloader

diagnose bluetooth bootloader <arg> <arg>

Parameter

Description

Type

Size

<arg>

0:disable, 1:enable

string

<arg>

arg

string

diagnose bluetooth cap

Set caparray delta

diagnose bluetooth cap <arg>

Parameter

Description

Type

Size

<arg>

delta

string

diagnose bluetooth command

cutomer hci command

diagnose bluetooth command <arg>

Parameter

Description

Type

Size

<arg>

command in hex string

string

diagnose bluetooth enable

enable bluetooth

diagnose bluetooth enable <arg> <arg>

Parameter

Description

Type

Size

<arg>

0:disable, 1:enable

string

<arg>

arg

string

diagnose bluetooth ext_enhanced_modem_hop_tx

ptm ext modem hop transmit (modulated test)

diagnose bluetooth ext_enhanced_modem_hop_tx <arg> <arg> <arg>

Parameter

Description

Type

Size

<arg>

length, 0-39

string

<arg>

code, 0-7

string

<arg>

speed, 0-6

string

diagnose bluetooth ext_enhanced_modem_rx

ptm ext modem receive

diagnose bluetooth ext_enhanced_modem_rx <arg> <arg>

Parameter

Description

Type

Size

<arg>

speed, 0-6

string

<arg>

channel, 0-39

string

diagnose bluetooth ext_enhanced_modem_tx

ptm ext modem transmit (unmodulated test)

diagnose bluetooth ext_enhanced_modem_tx <arg> <arg> <arg>

Parameter

Description

Type

Size

<arg>

cwMode, 0-1

string

<arg>

speed, 0-6

string

<arg>

channel, 0-39

string

diagnose bluetooth ext_modem_end

ptm ext modem end

diagnose bluetooth ext_modem_end

diagnose bluetooth ext_modem_tx

ptm ext modem transmit

diagnose bluetooth ext_modem_tx <arg> <arg>

Parameter

Description

Type

Size

<arg>

cwMode, 0-1

string

<arg>

channel, 0-39

string

diagnose bluetooth ext_tx_power

ext tx power

diagnose bluetooth ext_tx_power <arg>

Parameter

Description

Type

Size

<arg>

tx power

string

diagnose bluetooth ext_tx_power_dbm_cmd

ptm ext tx power dbm cmd

diagnose bluetooth ext_tx_power_dbm_cmd <arg>

Parameter

Description

Type

Size

<arg>

power

string

diagnose bluetooth force_bt_reset

force to reset Bluetooth mode

diagnose bluetooth force_bt_reset

diagnose bluetooth get_bt_adv_txpower

get Bluetooth advertising txpower

diagnose bluetooth get_bt_adv_txpower

diagnose bluetooth get_bt_castname

get Bluetooth parameter

diagnose bluetooth get_bt_castname

diagnose bluetooth get_bt_mac

get Bluetooth MAC

diagnose bluetooth get_bt_mac

diagnose bluetooth get_bt_name

get Bluetooth name

diagnose bluetooth get_bt_name

diagnose bluetooth get_bt_rf_fe_mode_and_bias

get Bluetooth RF FE mode and bias

diagnose bluetooth get_bt_rf_fe_mode_and_bias

diagnose bluetooth get_bt_state

get Bluetooth state

diagnose bluetooth get_bt_state

diagnose bluetooth get_bt_update

Check Bluetooth Firmware Update

diagnose bluetooth get_bt_update

diagnose bluetooth get_bt_version

get Bluetooth firmware revision

diagnose bluetooth get_bt_version

diagnose bluetooth le_msic_packet_size

ptm le msic packet size

diagnose bluetooth le_msic_packet_size <arg>

Parameter

Description

Type

Size

<arg>

packet_size, 0-255

string

diagnose bluetooth le_receive_test

ptm le receive test

diagnose bluetooth le_receive_test <arg>

Parameter

Description

Type

Size

<arg>

channel, 0-39

string

diagnose bluetooth le_test_end

ptm le test end

diagnose bluetooth le_test_end

diagnose bluetooth le_transmit_test

ptm le transmit test

diagnose bluetooth le_transmit_test <arg> <arg> <arg>

Parameter

Description

Type

Size

<arg>

channel, 0-39

string

<arg>

length, 0-39

string

<arg>

code, 0-7

string

diagnose bluetooth program

program bluetooth firmware

diagnose bluetooth program <arg>

Parameter

Description

Type

Size

<arg>

No arg to program normal firmware, ptm to program PTM firmware

string

diagnose bluetooth ptm

ptm mode enable

diagnose bluetooth ptm

diagnose bluetooth ptm_power

ptm power

diagnose bluetooth ptm_power <arg>

Parameter

Description

Type

Size

<arg>

power

string

diagnose bluetooth rx

ptm receive

diagnose bluetooth rx <arg>

Parameter

Description

Type

Size

<arg>

channel, 0-39

string

diagnose bluetooth set_bt_name

set Bluetooth name

diagnose bluetooth set_bt_name <arg>

Parameter

Description

Type

Size

<arg>

string: if name is empty, would set to unit's serial number

string

diagnose bluetooth set_bt_rxgain

set Bluetooth rxgain

diagnose bluetooth set_bt_rxgain <arg>

Parameter

Description

Type

Size

<arg>

rx gain

string

diagnose bluetooth set_bt_txpower

set Bluetooth txpower

diagnose bluetooth set_bt_txpower <arg>

Parameter

Description

Type

Size

<arg>

tx power

string

diagnose bluetooth status

bootloader status

diagnose bluetooth status

diagnose bluetooth test_bt_conn

test Bluetooth connection

diagnose bluetooth test_bt_conn

diagnose bluetooth tx

ptm transmit

diagnose bluetooth tx <arg> <arg> <arg>

Parameter

Description

Type

Size

<arg>

channel, 0-39

string

<arg>

lengh, 0-39

string

<arg>

code, 0-7

string

diagnose bluetooth

diagnose bluetooth

Diagnose command for bluetooth

This topic includes the following commands:

diagnose bluetooth bootloader

enable/disable bootloader

diagnose bluetooth bootloader <arg> <arg>

Parameter

Description

Type

Size

<arg>

0:disable, 1:enable

string

<arg>

arg

string

diagnose bluetooth cap

Set caparray delta

diagnose bluetooth cap <arg>

Parameter

Description

Type

Size

<arg>

delta

string

diagnose bluetooth command

cutomer hci command

diagnose bluetooth command <arg>

Parameter

Description

Type

Size

<arg>

command in hex string

string

diagnose bluetooth enable

enable bluetooth

diagnose bluetooth enable <arg> <arg>

Parameter

Description

Type

Size

<arg>

0:disable, 1:enable

string

<arg>

arg

string

diagnose bluetooth ext_enhanced_modem_hop_tx

ptm ext modem hop transmit (modulated test)

diagnose bluetooth ext_enhanced_modem_hop_tx <arg> <arg> <arg>

Parameter

Description

Type

Size

<arg>

length, 0-39

string

<arg>

code, 0-7

string

<arg>

speed, 0-6

string

diagnose bluetooth ext_enhanced_modem_rx

ptm ext modem receive

diagnose bluetooth ext_enhanced_modem_rx <arg> <arg>

Parameter

Description

Type

Size

<arg>

speed, 0-6

string

<arg>

channel, 0-39

string

diagnose bluetooth ext_enhanced_modem_tx

ptm ext modem transmit (unmodulated test)

diagnose bluetooth ext_enhanced_modem_tx <arg> <arg> <arg>

Parameter

Description

Type

Size

<arg>

cwMode, 0-1

string

<arg>

speed, 0-6

string

<arg>

channel, 0-39

string

diagnose bluetooth ext_modem_end

ptm ext modem end

diagnose bluetooth ext_modem_end

diagnose bluetooth ext_modem_tx

ptm ext modem transmit

diagnose bluetooth ext_modem_tx <arg> <arg>

Parameter

Description

Type

Size

<arg>

cwMode, 0-1

string

<arg>

channel, 0-39

string

diagnose bluetooth ext_tx_power

ext tx power

diagnose bluetooth ext_tx_power <arg>

Parameter

Description

Type

Size

<arg>

tx power

string

diagnose bluetooth ext_tx_power_dbm_cmd

ptm ext tx power dbm cmd

diagnose bluetooth ext_tx_power_dbm_cmd <arg>

Parameter

Description

Type

Size

<arg>

power

string

diagnose bluetooth force_bt_reset

force to reset Bluetooth mode

diagnose bluetooth force_bt_reset

diagnose bluetooth get_bt_adv_txpower

get Bluetooth advertising txpower

diagnose bluetooth get_bt_adv_txpower

diagnose bluetooth get_bt_castname

get Bluetooth parameter

diagnose bluetooth get_bt_castname

diagnose bluetooth get_bt_mac

get Bluetooth MAC

diagnose bluetooth get_bt_mac

diagnose bluetooth get_bt_name

get Bluetooth name

diagnose bluetooth get_bt_name

diagnose bluetooth get_bt_rf_fe_mode_and_bias

get Bluetooth RF FE mode and bias

diagnose bluetooth get_bt_rf_fe_mode_and_bias

diagnose bluetooth get_bt_state

get Bluetooth state

diagnose bluetooth get_bt_state

diagnose bluetooth get_bt_update

Check Bluetooth Firmware Update

diagnose bluetooth get_bt_update

diagnose bluetooth get_bt_version

get Bluetooth firmware revision

diagnose bluetooth get_bt_version

diagnose bluetooth le_msic_packet_size

ptm le msic packet size

diagnose bluetooth le_msic_packet_size <arg>

Parameter

Description

Type

Size

<arg>

packet_size, 0-255

string

diagnose bluetooth le_receive_test

ptm le receive test

diagnose bluetooth le_receive_test <arg>

Parameter

Description

Type

Size

<arg>

channel, 0-39

string

diagnose bluetooth le_test_end

ptm le test end

diagnose bluetooth le_test_end

diagnose bluetooth le_transmit_test

ptm le transmit test

diagnose bluetooth le_transmit_test <arg> <arg> <arg>

Parameter

Description

Type

Size

<arg>

channel, 0-39

string

<arg>

length, 0-39

string

<arg>

code, 0-7

string

diagnose bluetooth program

program bluetooth firmware

diagnose bluetooth program <arg>

Parameter

Description

Type

Size

<arg>

No arg to program normal firmware, ptm to program PTM firmware

string

diagnose bluetooth ptm

ptm mode enable

diagnose bluetooth ptm

diagnose bluetooth ptm_power

ptm power

diagnose bluetooth ptm_power <arg>

Parameter

Description

Type

Size

<arg>

power

string

diagnose bluetooth rx

ptm receive

diagnose bluetooth rx <arg>

Parameter

Description

Type

Size

<arg>

channel, 0-39

string

diagnose bluetooth set_bt_name

set Bluetooth name

diagnose bluetooth set_bt_name <arg>

Parameter

Description

Type

Size

<arg>

string: if name is empty, would set to unit's serial number

string

diagnose bluetooth set_bt_rxgain

set Bluetooth rxgain

diagnose bluetooth set_bt_rxgain <arg>

Parameter

Description

Type

Size

<arg>

rx gain

string

diagnose bluetooth set_bt_txpower

set Bluetooth txpower

diagnose bluetooth set_bt_txpower <arg>

Parameter

Description

Type

Size

<arg>

tx power

string

diagnose bluetooth status

bootloader status

diagnose bluetooth status

diagnose bluetooth test_bt_conn

test Bluetooth connection

diagnose bluetooth test_bt_conn

diagnose bluetooth tx

ptm transmit

diagnose bluetooth tx <arg> <arg> <arg>

Parameter

Description

Type

Size

<arg>

channel, 0-39

string

<arg>

lengh, 0-39

string

<arg>

code, 0-7

string