Troubleshooting

DFR0781 Evaluation Board setPrompt and setLED

userHead ThomasMatthiesen 2026-06-10 17:23:48 236 Views1 Replies

Hi!

I'm currently building a project with a DFR0781 Evaluation Board (https://www.dfrobot.com/product-2178.html?srsltid=AfmBOoq0OS0aeRMSeMA0bqZvtavnKrK7ZdPnFY1UTW4vNHE6tBwwX7J-).

Using the DFRobot_BT401 library.

On the README (https://github.com/DFRobot/DFRobot_BT401) it is said to have a setLED and setPrompt feature. I can't seem to find these in the .h or .cpp files?

Are there anyway to turn of the LED and prompt via AT+ commands?

Best regards
Thomas

2026-06-11 09:46:59

It looks like the README may be ahead of the actual released library code, or those functions were removed/never implemented in the .h and .cpp files.

I’d first check whether there is a newer branch or release of the DFRobot_BT401 library. If setLED() and setPrompt() are not present in the source, then they cannot be called directly from the library.

For AT commands, the safest approach is to check the BT401 module AT command manual, because LED and prompt behavior may be firmware-dependent. If the module supports it, you should be able to send the raw AT command through the same serial interface used by the library.

It may also be worth opening a (GitHub)[https://github.com/] issue with DFRobot, since the README and library source appear inconsistent.

userHeadPic ahsrab.rifat