Part Number: BLE-STACK
Tool/software: TI-RTOS
Hi,
I'm using ble_sdk_2_02_01_18 running on a CC2650CODA (testing with BOOSTERPACK) connected to an MSP432 that uses simplelink_msp432_sdk_bluetooth_plugin_1_20_00_42. SAP_getStatus receives no reply and hangs forever because there is a mismatch between the ble_sdk and bluetooth_plugin; ble_sdk treats the command as async, whereas plugin treats it as sync.
SNP_processGetStatusCmd in simple_np.c (ble_sdk) replies with SNP_NPI_ASYNC_CMD_TYPE, but because there is a pending sync command (the GetStatus), it never sends the reply. This seems like a typo and changing it to SNP_NPI_SYNC_RSP_TYPE fixes the issue and things work fine.
It's an easy fix to do myself, but hopefully this can be incorporated into a future release.
Thanks