|
|
Número de pieza | BL600 | |
Descripción | smartBASIC Module User Manual | |
Fabricantes | Laird Technologies | |
Logotipo | ||
Hay una vista previa y un enlace de descarga de BL600 (archivo pdf) en la parte inferior de esta página. Total 30 Páginas | ||
No Preview Available ! smart BASIC
User Manual
BL600 smartBASIC Module
User Manual
Release 1.1.50.0r3
Americas: +1-800-492-2320 Option 3
Europe: +44-1628-858-940
Hong Kong: +852-2923-0610
www.lairdtech.com/wireless
www.lairdtech.com
1
Laird Technologies
1 page smart BASIC
User Manual
Events and Messages..................................................................................................................................... 162
Miscellaneous Functions................................................................................................................................ 165
Adverting Functions....................................................................................................................................... 165
Connection Functions .................................................................................................................................... 173
Security Manager Functions........................................................................................................................... 174
GATT Server Functions................................................................................................................................... 179
7. Other Extension Built-in Routines ...................................................................................... 201
System Configuration Routines ...................................................................................................................... 201
Miscellaneous Routines ................................................................................................................................. 201
8. Events & Messages ............................................................................................................. 202
Index...................................................................................................................................... 203
www.lairdtech.com
5
Laird Technologies
5 Page smart BASIC
User Manual
Types of Applications
There are two types of applications used within a smart BASIC module. In terms of composition,
both are the same but run at different times.
Autorun Application – This is a normal application that is given the specific name
“$autorun$” and is case insensitive. When a smart BASIC module powers up, it looks for an
application called “$autorun$”. If it finds this application it executes it. Autorun
applications may be used to initialise the module to a customer’s desired state, make a
wireless connection, or provide a complete application program. At the completion of the
autorun application, which is when the last statement returns or a STOP or END statement is
encountered, a smart BASIC module reverts to interactive mode.
In unattended usage cases, it is expected that the autorun application never terminates
and so it will be typical that the last statement in an application will be the WAITEVENT
statement.
Developers should be aware that an autorun application does not need to “complete”
and exit to Interactive Mode. The application can be a complete program for an
application that runs within the smart BASIC module, removing the requirement for an
external processor.
Applications can access the GPIO and ADCs and use ports such as UART, I2C and SPI to
interface with peripherals such as displays and sensors.
NOTE: When the autorun application starts up, by default, if the STDOUT is the UART, then it
will be in a closed state. If a PRINT statement is encountered which results in output, then
the UART will be automatically opened using default comms paramaters.
Other Applications – Applications can be loaded into the BASIC module and be run under
the control of an external host processor using the ‘AT+RUN’ command. The flash memory
supports the storage of multiple applications. Note that the storage space is module
dependent. Check the individual module data sheet.
Non Volatile Memory
All smart BASIC modules contain user accessible flash memory. The quantity of memory varies
between modules; check the relevant datasheet.
The flash memory is available for three purposes:
File Storage – Files which are not applications can be stored in flash memory too, for
example X.501 certificates. The most common non-application files are data files for use by
applications.
Application Storage – Storage of user applications and the ‘AT+RUN’ command is used to
select which application runs.
Non-volatile record s – Individual blocks of data can be stored in non-volatile memory in a
flat database, where each record consists of a 16 bit user defined ID and data consisting
of variable length. This is useful for cases where program specific data needs to be
preserved across power cycles. For example, passwords.
www.lairdtech.com
11
Laird Technologies
11 Page |
Páginas | Total 30 Páginas | |
PDF Descargar | [ Datasheet BL600.PDF ] |
Número de pieza | Descripción | Fabricantes |
BL60-940 | Diode ( Rectifier ) | American Microsemiconductor |
BL600 | smartBASIC Module User Manual | Laird Technologies |
Número de pieza | Descripción | Fabricantes |
SLA6805M | High Voltage 3 phase Motor Driver IC. |
Sanken |
SDC1742 | 12- and 14-Bit Hybrid Synchro / Resolver-to-Digital Converters. |
Analog Devices |
DataSheet.es es una pagina web que funciona como un repositorio de manuales o hoja de datos de muchos de los productos más populares, |
DataSheet.es | 2020 | Privacy Policy | Contacto | Buscar |