
-11-
v4.9
General Considerations
1.4.4. Library fuses
The library for this module is divided in 9 sections and other section with functions and constants that always are active. Each
section is activated/deactivated by a fuse. This fuses are located in Wasp3G.h. By default this fuses have a ‘1’ allowing to use the
functions. The Wasp3G.h have this fuses:
•
GSM_FUSE
: Call and SMS related funtions and constants
•
CAMERA_FUSE
: Camera related funtions and constants
•
FTP_FUSE
: FTP related funtions and constants
•
MAIL_FUSE
: SMTP and POP3 related funtions and constants
•
HTTP_FUSE
: HTTP and HTTPS related funtions and constants
•
GPS_FUSE
: GPS related funtions and constants
•
IP_FUSE
: TCP and UDP related funtions and constants
•
TRANSMISION_FUSE
: File transmission related funtions and constants
•
OTA_FUSE
: OTA related funtions and constants (
FTP_FUSE
must be ‘1’ too)
For deactivate a section change the ‘1’ in the related fuse by ‘0’.
Note:
If you use a function with the related fused with a value of ‘0’, the compiler will give you an error.
Please, be carefully when you
use the fuses.
Note:
If you do not use the Videocamera Board, switch the Videocamera fuse to 0.
1.4.5. Debug modes
The library have two debug modes implemented that allows to the experimented user show the data transmitted and received
between the Waspmote and the 3G/GPRS module. The value of the
_3G_debug_mode
constant selects the debug mode:
•
‘0’ Disables all debug messages
•
‘1’ Shows only the commands sent to the 3G/GPRS module and some extra messages
•
‘2’ Shows commands sent to the 3G/GPRS module, the data answered by the module and some extra messages
The constant
_3G_debug_mode
is located in Wasp3G.h file.
1.4.6. Special errors
Some functions can give an extra error code (CME or CMS error codes). This code is stored on
_3G.CME_CMS_code
. To know the
description of the code see the appendix.
Содержание Waspmote 3G Plus GPS
Страница 1: ...Waspmote 3G GPS Networking Guide ...