Few questions about new stack:
1)When I use hostTestRelase-project as peripheral device some standard HCI commands are not working. BUT...when I comment out eventHandlers (in hosttestrelase project) of upper level of the stack (L2CAP, GAP, GATT...) device seem to work like controller stack with standard HCI interface. Is it possible to use stack like this? What could happen?
2) Is gatt database off chip function working?
Hi Juha,
Juha O1)When I use hostTestRelase-project as peripheral device some standard HCI commands are not working.
Could you give any examples of such commands?
Juha O2) Is gatt database off chip function working?
I think if you build with GATT_DB_OFF_CHIP compile option.
Br
Nick L Hi Juha, Juha O1)When I use hostTestRelase-project as peripheral device some standard HCI commands are not working. Could you give any examples of such commands? .
Could you give any examples of such commands? .
At least LE_SET_ADVERTISE_DATA. Also responses do not always come or they are not standard HCI commands. It is also pretty hard to implement services off chip, because almost all gatt level commands that are received goes to texas stack (although stack is built with GATT_DB_OFF_CHIP commands). When I tried to use vendor specific HCI commands to implement gatt database off chip uart connection stopped to work. So it would be easier if texas would work just as controller. Is it possible to do so as I explained in the first post?
If you are referring to GAP_UpdateAdvertisingData (Change/Set advertisement data), it should work just fine, as far as I have used it.
Regarding the first question in your first post, I have no answer on what might happen. Usually I wouldn't mess with OSAL, but if it works, why not have a go.
Nick LGAP_UpdateAdvertisingData
This is a vendor specific message and it is working fine. I meant above a standard HCI message (that does about the same job). But anyway. Thank you for your answers.
When GATT SERVER OFF CHIP is used, I do receive ATT_ReadByGrpTypeReq, but when I send ATT_ReadByGrpTypeRsp (eg. 04 ff 0d 11 05 00 00 00 07 06 01 00 03 00 00 18 , primary services asked and there is just GAP on sever) nothing is actually sent. This might be a bug in your stack, if I just have understood everything right. My friend complained about same thing with stack v1.1.
Same question here, is it possible at all the control the CC2540/1 with just a part of the stack? I would like to use the stack only up to the L2CAP-Layer (SM, GAP, GATT disabled), but if I try to advertise with the commands
HCI_LE_SetAdvDataCmd
HCI_LE_SetScanRspDataCmd
HCI_LE_SetAdvEnableCmd
for the simpleBLEPeripheral nothing happens. I also tried it via USB/UART with the HostTestRelease to run some standard HCI commands (not the vendor specific), but without success neither. :-(
Any comments from TI?
Thanks a lot.