First post here, I have been able to do a lot so far with the BLE stack on the CC2541 chips, except the ability to use the HostApp firmware with the gatt profile database being handle off chip.
I can configure the device into peripheral mode, see my advertising data on my BLE enabled device and connect. The problem comes when trying to figure out the format of some of the call backs that I need to respond to in order to operate correctly as a BLE device. I have been going about tediously reverse engineering every single command out of BTool, and testing because the output doesn't always correctly explain the format of the data. I have gotten most of the command to call back correctly, I am have particular issues with the response for ATT_ReadByTypeReq.
In BTool it simple states that this is a data list. Ok, great what's the format? After talking to another one of my BLE devices I was receiving responses that look like,
Handle: unsigned short
Descriptor Data: byte string
Trying to form the same message and sending it back doesn't seem to provide the correct response for the central device. The central device will either hang or disconnect with an error.
The document from TI titled "Network Processor GATT" was not very helpful. A very hastily written document that keeps making references to a program called HCITester.exe instead of actually explain in detail the response and request structor that the external MCU needs to provide.
If someone has some examples where they have an external MCU running as the GATT database handler that would be great. I would like to once I am done with this come up with an exhaustive tutorial on how to use this feature of the TI BLE firmware.
Thanks again,
Kieron