|
The CASLPro Serial Bluetooth Library provides a simple way for PalmOS developers using CASL Pro to access the Palm’s Bluetooth Serial Port Profile.
Updated! Now you can send and recieve data as text or raw byte values. Bluetooth address of connected device is now returned, allowing you to store it and later connect without going through the Discovery window. A “BTErrorCode” variable has been implemented to work much the same as the CASL “ErrorCode” and the buffer size has been dramatically increased!
Bluetooth is a low-power wireless technology for connecting devices together. Wired RS232 serial is being phased out of PalmOS devices, and Bluetooth is the replacement. Until now, many CASL developers have lost money because they were unable to migrate their applications to use the newer Bluetooth tecnology. With the release of the CASL Serial BT Library, CASL Pro developers can now wirelessly connect to cell phones, GPS devices, scientific equipment, computers, other Palms and PocketPCs, or virtually any Bluetooth-enabled device! You can even make "legacy" RS232 devices utilize the power of Bluetooth by using a Bluetooth "dongle."
CASL is a terrific product that painlessly creates sophisticated Palm and PocketPC applications. We feel quite confident in saying that we get the most robust cross-platform applications the quickest using CASL. For Palm applications, CASL Pro creates standard PRC files with no runtimes or supporting files required.
Unfortunately CASL does not natively support the BTSPP, but it does allow us to create functions in C and incorporate them into the CASL application. We created the SerialBT library for ourselves because we do a lot of connecting between our Palm computers and devices. PalmOne has practically stopped making devices with serial ports but is now putting Bluetooth into many of their devices (and many others can accept Bluetooth add-on cards). One of the primary purposes for Bluetooth was as a wireless cable replacement technology. We have now thrown our cables away!
The CASL Serial Bluetooth library consists of two files; a pre-compiled CASL library (CASL_SerialBT_lib.a) and a CASL package file (Bluetooth.cpk). To use it, simply copy these to files to the same directory as your CASL Project and add the line include "Bluetooth.cpk"; near the beginning of your CASL code. Seriously, that's it!
In addition to these two files, the full CASL project and code for a Bluetooth Hyperterm-like application is included. This project clearly demonstrates the use of all the Bluetooth functions. If you want to see what the CASL Serial BT Library can do, download the compiled PRC right here (right click and select “Save Target As...”).
The cost to add this functionality to your CASL Pro applications is only $45! There are no additional licensing fees, runtimes, or other nonsense. The only restiction is that you may not share the pre-compiled CASL library (CASL_SerialBT_lib.a) or CASL package file (Bluetooth.cpk). These files are only needed when compiling your application. Updates will be offered at no additional cost.
|