Hello, I'm still very new to this kind of work and when trying to run the BleHealthDemo I hit the same errors when I try to connect to the CC2540 through my USB dongle. The code is unchanged from the source available at http://processors.wiki.ti.com/index.php/Category:HealthDemo.
I will run the program and scan for the device and find it but when ever I try to connect I will always hit an error in rxLogic.cs in the 'public void handle_ATT_FindInfoRsp(int index, int totalLength, Byte[] data, ushort connHandle)' method, the error reads 'ArgumentOutOfRangeException was unhandled by user code'.
I have attached an image of the error.
Could someone please help me to understand why this is happening and how I can stop the error and allow the device to connect?
-Philip