Janam
support page. Here you will find useful information
and sample CASL code on
how to utilize the power of Janam rugged handheld computing
devices within your applications. The Janam product line
runs the latest PalmOS 5.4.9, a fast 266MHz processor,
Integrated barcode scanner, plenty of on-board memory and an
option for wireless (Wi-Fi) capability. CASL
developers now have the capability to integrate applications
with a powerful new family of devices enabling new
opportunities for Enterprise, Commercial and Shareware
development.
The samples and libraries
available on this page have been created to utilize the
latest Janam SDK. For the latest information regarding the Janam
XP20/XP30 series devices, please visit the Janam website at
New to CASL?
If you would like to learn more about CASL
without downloading / installing the CASL package, we would
like to recommend you view the
Introduction to CASL e-book. This e-book will help
you with the installation / setup of CASL and walk you
through the creation of a simple CASL application. Once you
have CASL Installed, you will be ready to explore the
exciting capabilities of using CASL with your Janam
hardware. If you need support, you can find it here.
Our
CASL Support
board is available 24hrs a day 7-days a week, there you can
get answers to your questions from other CASL Developers as
well as CASL staff.
For additional support and
information, please see our
CASL Support
page.
Current CASL User?
You already know what a great tool CASL is,
but did you know that you can expand your market by
incorporating barcode support? Janam has released a
powerful tool that can help you expand the usefulness of
existing and future applications. The samples you find
here include the most common types of data collection
applications, including: Signature Capture, HTTP Post
(Wireless connectivity to a remote web server) and simply
incorporating the barcode scanner within your CASL app.
The information contained here will help you to add support
of these powerful data collection devices and reach new
customers!
Prerequisites
Before downloading the CASL Janam samples, you
will need to have a local installation of CASL. For instructions on installing CASL,
please visit our
Download Page
(don't forget the CASL Components installer, needed for
CASLPro .prc file generation). Once CASL has been
installed, you may then download the
Janam Sample
applications, load into the CASLide and compile/build the
samples.
This section describes each of the CASL sample
applications included in the Janam Sample package. You
are free to use the code here within your
own CASL applications.
-
The JanamTest was created to
demonstrate various functions / capabilities
provided by the Janam hardware. This is a good
sample to start with to get a feel for the code
needed to implement Janam barcode scanning
capability within your application.
Click here an
on-line presentation that describes this sample
application.
CASL Receiving -
Demonstrates using the
Janam device for signature capture. This demo
includes the ability to scan a UPC barcode, assign a
quantity and attach a digital signature to the
record. All information can then be saved to a
local CASL Database and is automatically retrieved
upon a re-scan. *Note - the
janam_scanner.c file in this project has been
customized to include penUp/Down detection to the
CASLpro_event_handler function. If you require
signature capture capability within your CASL
application, you will want to use the
janam_scanner.c file from this project within your
application.
CASL UPC Search
-
This application
demonstrates using the Janam device for scanning a UPC barcode and looking up the data via an HTTP Post
to a remote website. *Note - If using a PalmOS Treo
device, you may also use the number keys to type in
a UPC (all 12 digits are required).
If you plan to distribute your CASL applications
for commercial use, you'll be pleased to know
that there are No Run-Time fees
associated with distributing your application.
We do request that each developer purchases a
license of CASL from our
Sales Page. If you need to purchase
more than one license of CASL, please contact
sales@caslsoft.com with your quantity
requirement.
Thank you for using CASL!
The following is a list of functions
available to you within the CASL Janam and
ExtJanam Libraries. At the bottom of the
definitions is a list of Symbologies and their
associated BarType value used by the CASL
Library to allow enabling/disabling specific
Symbologies, enabling/disabling check digits,
etc.
Core Functions
Function
Description
jan_ScnIsJanamUnit as numeric
Returns true/false
if the unit supports the ScanMgr
calls (also returns true on both SPT
and Janam Devices). If you
need to use extended functionality
specific to the Janam units, please
see the jan_ScnIsTrueJanamUnit
function instead.
jan_ScnIsTrueJanamUnit as numeric
Returns true if the
unit supports the ScanMgr calls and
the OS version is greater than or
equal to 5.0. This enhanced
function is useful for identifying
if the device is a true Janam unit
or an older SPT Series device.
jan_ScnGetLEDState as numeric
Returns true if the
Green LED is on (at the time of this
writing, this function did not
appear to be working).
jan_Init
Initializes the barcode scanner.
Scanner_Data
CASL Function that
receives the string from the barcode
scanner.
jan_Start_Decode
Starts the Scan
Decoder.
jan_Stop_Decode
Stops the Scan
Decoder.
checkButtons
Function that allows
detecting the Janam Scanner button
events.
jan_Close
This function should
reside in the CASL Shutdown function
and will close the barcode scanner
properly.