Blue-Modul/AT-Kommandos: Unterschied zwischen den Versionen
(→AT+PIN – ändern der Bluetooth PIN) |
(→AT - Kommunikation testen) |
||
Zeile 5: | Zeile 5: | ||
==AT - Kommunikation testen== | ==AT - Kommunikation testen== | ||
− | Send: AT | + | Send: AT |
Back: OK | Back: OK | ||
Version vom 21. Februar 2013, 13:08 Uhr
Das Modul reagiert nur auf AT-Kommandos wenn es nicht mit einer Gegenstation verbunden (paired) ist!
Standardparameter: 9600/8N1 ID: linvor Password:1234
Inhaltsverzeichnis
AT - Kommunikation testen
Send: AT Back: OK
AT+BAUDn – Setzen der Baudrate
Send: AT+BAUD1 Back: OK1200 Send: AT+BAUD2 Back: OK2400
1---------1200 2---------2400 3---------4800 4---------9600 (Default) 5---------19200 6---------38400 7---------57600 8---------115200 9---------230400 A---------460800 B---------921600 C---------1382400
Die eingestellte Baudrate bleibt auch nach dem Abschalten erhalten!
AT+NAME – Setzen des Geräte-Namens
Send: AT+NAMEname Back: OKname
Der Parameter name darf aus maximal 20 Zeichen bestehen! Beispiel um den Namen auf NIBObee zu setzen:
Send: AT+NAMENIBObee Back: OKname
Der eingestellte Name bleibt auch nach dem Abschalten erhalten!
AT+PIN – ändern der Bluetooth PIN
Send: AT+PINxxxx Back:OKsetpin
Parameter xxxx: The pair password needed to be set, is a 4-bits number. This command can be used in the master and slave module. At some occasions, the master module may be asked to enter the password when the master module tries to connect the slave module (adapter or cell-phone). Only if the password is entered, the successful connection can be built. At the other occasions, the pair can be finish automatically if the master module can search the proper slave module and the password is correct. Besides the paired slave module, the master can connect the other devices who have slave module, such as Bluetooth digital camera, Bluetooth GPS, Bluetooth serial printer etc.
Example:
Send: AT+PIN8888 Back: OKsetpin
Then the password is changed to be 8888, while the default is 1234. This parameter can be kept even though the power is cut off.
AT+PN – Parity: Kein Check
Send: AT+PN (This is the default value) Back: OK NONE
AT+PO – Parity: Ungerade
Send: AT+PO Back: OK ODD
AT+PE – Parity: Gerade
Send: AT+PE Back: OK EVEN
AT+VERSION – Version ausgeben
Send: AT+VERSION Back: LinvorV1.n