Is it possible to know which type of advertising packet is being advertised by the slave i.e whether it is a connectable or a non connectable advertising packet by the master device?
When an Android device is scanning, the scan record contains the raw data from an advertising device: BluetoothAdapter.LeScanCallback --> onLeScan() --> scanRecord.
In an advertising packet, the setup for the information (Advertising Data Type) is the following: Length - Type - Value.
The data type ID's can be found here.
To see how raw advertising data can be decoded, you can use the nRF Connect app by using the app: press on an advertising device --> "RAW" to see the raw advertising data.