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

SDK15.2.0 switch NON -CONNECTABLE Beacon into CONNECTABLE

 I really don't understand your terminologies. In beacon example you are passing BLE_GAP_ADV_TYPE_NONCONNECTABLE_NONSCANNABLE_UNDIRECTED. It is getting scanned in NRF CONNECT., then why you mentioned NONSCANNABLE ? what sense does it make.

And now I have to make it connectable.. I changed the that type to BLE_GAP_ADV_TYPE_CONNECTABLE_SCANNABLE_UNDIRECTED  after which it not advertising and giving an error on thw USB port as "<error> app: Fatal error <warning> app: System reset". 

Parents
  • Hi Manoj

    When a device is NONSCANNABLE it means that it won't respond to scan requests from the central device, and won't yield scan reports when asked.

    The reason you see the error when making the beacon connectable is that you need to tweak a few more configurations in order to make it able to connect to a central. I suggest taking a look at I.E. the ble_app_uart example to see what advertising parameters it uses in order to be able to connect to a central.

    Best regards,

    Simon

Reply
  • Hi Manoj

    When a device is NONSCANNABLE it means that it won't respond to scan requests from the central device, and won't yield scan reports when asked.

    The reason you see the error when making the beacon connectable is that you need to tweak a few more configurations in order to make it able to connect to a central. I suggest taking a look at I.E. the ble_app_uart example to see what advertising parameters it uses in order to be able to connect to a central.

    Best regards,

    Simon

Children
Related