BALTECH SDK wrapper functions reference

§ brp_BlePeriph_IsConnected()

brp_errcode brp_BlePeriph_IsConnected ( brp_BlePeriph_IsConnected_t  params)

This command is used to check the current connection status.

If connected, it returns the device address of the connected BLE central.

Parameters
[in]paramsStruct with the following fields:
  • protocol used to execute the command
  • Address (out) Remote device address
  • AddressType (out) Remote device address type
  • mempool (in) is used to store response data. Maybe NULL to use an internal mempool, in this case the data is only available until another command uses the internal mempool