This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2640R2F: Connectable field while advertising?

Part Number: CC2640R2F

Hello,

I'm doing a design based on the BLE5 Simple_Peripheral example. Everything is great but somehow or another I lost the ability to advertise myself as connectable. Meaning, if I load the baseline Simple_Peripheral example apps like EddyStone and Light Blue see the CC2640R2F as connectable. My software, on the same board, is seen as not connectable.

I didn't intentionally change that parameter (I want it connectable) and I can't seem to find what I did using software like WinMerge.

Can you offer any suggestions?

Thanks,
Jason

  • What do you mean “My software, on the same board, is seen as not connectable“?
  • Hi Jason,

    Did you change the properties in the advertisement set parameters? In order to advertise connectable oe of the properties must be GAP_ADV_PROP_CONNECTABLE.

    (If you look at simple peripheral, a predefined set of advertisement parameters GAPADV_PARAMS_LEGACY_SCANN_CONN is used.)
  • Marie,

    I have not changed those parameters. 

    I've played around with it some more and I would guess it is an artifact of the iOS software Apps I'm using. The same board, with the same software will sometimes be connectable and sometimes not. I've not found what determines their connectable status but it appears random. For example, if I keep the same software and board but uninstall then re-install the Eddystone beacon app the status will change. I imagine the apps are remembering something from earlier uses with the same address, name or device ID.

    In either case, when I use BTool they connect and I can see that they are advertising the same parameters.

    Jason

  • YK,

    The same software, on the same board will sometimes appear to the apps as connectable and sometimes not.

    Upon further investigation, I think that it is app related as I have not changed any of the advertising parameters other than the interval.

    Jason