多次开关蓝牙协议栈,buf耗尽


这个是多次输入ATBp命令后,出现的错误,看着像是fw_buf用完了导致的。

下面这个是正常的开蓝牙协议之后的打印

这张图是重新开机然后第一次正常开关蓝牙协议到出现问题的全部buf次数。

是不是在输入ATBp=0的时候,关闭蓝牙协议栈时,没有释放掉某些东西导致的这个结果

@FFF-420

所以是启动失败后,搜不到 ble peripheral?
你在用哪个 SDK 版本?
通常是需要开关几次才会失败?这个次数是固定的还是会改变?

FFF-420

1 分钟

对的,启动失败之后是搜索不到 ble peripheral。
版本应该是7.1d吧,我也不太清楚
image
我是用的这个
12次,第13次是会失败

对的,启动失败之后是搜索不到 ble peripheral。
版本应该是7.1d吧,我也不太清楚
image
我是用的这个
12次,第13次是会失败

@FFF-420

我试了一下,并没有出现像你那样的问题。
问一下你的 SDK 来源于哪里?有可能更新一下可以解决问题。


== Rtl8710c IoT Platform ==
Chip VID: 5, Ver: 3
ROM Version: v3.0

== Boot Loader ==
Jul 20 2022:18:22:42

Boot Loader <==

== RAM Start ==
Build @ 14:52:31, Jan  3 2023

$8710c>interface 0 is initialized
interface 1 is initialized

Initializing WIFI ...
[Driver]: set ssid [Aurical_2G]
scan report rssi: -20 bssid: 24:4b:fe:c4:93:50
scan report rssi: -20 bssid: 24:4b:fe:c4:93:50

[Driver]: start auth to 24:4b:fe:c4:93:50

[Driver]: auth alg = 2

[Driver]: auth success, start assoc

[Driver]: association success(res=1)

[Driver]: set pairwise key to hw: alg:4(WEP40-1 WEP104-5 TKIP-2 AES-4)

[Driver]: set group key to hw: alg:4(WEP40-1 WEP104-5 TKIP-2 AES-4) keyid:2

Interface 0 IP address : 192.168.1.220
WIFI initialized

init_thread(55), Available heap 0x419fd0
#ATBp
[ATBp] Start BLE Peripheral: ATBp=1
[ATBp] Stop  BLE Peripheral: ATBp=0

[MEM] After do cmd, available heap 4305968


#
ATBp=1
[ATBp]:_AT_BLE_PERIPHERAL_[ON]

BT BUILD Date: Jan  3 2023, 15:25:47
BT RESET LOG...
BT Reset ok
bt_iqk_efuse_valid: has data

hci_tp_phy_efuse[0]=0,
bt_dump_iqk:    DUMP,
the IQK_xx  data is 0x10d,
the IQK_yy  data is 0x3ff,
the QDAC   data is 0x1f,
the IDAC   data is 0x21,
the QDAC2  data is 0x20,
the IDAC2  data is 0x20,
hci_read_rom_check: rom_version 0x0003, bt_hci_chip_id 0x0004
hci_rtk_parse_config: BT ADDRESS 99 88 77 44 55 66, use the default config

 WRITE  physical FLATK=tx_flatk=1
We use fw_buf = 0x1002b1a8, fw_len = 0x1e34, config_buf = 0x1002cfe8, config_len = 0x32
Set baudrate to 921600

hci_tp_config:BT INIT success 7
Start upperStack

[BLE peripheral] GAP stack ready
local bd addr: 0x66:55:44:77:88:99

GAP adv start

[MEM] After do cmd, available heap 4274256


#
ATBp=0
[ATBp]:_AT_BLE_PERIPHERAL_[OFF]

[BLE Peripheral]BT Stack deinitalized

[MEM] After do cmd, available heap 4305968


#
ATBp=1
[ATBp]:_AT_BLE_PERIPHERAL_[ON]

BT BUILD Date: Jan  3 2023, 15:25:47
BT RESET LOG...
BT Reset ok
bt_iqk_efuse_valid: has data

hci_tp_phy_efuse[0]=0,
bt_dump_iqk:    DUMP,
the IQK_xx  data is 0x10d,
the IQK_yy  data is 0x3ff,
the QDAC   data is 0x1f,
the IDAC   data is 0x21,
the QDAC2  data is 0x20,
the IDAC2  data is 0x20,
hci_read_rom_check: rom_version 0x0003, bt_hci_chip_id 0x0004
hci_rtk_parse_config: BT ADDRESS 99 88 77 44 55 66, use the default config

 WRITE  physical FLATK=tx_flatk=1
We use fw_buf = 0x1002b1a8, fw_len = 0x1e34, config_buf = 0x1002cfe8, config_len = 0x32
Set baudrate to 921600

hci_tp_config:BT INIT success 7
Start upperStack

[BLE peripheral] GAP stack ready
local bd addr: 0x66:55:44:77:88:99

GAP adv start

[MEM] After do cmd, available heap 4274256


#
ATBp=0
[ATBp]:_AT_BLE_PERIPHERAL_[OFF]

[BLE Peripheral]BT Stack deinitalized

[MEM] After do cmd, available heap 4305968


#
ATBp=1
[ATBp]:_AT_BLE_PERIPHERAL_[ON]

BT BUILD Date: Jan  3 2023, 15:25:47
BT RESET LOG...
BT Reset ok
bt_iqk_efuse_valid: has data

hci_tp_phy_efuse[0]=0,
bt_dump_iqk:    DUMP,
the IQK_xx  data is 0x10d,
the IQK_yy  data is 0x3ff,
the QDAC   data is 0x1f,
the IDAC   data is 0x21,
the QDAC2  data is 0x20,
the IDAC2  data is 0x20,
hci_read_rom_check: rom_version 0x0003, bt_hci_chip_id 0x0004
hci_rtk_parse_config: BT ADDRESS 99 88 77 44 55 66, use the default config

 WRITE  physical FLATK=tx_flatk=1
We use fw_buf = 0x1002b1a8, fw_len = 0x1e34, config_buf = 0x1002cfe8, config_len = 0x32
Set baudrate to 921600

hci_tp_config:BT INIT success 7
Start upperStack

[BLE peripheral] GAP stack ready
local bd addr: 0x66:55:44:77:88:99

GAP adv start

[MEM] After do cmd, available heap 4274256


#
ATBp=0
[ATBp]:_AT_BLE_PERIPHERAL_[OFF]

[BLE Peripheral]BT Stack deinitalized

[MEM] After do cmd, available heap 4305968


#
ATBp=1
[ATBp]:_AT_BLE_PERIPHERAL_[ON]

BT BUILD Date: Jan  3 2023, 15:25:47
BT RESET LOG...
BT Reset ok
bt_iqk_efuse_valid: has data

hci_tp_phy_efuse[0]=0,
bt_dump_iqk:    DUMP,
the IQK_xx  data is 0x10d,
the IQK_yy  data is 0x3ff,
the QDAC   data is 0x1f,
the IDAC   data is 0x21,
the QDAC2  data is 0x20,
the IDAC2  data is 0x20,
hci_read_rom_check: rom_version 0x0003, bt_hci_chip_id 0x0004
hci_rtk_parse_config: BT ADDRESS 99 88 77 44 55 66, use the default config

 WRITE  physical FLATK=tx_flatk=1
We use fw_buf = 0x1002b1a8, fw_len = 0x1e34, config_buf = 0x1002cfe8, config_len = 0x32
Set baudrate to 921600

hci_tp_config:BT INIT success 7
Start upperStack

[BLE peripheral] GAP stack ready
local bd addr: 0x66:55:44:77:88:99

GAP adv start

[MEM] After do cmd, available heap 4274256


#
ATBp=0
[ATBp]:_AT_BLE_PERIPHERAL_[OFF]

[BLE Peripheral]BT Stack deinitalized

[MEM] After do cmd, available heap 4305968


#
ATBp=1
[ATBp]:_AT_BLE_PERIPHERAL_[ON]

BT BUILD Date: Jan  3 2023, 15:25:47
BT RESET LOG...
BT Reset ok
bt_iqk_efuse_valid: has data

hci_tp_phy_efuse[0]=0,
bt_dump_iqk:    DUMP,
the IQK_xx  data is 0x10d,
the IQK_yy  data is 0x3ff,
the QDAC   data is 0x1f,
the IDAC   data is 0x21,
the QDAC2  data is 0x20,
the IDAC2  data is 0x20,
hci_read_rom_check: rom_version 0x0003, bt_hci_chip_id 0x0004
hci_rtk_parse_config: BT ADDRESS 99 88 77 44 55 66, use the default config

 WRITE  physical FLATK=tx_flatk=1
We use fw_buf = 0x1002b1a8, fw_len = 0x1e34, config_buf = 0x1002cfe8, config_len = 0x32
Set baudrate to 921600

hci_tp_config:BT INIT success 7
Start upperStack

[BLE peripheral] GAP stack ready
local bd addr: 0x66:55:44:77:88:99

GAP adv start

[MEM] After do cmd, available heap 4274256


#
ATBp=0
[ATBp]:_AT_BLE_PERIPHERAL_[OFF]

[BLE Peripheral]BT Stack deinitalized

[MEM] After do cmd, available heap 4305968


#
ATBp=1
[ATBp]:_AT_BLE_PERIPHERAL_[ON]

BT BUILD Date: Jan  3 2023, 15:25:47
BT RESET LOG...
BT Reset ok
bt_iqk_efuse_valid: has data

hci_tp_phy_efuse[0]=0,
bt_dump_iqk:    DUMP,
the IQK_xx  data is 0x10d,
the IQK_yy  data is 0x3ff,
the QDAC   data is 0x1f,
the IDAC   data is 0x21,
the QDAC2  data is 0x20,
the IDAC2  data is 0x20,
hci_read_rom_check: rom_version 0x0003, bt_hci_chip_id 0x0004
hci_rtk_parse_config: BT ADDRESS 99 88 77 44 55 66, use the default config

 WRITE  physical FLATK=tx_flatk=1
We use fw_buf = 0x1002b1a8, fw_len = 0x1e34, config_buf = 0x1002cfe8, config_len = 0x32
Set baudrate to 921600

hci_tp_config:BT INIT success 7
Start upperStack

[BLE peripheral] GAP stack ready
local bd addr: 0x66:55:44:77:88:99

GAP adv start

[MEM] After do cmd, available heap 4274256


#
ATBp=0
[ATBp]:_AT_BLE_PERIPHERAL_[OFF]

[BLE Peripheral]BT Stack deinitalized

[MEM] After do cmd, available heap 4305968


#
ATBp=1
[ATBp]:_AT_BLE_PERIPHERAL_[ON]

BT BUILD Date: Jan  3 2023, 15:25:47
BT RESET LOG...
BT Reset ok
bt_iqk_efuse_valid: has data

hci_tp_phy_efuse[0]=0,
bt_dump_iqk:    DUMP,
the IQK_xx  data is 0x10d,
the IQK_yy  data is 0x3ff,
the QDAC   data is 0x1f,
the IDAC   data is 0x21,
the QDAC2  data is 0x20,
the IDAC2  data is 0x20,
hci_read_rom_check: rom_version 0x0003, bt_hci_chip_id 0x0004
hci_rtk_parse_config: BT ADDRESS 99 88 77 44 55 66, use the default config

 WRITE  physical FLATK=tx_flatk=1
We use fw_buf = 0x1002b1a8, fw_len = 0x1e34, config_buf = 0x1002cfe8, config_len = 0x32
Set baudrate to 921600

hci_tp_config:BT INIT success 7
Start upperStack

[BLE peripheral] GAP stack ready
local bd addr: 0x66:55:44:77:88:99

GAP adv start

[MEM] After do cmd, available heap 4274256


#
ATBp=0
[ATBp]:_AT_BLE_PERIPHERAL_[OFF]

[BLE Peripheral]BT Stack deinitalized

[MEM] After do cmd, available heap 4305968


#
ATBp=1
[ATBp]:_AT_BLE_PERIPHERAL_[ON]

BT BUILD Date: Jan  3 2023, 15:25:47
BT RESET LOG...
BT Reset ok
bt_iqk_efuse_valid: has data

hci_tp_phy_efuse[0]=0,
bt_dump_iqk:    DUMP,
the IQK_xx  data is 0x10d,
the IQK_yy  data is 0x3ff,
the QDAC   data is 0x1f,
the IDAC   data is 0x21,
the QDAC2  data is 0x20,
the IDAC2  data is 0x20,
hci_read_rom_check: rom_version 0x0003, bt_hci_chip_id 0x0004
hci_rtk_parse_config: BT ADDRESS 99 88 77 44 55 66, use the default config

 WRITE  physical FLATK=tx_flatk=1
We use fw_buf = 0x1002b1a8, fw_len = 0x1e34, config_buf = 0x1002cfe8, config_len = 0x32
Set baudrate to 921600

hci_tp_config:BT INIT success 7
Start upperStack

[BLE peripheral] GAP stack ready
local bd addr: 0x66:55:44:77:88:99

GAP adv start

[MEM] After do cmd, available heap 4274256


#
ATBp=0
[ATBp]:_AT_BLE_PERIPHERAL_[OFF]

[BLE Peripheral]BT Stack deinitalized

[MEM] After do cmd, available heap 4305968


#
ATBp=1
[ATBp]:_AT_BLE_PERIPHERAL_[ON]

BT BUILD Date: Jan  3 2023, 15:25:47
BT RESET LOG...
BT Reset ok
bt_iqk_efuse_valid: has data

hci_tp_phy_efuse[0]=0,
bt_dump_iqk:    DUMP,
the IQK_xx  data is 0x10d,
the IQK_yy  data is 0x3ff,
the QDAC   data is 0x1f,
the IDAC   data is 0x21,
the QDAC2  data is 0x20,
the IDAC2  data is 0x20,
hci_read_rom_check: rom_version 0x0003, bt_hci_chip_id 0x0004
hci_rtk_parse_config: BT ADDRESS 99 88 77 44 55 66, use the default config

 WRITE  physical FLATK=tx_flatk=1
We use fw_buf = 0x1002b1a8, fw_len = 0x1e34, config_buf = 0x1002cfe8, config_len = 0x32
Set baudrate to 921600

hci_tp_config:BT INIT success 7
Start upperStack

[BLE peripheral] GAP stack ready
local bd addr: 0x66:55:44:77:88:99

GAP adv start

[MEM] After do cmd, available heap 4274256


#
ATBp=0
[ATBp]:_AT_BLE_PERIPHERAL_[OFF]

[BLE Peripheral]BT Stack deinitalized

[MEM] After do cmd, available heap 4305968


#
ATBp=1
[ATBp]:_AT_BLE_PERIPHERAL_[ON]

BT BUILD Date: Jan  3 2023, 15:25:47
BT RESET LOG...
BT Reset ok
bt_iqk_efuse_valid: has data

hci_tp_phy_efuse[0]=0,
bt_dump_iqk:    DUMP,
the IQK_xx  data is 0x10d,
the IQK_yy  data is 0x3ff,
the QDAC   data is 0x1f,
the IDAC   data is 0x21,
the QDAC2  data is 0x20,
the IDAC2  data is 0x20,
hci_read_rom_check: rom_version 0x0003, bt_hci_chip_id 0x0004
hci_rtk_parse_config: BT ADDRESS 99 88 77 44 55 66, use the default config

 WRITE  physical FLATK=tx_flatk=1
We use fw_buf = 0x1002b1a8, fw_len = 0x1e34, config_buf = 0x1002cfe8, config_len = 0x32
Set baudrate to 921600

hci_tp_config:BT INIT success 7
Start upperStack

[BLE peripheral] GAP stack ready
local bd addr: 0x66:55:44:77:88:99

GAP adv start

[MEM] After do cmd, available heap 4274256


#
ATBp=0
[ATBp]:_AT_BLE_PERIPHERAL_[OFF]

[BLE Peripheral]BT Stack deinitalized

[MEM] After do cmd, available heap 4305968


#
ATBp=1
[ATBp]:_AT_BLE_PERIPHERAL_[ON]

BT BUILD Date: Jan  3 2023, 15:25:47
BT RESET LOG...
BT Reset ok
bt_iqk_efuse_valid: has data

hci_tp_phy_efuse[0]=0,
bt_dump_iqk:    DUMP,
the IQK_xx  data is 0x10d,
the IQK_yy  data is 0x3ff,
the QDAC   data is 0x1f,
the IDAC   data is 0x21,
the QDAC2  data is 0x20,
the IDAC2  data is 0x20,
hci_read_rom_check: rom_version 0x0003, bt_hci_chip_id 0x0004
hci_rtk_parse_config: BT ADDRESS 99 88 77 44 55 66, use the default config

 WRITE  physical FLATK=tx_flatk=1
We use fw_buf = 0x1002b1a8, fw_len = 0x1e34, config_buf = 0x1002cfe8, config_len = 0x32
Set baudrate to 921600

hci_tp_config:BT INIT success 7
Start upperStack

[BLE peripheral] GAP stack ready
local bd addr: 0x66:55:44:77:88:99

GAP adv start

[MEM] After do cmd, available heap 4274256


#
ATBp=0
[ATBp]:_AT_BLE_PERIPHERAL_[OFF]

[BLE Peripheral]BT Stack deinitalized

[MEM] After do cmd, available heap 4305968


#
ATBp=1
[ATBp]:_AT_BLE_PERIPHERAL_[ON]

BT BUILD Date: Jan  3 2023, 15:25:47
BT RESET LOG...
BT Reset ok
bt_iqk_efuse_valid: has data

hci_tp_phy_efuse[0]=0,
bt_dump_iqk:    DUMP,
the IQK_xx  data is 0x10d,
the IQK_yy  data is 0x3ff,
the QDAC   data is 0x1f,
the IDAC   data is 0x21,
the QDAC2  data is 0x20,
the IDAC2  data is 0x20,
hci_read_rom_check: rom_version 0x0003, bt_hci_chip_id 0x0004
hci_rtk_parse_config: BT ADDRESS 99 88 77 44 55 66, use the default config

 WRITE  physical FLATK=tx_flatk=1
We use fw_buf = 0x1002b1a8, fw_len = 0x1e34, config_buf = 0x1002cfe8, config_len = 0x32
Set baudrate to 921600

hci_tp_config:BT INIT success 7
Start upperStack

[BLE peripheral] GAP stack ready
local bd addr: 0x66:55:44:77:88:99

GAP adv start

[MEM] After do cmd, available heap 4274256


#
ATBp=0
[ATBp]:_AT_BLE_PERIPHERAL_[OFF]

[BLE Peripheral]BT Stack deinitalized

[MEM] After do cmd, available heap 4305968


#
ATBp=1
[ATBp]:_AT_BLE_PERIPHERAL_[ON]

BT BUILD Date: Jan  3 2023, 15:25:47
BT RESET LOG...
BT Reset ok
bt_iqk_efuse_valid: has data

hci_tp_phy_efuse[0]=0,
bt_dump_iqk:    DUMP,
the IQK_xx  data is 0x10d,
the IQK_yy  data is 0x3ff,
the QDAC   data is 0x1f,
the IDAC   data is 0x21,
the QDAC2  data is 0x20,
the IDAC2  data is 0x20,
hci_read_rom_check: rom_version 0x0003, bt_hci_chip_id 0x0004
hci_rtk_parse_config: BT ADDRESS 99 88 77 44 55 66, use the default config

 WRITE  physical FLATK=tx_flatk=1
We use fw_buf = 0x1002b1a8, fw_len = 0x1e34, config_buf = 0x1002cfe8, config_len = 0x32
Set baudrate to 921600

hci_tp_config:BT INIT success 7
Start upperStack

[BLE peripheral] GAP stack ready
local bd addr: 0x66:55:44:77:88:99

GAP adv start

[MEM] After do cmd, available heap 4274256


#
ATBp=0
[ATBp]:_AT_BLE_PERIPHERAL_[OFF]

[BLE Peripheral]BT Stack deinitalized

[MEM] After do cmd, available heap 4305968


#
ATBp=1
[ATBp]:_AT_BLE_PERIPHERAL_[ON]

BT BUILD Date: Jan  3 2023, 15:25:47
BT RESET LOG...
BT Reset ok
bt_iqk_efuse_valid: has data

hci_tp_phy_efuse[0]=0,
bt_dump_iqk:    DUMP,
the IQK_xx  data is 0x10d,
the IQK_yy  data is 0x3ff,
the QDAC   data is 0x1f,
the IDAC   data is 0x21,
the QDAC2  data is 0x20,
the IDAC2  data is 0x20,
hci_read_rom_check: rom_version 0x0003, bt_hci_chip_id 0x0004
hci_rtk_parse_config: BT ADDRESS 99 88 77 44 55 66, use the default config

 WRITE  physical FLATK=tx_flatk=1
We use fw_buf = 0x1002b1a8, fw_len = 0x1e34, config_buf = 0x1002cfe8, config_len = 0x32
Set baudrate to 921600

hci_tp_config:BT INIT success 7
Start upperStack

[BLE peripheral] GAP stack ready
local bd addr: 0x66:55:44:77:88:99

GAP adv start

[MEM] After do cmd, available heap 4274256


#
ATBp=0
[ATBp]:_AT_BLE_PERIPHERAL_[OFF]

[BLE Peripheral]BT Stack deinitalized

[MEM] After do cmd, available heap 4305968


#
ATBp=1
[ATBp]:_AT_BLE_PERIPHERAL_[ON]

BT BUILD Date: Jan  3 2023, 15:25:47
BT RESET LOG...
BT Reset ok
bt_iqk_efuse_valid: has data

hci_tp_phy_efuse[0]=0,
bt_dump_iqk:    DUMP,
the IQK_xx  data is 0x10d,
the IQK_yy  data is 0x3ff,
the QDAC   data is 0x1f,
the IDAC   data is 0x21,
the QDAC2  data is 0x20,
the IDAC2  data is 0x20,
hci_read_rom_check: rom_version 0x0003, bt_hci_chip_id 0x0004
hci_rtk_parse_config: BT ADDRESS 99 88 77 44 55 66, use the default config

 WRITE  physical FLATK=tx_flatk=1
We use fw_buf = 0x1002b1a8, fw_len = 0x1e34, config_buf = 0x1002cfe8, config_len = 0x32
Set baudrate to 921600

hci_tp_config:BT INIT success 7
Start upperStack

[BLE peripheral] GAP stack ready
local bd addr: 0x66:55:44:77:88:99

GAP adv start

[MEM] After do cmd, available heap 4274256


#
ATBp=0
[ATBp]:_AT_BLE_PERIPHERAL_[OFF]

[BLE Peripheral]BT Stack deinitalized

[MEM] After do cmd, available heap 4305968


#
ATBp=1
[ATBp]:_AT_BLE_PERIPHERAL_[ON]

BT BUILD Date: Jan  3 2023, 15:25:47
BT RESET LOG...
BT Reset ok
bt_iqk_efuse_valid: has data

hci_tp_phy_efuse[0]=0,
bt_dump_iqk:    DUMP,
the IQK_xx  data is 0x10d,
the IQK_yy  data is 0x3ff,
the QDAC   data is 0x1f,
the IDAC   data is 0x21,
the QDAC2  data is 0x20,
the IDAC2  data is 0x20,
hci_read_rom_check: rom_version 0x0003, bt_hci_chip_id 0x0004
hci_rtk_parse_config: BT ADDRESS 99 88 77 44 55 66, use the default config

 WRITE  physical FLATK=tx_flatk=1
We use fw_buf = 0x1002b1a8, fw_len = 0x1e34, config_buf = 0x1002cfe8, config_len = 0x32
Set baudrate to 921600

hci_tp_config:BT INIT success 7
Start upperStack

[BLE peripheral] GAP stack ready
local bd addr: 0x66:55:44:77:88:99

GAP adv start

[MEM] After do cmd, available heap 4274256


#
ATBp=0
[ATBp]:_AT_BLE_PERIPHERAL_[OFF]

[BLE Peripheral]BT Stack deinitalized

[MEM] After do cmd, available heap 4305968


#
ATBp=1
[ATBp]:_AT_BLE_PERIPHERAL_[ON]

BT BUILD Date: Jan  3 2023, 15:25:47
BT RESET LOG...
BT Reset ok
bt_iqk_efuse_valid: has data

hci_tp_phy_efuse[0]=0,
bt_dump_iqk:    DUMP,
the IQK_xx  data is 0x10d,
the IQK_yy  data is 0x3ff,
the QDAC   data is 0x1f,
the IDAC   data is 0x21,
the QDAC2  data is 0x20,
the IDAC2  data is 0x20,
hci_read_rom_check: rom_version 0x0003, bt_hci_chip_id 0x0004
hci_rtk_parse_config: BT ADDRESS 99 88 77 44 55 66, use the default config

 WRITE  physical FLATK=tx_flatk=1
We use fw_buf = 0x1002b1a8, fw_len = 0x1e34, config_buf = 0x1002cfe8, config_len = 0x32
Set baudrate to 921600

hci_tp_config:BT INIT success 7
Start upperStack

[BLE peripheral] GAP stack ready
local bd addr: 0x66:55:44:77:88:99

GAP adv start

[MEM] After do cmd, available heap 4274256


#
ATBp=0
[ATBp]:_AT_BLE_PERIPHERAL_[OFF]

[BLE Peripheral]BT Stack deinitalized

[MEM] After do cmd, available heap 4305968


#
ATBp=1
[ATBp]:_AT_BLE_PERIPHERAL_[ON]

BT BUILD Date: Jan  3 2023, 15:25:47
BT RESET LOG...
BT Reset ok
bt_iqk_efuse_valid: has data

hci_tp_phy_efuse[0]=0,
bt_dump_iqk:    DUMP,
the IQK_xx  data is 0x10d,
the IQK_yy  data is 0x3ff,
the QDAC   data is 0x1f,
the IDAC   data is 0x21,
the QDAC2  data is 0x20,
the IDAC2  data is 0x20,
hci_read_rom_check: rom_version 0x0003, bt_hci_chip_id 0x0004
hci_rtk_parse_config: BT ADDRESS 99 88 77 44 55 66, use the default config

 WRITE  physical FLATK=tx_flatk=1
We use fw_buf = 0x1002b1a8, fw_len = 0x1e34, config_buf = 0x1002cfe8, config_len = 0x32
Set baudrate to 921600

hci_tp_config:BT INIT success 7
Start upperStack

[BLE peripheral] GAP stack ready
local bd addr: 0x66:55:44:77:88:99

GAP adv start

[MEM] After do cmd, available heap 4274256


#
ATBp=0
[ATBp]:_AT_BLE_PERIPHERAL_[OFF]

[BLE Peripheral]BT Stack deinitalized

[MEM] After do cmd, available heap 4305968


#
ATBp=1
[ATBp]:_AT_BLE_PERIPHERAL_[ON]

BT BUILD Date: Jan  3 2023, 15:25:47
BT RESET LOG...
BT Reset ok
bt_iqk_efuse_valid: has data

hci_tp_phy_efuse[0]=0,
bt_dump_iqk:    DUMP,
the IQK_xx  data is 0x10d,
the IQK_yy  data is 0x3ff,
the QDAC   data is 0x1f,
the IDAC   data is 0x21,
the QDAC2  data is 0x20,
the IDAC2  data is 0x20,
hci_read_rom_check: rom_version 0x0003, bt_hci_chip_id 0x0004
hci_rtk_parse_config: BT ADDRESS 99 88 77 44 55 66, use the default config

 WRITE  physical FLATK=tx_flatk=1
We use fw_buf = 0x1002b1a8, fw_len = 0x1e34, config_buf = 0x1002cfe8, config_len = 0x32
Set baudrate to 921600

hci_tp_config:BT INIT success 7
Start upperStack

[BLE peripheral] GAP stack ready
local bd addr: 0x66:55:44:77:88:99

GAP adv start

[MEM] After do cmd, available heap 4274256


#
ATBp=0
[ATBp]:_AT_BLE_PERIPHERAL_[OFF]

[BLE Peripheral]BT Stack deinitalized

[MEM] After do cmd, available heap 4305968


#
ATBp=1
[ATBp]:_AT_BLE_PERIPHERAL_[ON]

BT BUILD Date: Jan  3 2023, 15:25:47
BT RESET LOG...
BT Reset ok
bt_iqk_efuse_valid: has data

hci_tp_phy_efuse[0]=0,
bt_dump_iqk:    DUMP,
the IQK_xx  data is 0x10d,
the IQK_yy  data is 0x3ff,
the QDAC   data is 0x1f,
the IDAC   data is 0x21,
the QDAC2  data is 0x20,
the IDAC2  data is 0x20,
hci_read_rom_check: rom_version 0x0003, bt_hci_chip_id 0x0004
hci_rtk_parse_config: BT ADDRESS 99 88 77 44 55 66, use the default config

 WRITE  physical FLATK=tx_flatk=1
We use fw_buf = 0x1002b1a8, fw_len = 0x1e34, config_buf = 0x1002cfe8, config_len = 0x32
Set baudrate to 921600

hci_tp_config:BT INIT success 7
Start upperStack

[BLE peripheral] GAP stack ready
local bd addr: 0x66:55:44:77:88:99

GAP adv start

[MEM] After do cmd, available heap 4274256


#
ATBp=0
[ATBp]:_AT_BLE_PERIPHERAL_[OFF]

[BLE Peripheral]BT Stack deinitalized

[MEM] After do cmd, available heap 4305968


#
ATBp=1
[ATBp]:_AT_BLE_PERIPHERAL_[ON]

BT BUILD Date: Jan  3 2023, 15:25:47
BT RESET LOG...
BT Reset ok
bt_iqk_efuse_valid: has data

hci_tp_phy_efuse[0]=0,
bt_dump_iqk:    DUMP,
the IQK_xx  data is 0x10d,
the IQK_yy  data is 0x3ff,
the QDAC   data is 0x1f,
the IDAC   data is 0x21,
the QDAC2  data is 0x20,
the IDAC2  data is 0x20,
hci_read_rom_check: rom_version 0x0003, bt_hci_chip_id 0x0004
hci_rtk_parse_config: BT ADDRESS 99 88 77 44 55 66, use the default config

 WRITE  physical FLATK=tx_flatk=1
We use fw_buf = 0x1002b1a8, fw_len = 0x1e34, config_buf = 0x1002cfe8, config_len = 0x32
Set baudrate to 921600

hci_tp_config:BT INIT success 7
Start upperStack

[BLE peripheral] GAP stack ready
local bd addr: 0x66:55:44:77:88:99

GAP adv start

[MEM] After do cmd, available heap 4274256


#
ATBp=0
[ATBp]:_AT_BLE_PERIPHERAL_[OFF]

[BLE Peripheral]BT Stack deinitalized

[MEM] After do cmd, available heap 4305968


#
ATBp=1
[ATBp]:_AT_BLE_PERIPHERAL_[ON]

BT BUILD Date: Jan  3 2023, 15:25:47
BT RESET LOG...
BT Reset ok
bt_iqk_efuse_valid: has data

hci_tp_phy_efuse[0]=0,
bt_dump_iqk:    DUMP,
the IQK_xx  data is 0x10d,
the IQK_yy  data is 0x3ff,
the QDAC   data is 0x1f,
the IDAC   data is 0x21,
the QDAC2  data is 0x20,
the IDAC2  data is 0x20,
hci_read_rom_check: rom_version 0x0003, bt_hci_chip_id 0x0004
hci_rtk_parse_config: BT ADDRESS 99 88 77 44 55 66, use the default config

 WRITE  physical FLATK=tx_flatk=1
We use fw_buf = 0x1002b1a8, fw_len = 0x1e34, config_buf = 0x1002cfe8, config_len = 0x32
Set baudrate to 921600

hci_tp_config:BT INIT success 7
Start upperStack

[BLE peripheral] GAP stack ready
local bd addr: 0x66:55:44:77:88:99

GAP adv start

[MEM] After do cmd, available heap 4274256


#
ATBp=0
[ATBp]:_AT_BLE_PERIPHERAL_[OFF]

[BLE Peripheral]BT Stack deinitalized

[MEM] After do cmd, available heap 4305968


#
ATBp=1
[ATBp]:_AT_BLE_PERIPHERAL_[ON]

BT BUILD Date: Jan  3 2023, 15:25:47
BT RESET LOG...
BT Reset ok
bt_iqk_efuse_valid: has data

hci_tp_phy_efuse[0]=0,
bt_dump_iqk:    DUMP,
the IQK_xx  data is 0x10d,
the IQK_yy  data is 0x3ff,
the QDAC   data is 0x1f,
the IDAC   data is 0x21,
the QDAC2  data is 0x20,
the IDAC2  data is 0x20,
hci_read_rom_check: rom_version 0x0003, bt_hci_chip_id 0x0004
hci_rtk_parse_config: BT ADDRESS 99 88 77 44 55 66, use the default config

 WRITE  physical FLATK=tx_flatk=1
We use fw_buf = 0x1002b1a8, fw_len = 0x1e34, config_buf = 0x1002cfe8, config_len = 0x32
Set baudrate to 921600

hci_tp_config:BT INIT success 7
Start upperStack

[BLE peripheral] GAP stack ready
local bd addr: 0x66:55:44:77:88:99

GAP adv start

[MEM] After do cmd, available heap 4274256


#
ATBp=0
[ATBp]:_AT_BLE_PERIPHERAL_[OFF]

[BLE Peripheral]BT Stack deinitalized

[MEM] After do cmd, available heap 4305968


#
ATBp=1
[ATBp]:_AT_BLE_PERIPHERAL_[ON]

BT BUILD Date: Jan  3 2023, 15:25:47
BT RESET LOG...
BT Reset ok
bt_iqk_efuse_valid: has data

hci_tp_phy_efuse[0]=0,
bt_dump_iqk:    DUMP,
the IQK_xx  data is 0x10d,
the IQK_yy  data is 0x3ff,
the QDAC   data is 0x1f,
the IDAC   data is 0x21,
the QDAC2  data is 0x20,
the IDAC2  data is 0x20,
hci_read_rom_check: rom_version 0x0003, bt_hci_chip_id 0x0004
hci_rtk_parse_config: BT ADDRESS 99 88 77 44 55 66, use the default config

 WRITE  physical FLATK=tx_flatk=1
We use fw_buf = 0x1002b1a8, fw_len = 0x1e34, config_buf = 0x1002cfe8, config_len = 0x32
Set baudrate to 921600

hci_tp_config:BT INIT success 7
Start upperStack

[BLE peripheral] GAP stack ready
local bd addr: 0x66:55:44:77:88:99

GAP adv start

[MEM] After do cmd, available heap 4274256


#
ATBp=0
[ATBp]:_AT_BLE_PERIPHERAL_[OFF]

[BLE Peripheral]BT Stack deinitalized

[MEM] After do cmd, available heap 4305968


#
ATBp=1
[ATBp]:_AT_BLE_PERIPHERAL_[ON]

BT BUILD Date: Jan  3 2023, 15:25:47
BT RESET LOG...
BT Reset ok
bt_iqk_efuse_valid: has data

hci_tp_phy_efuse[0]=0,
bt_dump_iqk:    DUMP,
the IQK_xx  data is 0x10d,
the IQK_yy  data is 0x3ff,
the QDAC   data is 0x1f,
the IDAC   data is 0x21,
the QDAC2  data is 0x20,
the IDAC2  data is 0x20,
hci_read_rom_check: rom_version 0x0003, bt_hci_chip_id 0x0004
hci_rtk_parse_config: BT ADDRESS 99 88 77 44 55 66, use the default config

 WRITE  physical FLATK=tx_flatk=1
We use fw_buf = 0x1002b1a8, fw_len = 0x1e34, config_buf = 0x1002cfe8, config_len = 0x32
Set baudrate to 921600

hci_tp_config:BT INIT success 7
Start upperStack

[BLE peripheral] GAP stack ready
local bd addr: 0x66:55:44:77:88:99

GAP adv start

[MEM] After do cmd, available heap 4274256


#
ATBp=0
[ATBp]:_AT_BLE_PERIPHERAL_[OFF]

[BLE Peripheral]BT Stack deinitalized

[MEM] After do cmd, available heap 4305968


#
ATBp=1
[ATBp]:_AT_BLE_PERIPHERAL_[ON]

BT BUILD Date: Jan  3 2023, 15:25:47
BT RESET LOG...
BT Reset ok
bt_iqk_efuse_valid: has data

hci_tp_phy_efuse[0]=0,
bt_dump_iqk:    DUMP,
the IQK_xx  data is 0x10d,
the IQK_yy  data is 0x3ff,
the QDAC   data is 0x1f,
the IDAC   data is 0x21,
the QDAC2  data is 0x20,
the IDAC2  data is 0x20,
hci_read_rom_check: rom_version 0x0003, bt_hci_chip_id 0x0004
hci_rtk_parse_config: BT ADDRESS 99 88 77 44 55 66, use the default config

 WRITE  physical FLATK=tx_flatk=1
We use fw_buf = 0x1002b1a8, fw_len = 0x1e34, config_buf = 0x1002cfe8, config_len = 0x32
Set baudrate to 921600

hci_tp_config:BT INIT success 7
Start upperStack

[BLE peripheral] GAP stack ready
local bd addr: 0x66:55:44:77:88:99

GAP adv start

[MEM] After do cmd, available heap 4274256


#


应该是NDA的sdk,因为我看工程里面有mesh的示例

那么我建议找 NDA 联系人,要个更新版本。