Command Set
Command Set
The EmbeddedBlue command set is comprised of visible ASCII characters. Therefore, a
command can be issued from a terminal application, such as HyperTerminal, or directly from
a custom application program, written in a programming language such as C++ or Visual
Basic, running on a PC, using an RS232 adapter. From a microcontroller application, these
commands can be issued directly using the provided serial port functions.
Command Basics
Commands may only be sent to the module when it is in Command Mode. White spaces are
used to separate parameters of the command and a carriage-return is used to mark the end
of the command. Upon receipt of a command the eb505 begins to parse the parameters. If
the syntax of the command is correct the eb505 returns an ACK string, not the ACK character
(0x06); otherwise, a NAK string is returned. Following the ACK or NAK string is a carriage-
return (0x0D) character. If an error occurs while processing the command an error string is
returned followed by a carriage-return followed by the prompt (
>
) character. If the command
executed successfully the module will issue the prompt (
>
) character. Please see the Error
Codes section for a description of the error codes.
The following example shows the basic structure of a command. A prompt (
>
) is issued by
the EmbeddedBlue module. A command followed by a carriage-return is sent to the module.
The module responds with either an ACK or NAK string followed by a carriage-return. If an
error occurs, the module responds with an Err string followed by a space followed by an
ASCII string numeric value followed by a carriage-return. A prompt (
>
) is then issued by the
module.
>command<CR>
ACK | NAK<CR>
Err
number
<CR>
>
EmbeddedBlue 505 User Manual
▪
Page 11
Содержание EmbeddedBlue 505
Страница 1: ...EmbeddedBlue 505 User Manual...
Страница 16: ...Hardware Connections This page intentionally left blank Page 10 EmbeddedBlue 505 User Manual...
Страница 52: ...Error Codes This page intentionally left blank Page 46 EmbeddedBlue 505 User Manual...
Страница 56: ...Technical Specifications This page intentionally left blank Page 50 EmbeddedBlue 505 User Manual...