Tags:
tag this topic
create new tag
view all tags
---+ The AT commands atMode: The serial line is connected to /dev/ttyUSB0<br />you may connect to another port with ./atMode portname, e.g./dev/ttyUSB1<br />Please enter AT command or "quit" to exit:<br />%BLUE%at+orgl %ENDCOLOR% %BLUE%resetting the module to factory settings<br />%ENDCOLOR%noOfChars entered: 8<br />9 characters written:at+orgl<br /><br />OK<br /> 4<br />0x4f 0x4b 0x0d 0x0a <br />Please enter AT command or "quit" to exit:<br />%BLUE%at+role checking the role (1: master or 0: slave)<br />%ENDCOLOR%noOfChars entered: 8<br />9 characters written:at+role<br /><br />+ROLE:0<br />OK<br /> 13<br />0x2b 0x52 0x4f 0x4c 0x45 0x3a 0x30 0x0d 0x0a 0x4f 0x4b 0x0d 0x0a <br />Please enter AT command or "quit" to exit:<br />%BLUE%at+role=1 setting it to master mode%ENDCOLOR%<br />noOfChars entered: 10<br />11 characters written:at+role=1<br /><br />OK<br /> 4<br />0x4f 0x4b 0x0d 0x0a <br />Please enter AT command or "quit" to exit:<br />%BLUE%at+uart=38400,0,0 setting the communication parameters to 38400 baud, 1 stop bit, no parity%ENDCOLOR% <br />noOfChars entered: 18<br />19 characters written:at+uart=38400,0,0<br /><br />OK<br /> 4<br />0x4f 0x4b 0x0d 0x0a <br />Please enter AT command or "quit" to exit:<br />%BLUE%at+uart reading back the communication parameters%ENDCOLOR%<br />noOfChars entered: 8<br />9 characters written:at+uart<br /><br />+UART:38400,0,0<br />OK<br /> 21<br />0x2b 0x55 0x41 0x52 0x54 0x3a 0x33 0x38 0x34 0x30 0x30 0x2c 0x30 0x2c 0x30 0x0d 0x0a 0x4f 0x4b 0x0d 0x0a <br />Please enter AT command or "quit" to exit:<br />%BLUE%at+bind checking if it is bound to any Bluetooth slave%ENDCOLOR% <br />noOfChars entered: 8<br />9 characters written:at+bind<br /><br />+BIND:0:0:0<br />OK<br /> 17<br />0x2b 0x42 0x49 0x4e 0x44 0x3a 0x30 0x3a 0x30 0x3a 0x30 0x0d 0x0a 0x4f 0x4b 0x0d 0x0a <br />Please enter AT command or "quit" to exit:<br />%BLUE%at+bind=21,13,ba68 bind it to the module with address 00:21:13:00:ba:68%ENDCOLOR%<br />noOfChars entered: 19<br />20 characters written:at+bind=21,13,ba68<br /><br />OK<br /> 4<br />0x4f 0x4b 0x0d 0x0a <br />Please enter AT command or "quit" to exit:<br />%BLUE%at+bind checking that the bind command has worked properly%ENDCOLOR%<br />noOfChars entered: 8<br />9 characters written:at+bind<br /><br />+BIND:21:13:ba68<br />OK<br /> 22<br />0x2b 0x42 0x49 0x4e 0x44 0x3a 0x32 0x31 0x3a 0x31 0x33 0x3a 0x62 0x61 0x36 0x38 0x0d 0x0a 0x4f 0x4b 0x0d 0x0a <br />Please enter AT command or "quit" to exit:<br />%BLUE%at+ipscan reading the scan parameters%ENDCOLOR% <br />noOfChars entered: 10<br />11 characters written:at+ipscan<br /><br />+IPSCAN:1024,512,1024,512<br />OK<br /> 31<br />0x2b 0x49 0x50 0x53 0x43 0x41 0x4e 0x3a 0x31 0x30 0x32 0x34 0x2c 0x35 0x31 0x32 0x2c 0x31 0x30 0x32 0x34 0x2c 0x35 0x31 0x32 0x0d 0x0a 0x4f 0x4b 0x0d 0x0a <br />Please enter AT command or "quit" to exit:<br />%BLUE%at+init init the SPP library, which starts the scanning for the slave module and pairing%ENDCOLOR%<br />noOfChars entered: 8<br />9 characters written:at+init<br /><br />Timeout on reading<br />Please enter AT command or "quit" to exit:<br /><br />After this the 2 modules are paired<br /><br /><br /> -- %USERSIG{UliRaich - 2017-11-21}% ---++ Comments %COMMENT%
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2017-11-21
-
uli
Home
Site map
AFNOG web
Embedded_Systems web
IoT_Course_English web
IoT_Course_French web
Main web
Sandbox web
TWiki web
Embedded_Systems Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
E
dit
A
ttach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback