hi, all
I want to receive BLE pkt by proprietary mode, and I found there are some cmd struct (such as CMD_BLE_GENERIC_RX) while using studio7
but I can not find how to use those cmd struct at code source.
can anybody tell me some detail .
BR
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.
hi, all
I want to receive BLE pkt by proprietary mode, and I found there are some cmd struct (such as CMD_BLE_GENERIC_RX) while using studio7
but I can not find how to use those cmd struct at code source.
can anybody tell me some detail .
BR
Hi,
we don't have an example showing that and I don't even know if it would work. But you can try it out on your own. Have a look at our dual mode exampels for the CC1350, for instance the rfWsnDmNode example. These examples contain BLE PHY settings and there is a file SimpleBeacon.c. In this file you can see how to set up the RF driver for BLE mode. But instead of using RF_ble_pCmdBleAdvNc, you would create a CMD_BLE_GENERIC_RX. This command is described in section 23.6.4.7 of the Technical Reference Manual.
The generic part of the CMD_BLE_GENERIC_RX radio operation command (triggers, status) is described in the Proprietary RF user's guide. But the BLE-specific stuff might be hard to figure out. You will especially need to understand rfc_bleGenericRxPar_t (Table 23-94 in the TRM).
Maybe you can start to play around with that. Good luck.
Hi all,
I am encountering exactly the same problem: I would like to make two CC1350 communicate by Bluetooth. Right now, one of them is sending some data (BLE packets via Beacon) in a program I am writing using CCS. The other is connected to my computer and with the help of Smart RF Studio, I can receive the data (packet RX). I would like to write a program on CCS to receive the data just as I did before for sending it. The problem is there is an example to help understand the sending ( rfWsnDmNode) but not for receiving using BLE.
I imagine this quite simple as in RFStudio we can see the three functions that are executed (CMD_RADIO_SETUP, CMD_FS and CMD_BLE_GENERIC_RX).
Is there any example on which this commands were used? Thanks a lot for the help.
Hi,
no, I haven't done anything with that and I cannot provide any example code since I don't have anything to share. But you may follow the same approach as proposed in this thread.
Hi Richard.
I also try to get proprietary Rx in BLE band, so I try your suggestion. But when I try to implement the SimpleBeacon_init func. in SimpleBeacon.c I see there is missing RF_ble_cmdFs setting.
Does it setting elsewhere, or i missing something.
Also in this post you reference to a newer one of you where you propose to use CMD_BLE_SCANNER. Does it alternative to the CMD_BLE_GENERIC_RX.
a. Does there are interchangeable in the code and which of them is prefer for detect streaming of data in BLE band?
b. Can I get its setting struct via the SmartRF Studio?
Thanks
Bar.