Hi,
I'm wrapping up a project which uses an nRF5340 as both a Bluetooth peripheral to advertise etc and also as a Bluetooth central to scan for devices (not both at the same time, though). This project currently uses NCS v1.7.1.
My customer requested some options that don't seem to be available in the library, and I just wanted to confirm that these options are not possible before I tell them so:
1) Bluetooth peripheral - when advertising: They wanted a mode where the device will advertise using the 1MBPS phy and then change to whatever PHY a connecting device uses when a connection is established (I'm using NUS once connected). I don't see an option to do this automatically - is this possible?
2) Bluetooth central - when scanning, they want to be able to choose some phy specifics as follows:
a) Scan using the 1 MBPS phy. -- I don't see an option to specify this.
b) Scan using the 2MBPS phy for the "secondary extended advertising portion". -- I'm not sure what that means - does this apply to scanning at all? Maybe they mean the scan response?
c) Scan using the Coded phy -- no problem here - I found the option bit for this, BT_LE_SCAN_OPT_CODED
d) Automatically scan through the various PHY modes. -- I don't think the auto scanning thing is provided by the library - is there any way to do this?
3) They want to be able to set which advertising channel the scanner is scanning, 37, 38, or 39. There are options for picking your channel when advertising (BT_LE_ADV_OPT_DISABLE_CHAN_38), but I don't see these options for scanning. Is this possible?
Thanks,
Glen