SWRA770 august 2023 CC2564C
Send a Protocol Request using GetProtocolRequest. This requires no parameters. The device receives a protocol indication. The device can respond to the protocol request by issuing the GetProtocolRequest command. This requires two parameters, Result Type (0 for rtSuccessful, 1 for rtNotReady, 2 for rtErrInvalidReportID, 3 for rtErrUnsupportedRequest, 4 for rtErrInvalidParameter, 5 for rtErrUnknown, 6 for rtErrFatal, and 7 for rtData) and Protocol (0 for ptBoot and 1 for ptReport.) In the example below, the response to the previous request is rtData and ptBoot. The host receives a protocol confirmation with the result type and protocol.
An overview of the application and other applications can be read at TI Dual-Mode Bluetooth® Stack on MSP432™ MCUs and Dual-Mode Bluetooth® Stack on STM32F4 MCUs.
This page describes the various commands that a user of the application can use. Each command is a wrapper over a TI’s Bluetooth stack API which gets invoked with the parameters selected by the user. This is a subset of the APIs available to the user. TI’s Bluetooth stack API documentation (TI_Bluetooth_Stack_Version-Number\Documentationor forSTM32F4,TI_Bluetooth_Stack_Version-Number\RTOS_VERSION\Documentation) describes all of the API's in detail.