This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Broadcaster mode

Hello,

I want to use broadcaster mode for nrf51822, could you tell me please what I must to do to use this mode?

I suppose I must to set BLE_GAP_ADV_TYPE_ADV_NONCONN_IND mode, configure 'interval'(as I read in specification it must be greater than 100ms), to set only 'BLE_GAP_ADV_FLAG_BR_EDR_NOT_SUPPORTED' flag, setup advertise data and call sd_ble_gap_adv_start(). Is it true?

And may be you have any demo project?

Best Regards, Artem Zemlyanukhin

Parents
  • Hi Morten,

    In the sample code you have attached, BLE_UUID_HEALTH_THERMOMETER_SERVICE is used for broadcasting the temperature data. So is the broadcasting functionality tied to a service ?

    Suppose I want to broadcast the value of ambient light. Do I have to create a custom service for light and use that UUID for broadcast ?

    But in the sample code you have provided , I couldnt find any calls to the functions provided by the health thermometer service for initializing the service. Please advise how this works .

    Thanks Shafy

  • Hi Morten, In bluetoothstarter kit provided by Bluetooth SIG ,it is mentioned that any one can create custom profiles/services for their device. So i think it is perfectly fine to create custom services with custom UUIDs. In the service one has to mention all the custom UUIDs of related custom services.

    Am I correct? Because in "ble_app_uart" example source code has custom serives.

Reply
  • Hi Morten, In bluetoothstarter kit provided by Bluetooth SIG ,it is mentioned that any one can create custom profiles/services for their device. So i think it is perfectly fine to create custom services with custom UUIDs. In the service one has to mention all the custom UUIDs of related custom services.

    Am I correct? Because in "ble_app_uart" example source code has custom serives.

Children
No Data
Related