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_CUSTOM and call app_network_set_custom_pop to 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.