Hi,
I tried to use python API to drive the nrf sniffer to capture ble device information by their advertisement packet. I can successfully target a specific ble device by .find("DeviceModelABCD").
But my final target is to capture a specific model of ble device which their device name have same prefix but different suffix. i.e. "DeviceModelABCD", "DeviceModelEFGH". So I tried to use the api .getList() to get a List so that I can check the name one by one to see which are those target devices true name. However, once I run this api, it fail and the error is that "DeviceList instance has no attribute 'getList'".
Code:
mySniffer = Sniffer.Sniffer("COM19")
mySniffer.start()
devList = mySniffer.getDevices()
ListOfDev = devList.getList()
Since this api is written in the Sniffer api guide, I don't know what have I done wrong.
By the way, is there any other way for me to achieve my target instead of calling this API?
Jones