BALTECH SDK wrapper functions reference

§ brp_BlePeriph_SetAdvertisingData()

brp_errcode brp_BlePeriph_SetAdvertisingData ( brp_BlePeriph_SetAdvertisingData_t  params)

This command defines the data to be advertised by the reader.

If advertisement is currently brp_BlePeriph_Enable(), the new data will be used immediately.

Parameters
[in]paramsStruct with the following fields:
  • protocol used to execute the command
  • AdvertisingData (in) Specifies the advertising data (max. 31 bytes)
  • AdvertisingData_len (in) Length of AdvertisingData (in bytes).
  • ScanResponseData (in) Specifies the optional scan response data (max. 31 bytes)
  • ScanResponseData_len (in) Length of ScanResponseData (in bytes).