Hi Sundeep,
I am getting a insufficient resources error. with
GATT_Initialize(BluetoothStackID, GATT_INITIALIZATION_FLAGS_SUPPORT_LE, GATT_Connection_Event_Callback, 0)
before I do BSC_Initialize(HCI_DriverInformation, 0)
- Have you initialized the stack (BSC_Initialize)? is the BasePatch and LowEnergyPatch download?
- What is the BasePatch ?
- for the lowenergypatch I include __SUPPORT_LOW_ENERGY__ is it correct ?
- Have you included the required library's (example GATT)?
- I include the following library
- <state>-C $PROJ_DIR$\..\..\..\..\Bluetopia\lib\IAR\DefaultMTU\libBluetopia_SCO.a</state>
<state>-C $PROJ_DIR$\..\..\..\..\Bluetopia\profiles\HFP\lib\IAR\libSS1BTHFP.a</state>
<state>-C $PROJ_DIR$\..\..\..\..\Bluetopia\lib\IAR\DefaultMTU\libBluetopia_LE.a</state>
<state>-C $PROJ_DIR$\..\..\..\..\Bluetopia\profiles\GATT\lib\IAR\libSS1BTGAT.a</state>
<state>-C $PROJ_DIR$\..\..\..\..\Bluetopia\profiles\GAPS\lib\IAR\libSS1BTGAP.a</state> - Do you have the callback defined?
- I used the same code as the spple demo project and it works without changing anythings on the sppledemo project alone.
- When, i put the hfpdemo.c and the sppdemo.c on the same project it works for hfp but not for SPPLE, i just rename the function InitializeApplication by InitializeApplication_ble for SSPLE and InitializeApplication_hfp for HFP.
- What is wrong on my project ?
- Did you try to merge this 2 project on your side