How do I implement BLE device discovery so that the device type can be identified during provisioning?
- Set the device to BLE provisioning mode and set the PoP code to
POP_TYPE_NONE. The app completes provisioning after a BLE scan without requiring the user to enter a PoP value. - For added security, set the device-side PoP to
POP_TYPE_CUSTOMand callapp_network_set_custom_popto configure a shared PoP between the device and app. - To encode the device type, use the BLE manufacturer data field to set the product type. See
app_network_set_custom_mfg_data. The app reads this field during BLE discovery and displays the corresponding device type.

