Showing posts with label Peripheral. Show all posts
Showing posts with label Peripheral. Show all posts

Thursday, April 25, 2024

Why Does Raytac AT-Command Module Not Require An End Code Mechanism?

Developers may be familiar with using ‘\n’ (hex 0x0A) or ‘\r’ (hex 0x0D) as end codes to determine the end of a data packet when writing programs. In the original Nordic SDK example code, ble_app_uart, is to consider the reception of 244 bytes or the presence of ‘\n’ (hex 0x0A) or ‘\r’ (hex 0x0D) as end code as the end of a data packet. The program then sends this received data via BLE to APP.



Developers encountering Raytac AT-Command module for the first time may find it very unfamiliar and be puzzled by the absence of 0x0A or 0x0D end code. You may raise questions about how to receive complete information without relying on these end code? Therefore, we’ll provide explanations for common use cases of AT-Command in both connected and disconnected scenarios:


In the connected condition –
Raytac’s AT-Command module operates in Pass-Through mode. For instance, when the APP sends 0x41 0x42 0x43 (3 bytes) through the module to the MCU, the MCU will receive only 0x41 0x42 0x43 (3 bytes). When APP sends these 3 bytes, there is no need to include the 0x0D end code or 0x0A end code at the end. The same approach applies when the direction of transmission is reversed (i.e., when the MCU sends to the module and then to the APP).

Here, it’s crucial to note that there is a specific consideration for the “Data Interval” (DI) setting between transmitting one data packet and the next. Failure to configure the DI appropriately may result in packet loss and lead to Bluetooth disconnection shortly after data transmission. The recommended DI values vary at different Baud rates, and you can refer to the AT-Command specification for suggested DI values.
As an example, consider Raytac AT-Command module in the scenario of “Mobile App -> Module (MDBT42V-AT) -> MCU,” with a Baud rate of 9600, no flow control, and a data length of 244 bytes. In this case, the DI value for transmitting data must be at least 250ms to prevent packet loss.





In the unconnected condition –
Providing explanations to the Bluetooth module by sending AT commands from the MCU (or Console) is illustrated below. There is no need for 0D or 0A end codes at the end.
AT?NAME
AT+NAMESQ-BT
AT?NAME










Edited by Sales Manager: Ms. Vicky Huang


Raytac Corporation 勁達國際電子股份有限公司  A company of Abietec
Bluetooth & WiFi module maker based on Nordic nRF54, nRF53, nRF52, nRF7002 solution
BT5.4 &BT5.3 & BT5.2 & BT5.1 Qualified, FCC/IC/CE/Telec/KC/RCM/SRRC/NCC Pre-Certified. Bluetooth Solution: nRF54, nRF5340, nRF52840, nRF52833, nRF52832, nRF52820, nRF52811, nRF52810, nRF52805, nRF51822 WiFi Solution: nRF7002
http://www.raytac.com
email:service@raytac.com
Tel: +886.2.3234.020

Wednesday, October 31, 2018

Highlight of Raytac AT Command Central Role Module (Part No.: MDBT42Q-ATM)

Raytac's AT command central role module, deploys Nordic nRF52832 solution.
There are 2 major features which has drawn developers' dramatic attention. 

Which are:

1. Supports scanning other makers' AT command peripheral module as long as based on peripheral's UUID/TX/RX character can be matched.

2. Supports scanning Beacon company ID/UUID (31 bytes Beacon)








Raytac Corporation 勁達國際電子有限公司
A BT4.1 & BT 4.2 & BT 5.0 module maker based on Nordic nRF51 & nRF52 solution 
(nRF51822 & nRF51422 & nRF52832 & nRF52810 & nRF52840)
www.raytac.com          email: cs@raytac.com          Tel: +886.2.3234.0208

Monday, October 29, 2018

Raytac Central Role AT Command Module Released

AT command module, an easy solution provides developers a quick breakthrough to Bluetooth connection. Without firmware effort needed, simply have commands setting on MCU and the start to enjoy the implement of bridging connectivity between devices through Bluetooth. 

After Raytac's Peripheral (Salve) role AT command module released, the demand of Central role has been highlighted by developers.
To have a completed solution, Raytac today announced Central role, as known as Master, AT command module released. 
Part No.: 
MDBT42Q-ATM (Chip Antenna Version) 
MDBT42Q-PATM (PCB Antenna Version)

Specification Download (Please Click Me)

Differ from Peripheral role AT command module built by nRF52810 solution, Central role AT command module deployed Nordic nRF52832 which employees 64K RAM and 512K Flash Memory.

Central Role AT Command Module: MDBT42Q-ATM

Central Role AT Command Module: MDBT42Q-PATM



The AT command modules, same as Raytac's all other lines,  are Bluetooth qualified (BT5/BT4.2) and FCC/IC/Telec/KC/SRRC/NCC pre-certified and CE compliant. A completed hardware and preloaded AT Command firmware solution not only simplify the designs and reduce BOM cost, but also waive the cost of regulatory burden and speed up time to market efficiency.




Raytac Corporation 勁達國際電子有限公司
A BT4.1 & BT 4.2 & BT 5.0 module maker based on Nordic nRF51 & nRF52 solution 
(nRF51822 & nRF51422 & nRF52832 & nRF52810 & nRF52840)
www.raytac.com          email: cs@raytac.com          Tel: +886.2.3234.0208

Monday, May 21, 2018

AT-Command Module Tutorial ~ About First Time Connect To The DK Demo Board

With strong demand for AT command module coming up from markets, here provides an easy introduction about hardware and software setup work for Raytac's AT command module demo board for quick start.

Sunday, April 29, 2018

Raytac AT-Command Module Solution Product Road Map

nRF52810 AT-Command Evaluation DK Board is a multifunction hardware design for several applications.
Not only a AT-Command Peripheral (Slave) role released recently, but also Central (Master) role deployed Nordic nRF52832 & nRF52840 Solution in the near future.

Tuesday, July 4, 2017

Nordic Released S132 V5.0 Supports Concurrent multi-role Bluetooth 5 protocol stack

Nordic latest released SoftDevice S132 v5.0 is a Bluetooth 5 protocol stack. It works for  nRF52832 and nRF52810 multi-protocol SoCs. The S132 not only supports up to 20 connections, but also offers following 4 Bluetooth low energy roles:
  • Central
  • Peripheral
  • Broadcaster
  • Observer