BX310x does not recognize +SRBLECFG=1 command

I need to issue the proper AT commands to the BX3105 to put it into central mode, pair with an external wearable and get information from the wearable.

I am having trouble with some of the commands that are in the AT command reference. They return ERROR.

For example:

Sierra Wireless Copyright 2018
BX310x.2.5.0-2
READY
AT+SRBTSYSTEM=1
OK
AT+SRBLECFG?
OK
AT+SRBLECFG=1
+CME ERROR: 916

How can I get some help?

Does this help?

I see that you are sending the AT+SRBLEADV=1.
Doesn’t this mean that the iPhone is the central and the BX310x is the peripheral? I need to have the BX310x be the central

When I send the AT+SRBTSYSTEM=3 I get an error 916

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff80c8,len:4
load:0x3fff80cc,len:400
ho 0 tail 12 room 4
load:0x40078000,len:0
load:0x40078000,len:19304
entry 0x40078c04

Sierra Wireless Copyright 2018
BX310x.2.5.0-2
READY
AT+SRBTSYSTEM=3
+CME ERROR: 916

Just FYI, I did an AT+SRBLESYSTEM=0 and AT+RST just before the above

I saw the user in the link can send

AT+SRBLECFG=“20:fa:bb:20:00:16” /// The module connects to Device B

BTW, I don’t see problem to set AT+SRBLECFG and AT+srbtsystem=3


ati3
BX310x.2.7.2
OK
at+srbtsystem?
+SRBTSYSTEM: 3
OK

at+srbtsystem=0I (144098) wifi: Set ps type: 1

I (144098) BTC: eul_btc_task_shut_down BTC task stop
I (144099) BT: BT system stop finished OK

OK
at+RSt
OK
I (150459) wifi: flush txq
I (150460) wifi: stop sw txq
I (150462) wifi: lmac stop hw txq
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff80d0,len:4
load:0x3fff80d4,len:540
load:0x40078000,len:0
load:0x40078000,len:18348
I (746) wifi: wifi driver task: 3ffd26ac, prio:23, stack:3072, core=0
I (746) wifi: wifi firmware version: c1ff516
I (747) wifi: config NVS flash: enabled
I (749) wifi: config nano formating: enabled
I (788) wifi: Init dynamic tx buffer num: 32
I (788) wifi: Init data frame dynamic rx buffer num: 32
I (788) wifi: Init management frame dynamic rx buffer num: 32
I (792) wifi: Init static rx buffer size: 1600
I (796) wifi: Init static rx buffer num: 10
I (799) wifi: Init dynamic rx buffer num: 32
I (878) wifi: mode : sta (cc:93:4a:00:43:20) + softAP (cc:93:4a:00:43:21)
I (882) wifi: Init max length of beacon: 752/752
I (883) wifi: Init max length of beacon: 752/752
I (884) eul_wifi: eul_wifi_esp_init WIFI ESP-IDF init OK
I (884) eul_wifi: eul_wifi_event_handler SYSTEM_EVENT_STA_START
I (895) eul_wifi: eul_wifi_event_handler SYSTEM_EVENT_AP_START
I (899) wifi: set country: cc=CN schan=1 nchan=13 policy=1

I (906) eul_wifi: eul_wifi_write_country WIFI country code saved
I (941) eul_wifi: eul_wifi_set_mode WIFI APSTA mode set OK
I (941) wifi: Set ps type: 1

I (942) eul_wifi: eul_wifi_ps_init WIFI PS enable OK

Sierra Wireless Copyright 2018
BX310x.2.7.2
READY
ati3
BX310x.2.7.2
OK
at+srbtsystem?
+SRBTSYSTEM: 0
OK
at+srbtsystem=3I (9342) wifi: Set ps type: 0

I (10358) BTC: eul_btc_task_start_up BTC task start
I (10361) BTC: BTC GAP up signal
D (10361) BTC: eul_btc_work_dispatch event 0x0, param len 0
D (10361) BTC: eul_btc_task_handler, sig 0x1, 0x0
D (10361) BLE_GAP: eul_ble_gap_init
D (10365) BTC: eul_btc_hdl_stack_evt evt 0
I (10376) BTC: BTC GAP init
D (10376) BTC_GAP: eul_btc_gap_system_init

+SRBTC_IND: 0
D (10384) BLE_GAP: esp_gap_cb evt[4]
I (10385) BLE_GAP: eul_ble_gap_init BLE GAP init OK
I (10385) BLE_GAP: Set adv data raw successfully
I (10385) BLE_GATTC: GATTC Register gattc_event_handler callback OK
D (10388) BLE_GAP: esp_gap_cb evt[2]
D (10394) BLE_GATTS: eul_ble_gatts_callback_init
I (10401) BLE_GATTS: GATTS register callback OK
D (10406) BLE_GATTS: eul_ble_gatts_init
I (10409) BLE_GATTS: GATTS register profile OK
D (10410) BLE_GATTS: gatts_event_handler evt[0], gatts if 4
I (10413) BT: BLE & BT classic enabled
D (10418) BLE_GATTS: gatts_profile_a_event_handler evt[0], gatts if 4
I (10423) BT: BT system start finished OK

I (10427) BLE_GATTS: REGISTER_APP_EVT, status 0, app_id 0
OK
at+rst
OK
I (14403) wifi: flush txq
I (14404) wifi: stop sw txq
I (14405) wifi: lmac stop hw txq
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff80d0,len:4
load:0x3fff80d4,len:540
load:0x40078000,len:0
load:0x40078000,len:18348
I (1980) BTC: eul_btc_task_start_up BTC task start
I (1981) BTC: BTC GAP up signal
D (1981) BTC: eul_btc_work_dispatch event 0x0, param len 0
D (1982) BTC: eul_btc_task_handler, sig 0x1, 0x0
D (1982) BLE_GAP: eul_ble_gap_init
D (1986) BTC: eul_btc_hdl_stack_evt evt 0
I (1993) BTC: BTC GAP init
D (1995) BTC_GAP: eul_btc_gap_system_init
D (2003)
+SRB TC_INBD: 0L
E_GAP: esp_gap_cb evt[4]
I (2003) BLE_GAP: Set adv data raw successfully
D (2006) BLE_GAP: esp_gap_cb evt[2]
I (2010) BLE_GAP: eul_ble_gap_init BLE GAP init OK
I (2013) BLE_GATTC: GATTC Register gattc_event_handler callback OK
D (2018) BLE_GATTS: eul_ble_gatts_callback_init
I (2023) BLE_GATTS: GATTS register callback OK
D (2027) BLE_GATTS: eul_ble_gatts_init
D (2031) BLE_GATTS: gatts_event_handler evt[0], gatts if 4
D (2036) BLE_GATTS: gatts_profile_a_event_handler evt[0], gatts if 4
I (2042) BLE_GATTS: REGISTER_APP_EVT, status 0, app_id 0
I (2047) BLE_GATTS: GATTS register profile OK
I (2051) BT: BLE & BT classic enabled
I (2056) BT: BT system start finished OK
I (2062) wifi: wifi driver task: 3ffea2c0, prio:23, stack:3072, core=0
I (2064) wifi: wifi firmware version: c1ff516
I (2068) wifi: config NVS flash: enabled
I (2072) wifi: config nano formating: enabled
I (2111) wifi: Init dynamic tx buffer num: 32
I (2112) wifi: Init data frame dynamic rx buffer num: 32
I (2112) wifi: Init management frame dynamic rx buffer num: 32
I (2116) wifi: Init static rx buffer size: 1600
I (2120) wifi: Init static rx buffer num: 10
I (2123) wifi: Init dynamic rx buffer num: 32
I (2146) wifi: mode : sta (cc:93:4a:00:43:20) + softAP (cc:93:4a:00:43:21)
I (2151) wifi: Init max length of beacon: 752/752
I (2152) wifi: Init max length of beacon: 752/752
I (2153) eul_wifi: eul_wifi_esp_init WIFI ESP-IDF init OK
I (2153) eul_wifi: eul_wifi_event_handler SYSTEM_EVENT_STA_START
I (2164) eul_wifi: eul_wifi_event_handler SYSTEM_EVENT_AP_START
I (2168) wifi: set country: cc=CN schan=1 nchan=13 policy=1

I (2175) eul_wifi: eul_wifi_write_country WIFI country code saved
I (2211) eul_wifi: eul_wifi_set_mode WIFI APSTA mode set OK
I (2211) wifi: Set ps type: 0

I (2212) eul_wifi: eul_wifi_ps_init WIFI PS disable OK

Sierra Wireless Copyright 2018
BX310x.2.7.2
READY
at+srbtsystem?
+SRBTSYSTEM: 3
OK
AT+SRBLECFG="20:fa:bb:20:00:16"
+SRBLECFG: 1,0,"20:fa:bb:20:00:16",0,128
OK

I see that you can do srbtsystem=3 but I get an error. Can you help me understand why?

Probably you need to upgrade firmware