I use a CC2540 Mini DK with the following firmware:
31.08.2012 11:35 322.815 SimpleBLEPeripheral.hex
I try to build up a LE connection from a BLE USB dongle (with a self written software) to CC2540 Mini DK.
Here are the exchanged commands:
1) Send Frame: 01 03 0c 00
2) Receive Frame: 04 0E 04 01 03 0C 00
3) LE-CreateConnection -> TI
Send Frame: 01 0d 20 19 11 11 08 08 00 00 4d 9e ea 30 18 00 00 30 00 60 00 00 00 0c 0c 00 00 ff ff
Receive Frame: 04 0F 04 00 01 0D 20
4) Receive Frame: 04 3E 13 01 00 40 00 00 00 4D 9E EA 30 18 00 60 00 00 00 0C 0C 05
ACL-Request1
5) Send Frame: 02 40 20 07 00 03 00 04 00 4a 00 18
Receive Frame: 04 13 05 01 40 00 01 00
...
6) Receive Frame: 04 05 04 00 40 00 08
On point (1) and (2) i reset my local chip (BCM20702) via HCI-Reset. This is confirmed by the chip.
At point (3) i send a LE-Connection-Request, execution confirmed by a HCI Command Status.
At point (4) i get a LE-Connection-Complete with Connection Handle 0x0040.
Now at point (5) i send a packet to "Attribute Protocol" (CID 0x0004), but beside a NOCP, i get no answer.
This is working against a different device.
Now i remove the battery from CC2540 Mini DK and after some time i get a connection timeout.
Do i need anything additional before sending the packet to "Attribute Protocol" channel?
Or is the content of my packet wrong?