Hi, We modified the ble_app_hrs code to work with accelerometer peripheral, and we have created some custom characteristics with custom uuid's. Now we need to set the device in non connectable advertisement mode, and after completing some operation we need to convert it to connectable advertisement mode. I tried with BLE_GAP_ADV_TYPE_ADV_NONCONN_IND, but it is not at all giving advertisement. Is there any other way to put the device non connectable advertisement mode? my logic is something like as below,
advertising_start(BLE_GAP_ADV_TYPE_ADV_NONCONN_IND);
Do_Some_Operation();
advertising_start(BLE_GAP_ADV_TYPE_ADV_IND);
Please suggest us how to implement this.
Regards, Balaji