NOTE: BMDware is no longer actively developed. Please refer to this article for more information.
AT commands are used on the UART bridge / pass-through. AT commands are fixed at 57600,n,8,1 with no flow control. The UART speed command is only for setting the speed of the pass-through UART.
Commands are terminated with just CR, not CRLF.
- Set the AT mode pin (P0.14) low and reset the module.
- Wait ~3 seconds for the RigDFU bootloader to time-out and pass control to BMDware. P0.14 is sampled when BMDware starts, then can be in any state after this time.
- Send the AT commands to configure the UART. Default is 57.6kbps,N,8,1 with no flow. If you don't need to change a parameter, you don't need to send its AT command.
- at$ubr 57600
- at$ufc 00
- at$upar 00
- at$uen 01
The full AT command set is defined in section 6 of the BMDware Datasheet. Section 6.6 is specific to the UART.
BMDware v3.2.x supports hot-swap of AT and UART Bridge modes. This feature needs enabled through AT commands or over a BLE connection. Once enabled, when P0.14 is low, BMDware will be in AT mode; when high, BMDware is in UART Bridge mode.
at$hotswap <x> where <x> is `1` for `enable` and `0` for disable
Query the current state with:
Enable: 0x70 0x01
Disable: 0x70 0x00
Retrieve State: 0x71
When Hot Swap is enabled, any buffered data being transfer over BLE will be cleared. This setting is saved across resets and power cycles.