User's Manual

User Manual
5
2 Serialization Architecture
The STM32 runs a serialzed application to communicate with an external bluetooth chip, the
soft device which contains the stack bluetooh is only flashed in the NRF52840 and in the stm32
is replaced by a codec that implements the SoftDevice API.
All function calls to the codec are serialized and transmitted to the NRF52 using the transport
layer drivers.The NRF52 decodes the serialized commands from the STM32 and executes the
corresponding function in the SoftDevice.
Any event from the SoftDevice is encoded by the codec and transmitted to the STM32 using the
transport layer. In the STM32, the event is decoded and passed to the application.