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.

CC2540/CC2541 Remote queries and control. AT-commands?

Other Parts Discussed in Thread: BLE-STACK

Hi

Suppose we'd like to query and control a device remotely, e.g., query the IO pin values, switch it to different sleep modes, etc., over Bluetooth. Is it typically the case that a full set of AT-style commands should be implemented? I see that BlueRadios supports a set of AT-commands, but it seems be used over UART rather than Bluetooth.

Does anyone know if there's any example firmware/code that implements AT-style commands?

Cheers

Steve

  • TI BLE stack uses HCI command which you can refer to TI_BLE_Vendor_Specific_HCI_Guide.pdf. As I know, there is no AT-command like implementation.

  • I see. As HCI commands are effectively internal function calls, AT-commands fulfil somewhat different requirements. Do modules that suppprt AT-commands typically implement a translator/parser and invoke relevant HCI-commands though?

    Thanks

  • Hello,

    YK is correct in that the BLE-Stack does not offer an AT-command interface/parser. However, you can use one of the examples on the TI BLE wiki to add UART to your project, then implement the AT command parsing in your BLE application. This is what some module manufacturers implement. You can find a list of 3rd party module makers on the TI BLE Wiki: www.ti.com/ble-wiki.

    In general, AT-commands are "less efficient" but offer wider compatibility. My recommendation would be to implement your own custom interface (or use HCI).

    Best wishes