I am developing an application on a STM32 CPU that uses a 51822 through BLE serialization for BLE connectivity.
I have connected some LEDs at the pins of the 51822 to indicate the state of the application in my main CPU.
How can I send commands from my application to the BLE connectivity chip to control the GPIOs with the LEDs on the connectivity chip?
Are there already some commands in the serialization protocol for this purpose?