This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

GATT_DB_OFF_CHIP

Other Parts Discussed in Thread: CC2540

My configuration:

1) PC using BTOOL with USB Dongle from mini dev. kit

2) CC2540 Keyfob (HostTestRelease EB build configuration) connected over UART to PIC24F MCU

The two CC2540 devices are in an established connection, recognizing one another, etc. Using BTOOL to read a value by its characteristic UUID, I am able to get successful responses with correct corresponding data from the Keyfob. 

What I would like to do is service all of the GATT routines using my PIC24F--I want to expose all incoming GATT requests over the HCI interface. In other words, if I use BTOOL to read a value using a characteristic UUID, I want the Keyfob CC2540 to say "Hey, PIC 24F, you're up--somebody wants the data associated with this characteristic UUID. Gimme gimme." I have been led to believe that I can accomplish this by adding "GATT_DB_OFF_CHIP" to the list in IAR Workbench under Project --> Options --> C/C++ Compiler --> Preprocessor (tab) --> Defined Symbols:

When I add this to the defined symbols field, rebuild, and flash my CC2540 Keyfob, I no longer automatically receive successful responses in BTOOL when trying to read a value by its characteristic UUID. This is the expected behavior, because I still haven't written any routines on my PIC to handle GATT requests. However, this is only half of the battle. What I'm *not* seeing is the UART doing anything at all when I send a GATT read request using BTOOL. So, by defining GATT_DB_OFF_CHIP I have successfully killed the CC2540's ability to independently handle GATT requests, but I don't see the GATT request being sent from the CC2540 Keyfob to my PIC 24F.

Am I missing something?